Skip to main content
POST
Create an analyzer: instructions that tell the AI what to look for in every call. Version 1 is created with it.
Needs workspace role owner or admin, or the analytics_admin grant.

Request

Headers

string
required
Bearer token with your API key: Bearer sk_...
string
required
application/json

Body

string
required
1–120 characters
string
required
1–20,000 characters. What to look for and what counts as a problem
string | null
Up to 1,000 characters
string | null
UUID of a knowledge collection the owner can see. The analyzer checks claims against it. Default null
string[]
Up to 200 terms, 1–60 characters each. Words the transcription should spell correctly. Default []
string | null
Up to 20 characters. A list of language codes such as hi,en (up to 5, separated by commas) limits the languages used to transcribe each speaker turn, so short phrases like “haan ji” are not guessed as another language. Use it when your calls are in one or two known languages. Leave it empty to detect the language automatically
Unknown fields are rejected.

Response

201 Created

Errors

Errors use { "success": false, "message": "...", "code": "..." }. See the overview for the codes every route can return.

This endpoint

Example