Set grading model
Set the LLM that grades this agent's scenarios and post-call metrics. null restores the platform default, which runs in Australia. The grading-model picker lists the other keys; the overseas ones cost far less. A workspace with residency 'au' cannot choose an overseas model. Does not change which model takes calls; that is set_model.
Authorization
bearerAuth A personal access token from Settings > API tokens.
In: header
Header Parameters
A key you choose, such as a UUID, that makes this POST safe to retry. Within 24 hours the same key and request answers with the first successful answer and runs nothing, the same key with a different request answers 422 idempotency_key_reused, and a key whose request is still running answers 409 idempotency_key_in_use. A failed request keeps nothing, so the same key runs it again.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/operations/set_judge_model" \ -H "Content-Type: application/json" \ -d '{ "model": "string", "agent": "string" }'{}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}Set greeting POST
Pin a fixed first utterance the agent speaks the moment a caller joins. The voice runtime sends this straight to TTS, no LLM round-trip, so the open of the call is instant and identical every time. Use this when the operator wants a deterministic opener like 'Hi, you've reached Mitchell's Plumbing, how can I help?'. Keep it under one sentence; longer greetings drag the call. Pass null to clear and fall back to LLM-generated greetings.
Set keyterms POST
Replace the agent's keyterms list. Keyterms boost speech-to-text recognition for industry-specific words ('Pentanet', 'fibre', 'NBN') that general transcription mishears: the HEAR side. Distinct from set_pronunciations, which controls how the agent SPEAKS a word (TTS), the say side. Use set_pronunciations when the agent mispronounces a term, set_keyterms when it mishears one. Most speech recognition models accept keyterms; one ignores them, and the publish validator flags that pairing. Budgets are per engine and enforced on write: 100 terms and 100 characters per term everywhere, plus a 1200-character total on one engine. Call get_agent with sections ['model'] to read the current engine and its budget. Pass the FULL list; the existing array is replaced.