Narration
Update narration settings
Name the account's ElevenLabs connection (granted to product:narration) and an optional monthly character cap. One read of the provider's plan checks the connection and the grant; nothing else reaches the provider.
Needs scope narration:write.
bearerAuthorizationBearer <JWT>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
iohr.narration.v1.UpdateSettingsRequest; path variables override their fields
application/json- body
iohr.narration.v1.UpdateSettingsRequest
account_id?stringconnection_id?stringmonthly_characters?integerint32iohr.narration.v1.UpdateSettingsResponse
application/json- response
iohr.narration.v1.UpdateSettingsResponse
provider_plan*stringsettings?iohr.narration.v1.Settings
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { const { value } = await api.narration.updateSettings({}); console.log(value);} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`); process.exitCode = 1;}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
{ "provider_plan": "string", "settings": { "connection_id": "string", "effective_monthly_characters": 0, "monthly_characters": 0, "plan": "string", "updated_at": "string" }}