Sign in
Docs

API reference

Update narration settings

Have a token? Manage tokens in the console
PUT
/v1/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.

Authorization

bearer
headerAuthorizationBearer <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.

Request Body

iohr.narration.v1.UpdateSettingsRequest; path variables override their fields

application/json
  1. body

iohr.narration.v1.UpdateSettingsRequest

connection_id?string
monthly_characters?integer
Formatint32

Response Body

iohr.narration.v1.UpdateSettingsResponse

application/json
  1. response

iohr.narration.v1.UpdateSettingsResponse

provider_plan*string
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.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"  }}