API reference
Get narration settings
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.
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.GetSettingsResponse
application/json- response
iohr.narration.v1.GetSettingsResponse
settings?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.getSettings(); 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.
{ "settings": { "connection_id": "string", "effective_monthly_characters": 0, "monthly_characters": 0, "plan": "string", "updated_at": "string" }}Get an error group GET
One error group with its most recent reports (request ID, trace id, page route, never a value) and its investigation in the answer shape of `investigate`: the question, known, assumed and can't-prove claims, each with its proof, and what would settle each gap. Needs scope `trail:read`.
Update narration settings PUT
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`.