API reference
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 <token>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
connection_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})`);}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" }}Get narration settings GET
The account's narration settings (RFC 0089.1): the ElevenLabs connection it narrates through, its own monthly character cap and the cap that applies under its plan. Narration is on the Personal plan and up. Needs scope `narration:read`.
List voices GET
The voices of the account's ElevenLabs connection, from a cache kept a week: never a provider call while it is fresh. `library` marks a Voice Library voice (someone else's, which they may stop sharing after a notice period). Needs scope `narration:read`.