package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cekura.ai/test_framework/v1/scenarios/{id}/"
payload := strings.NewReader("{\n \"name\": \"Refund flow v2\",\n \"instructions\": \"Ask for the order ID before refunding.\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-CEKURA-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://api.cekura.ai/test_framework/v1/scenarios/{id}/")
.header("X-CEKURA-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Refund flow v2\",\n \"instructions\": \"Ask for the order ID before refunding.\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/test_framework/v1/scenarios/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-CEKURA-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Refund flow v2\",\n \"instructions\": \"Ask for the order ID before refunding.\"\n}"
response = http.request(request)
puts response.read_body
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cekura.ai/test_framework/v1/scenarios/{id}/"
payload := strings.NewReader("{\n \"name\": \"Refund flow v2\",\n \"instructions\": \"Ask for the order ID before refunding.\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-CEKURA-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://api.cekura.ai/test_framework/v1/scenarios/{id}/")
.header("X-CEKURA-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Refund flow v2\",\n \"instructions\": \"Ask for the order ID before refunding.\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/test_framework/v1/scenarios/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-CEKURA-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Refund flow v2\",\n \"instructions\": \"Ask for the order ID before refunding.\"\n}"
response = http.request(request)
puts response.read_body
ID of the agent. Either agent or project must be provided.
project
integer | null
ID of the project. Either agent or project must be provided.
assistant_id
string
write-only
Alternative to agent ID - the assistant ID to use for this scenario
Example: "asst_1234567890"
name
string
Name of the evaluator
personality
integer
The personality of the evaluator
scenario_type
enum<string>
default:instruction
Type of scenario to create:
instruction: Standard instruction-based scenario where the instructions field contains plain text
conditional_actions: Conditional action-based scenario where the instructions field contains a JSON structure
Default: instruction. Must be sent as conditional_actions when the request includes the
conditional_actions field.
instruction - Instruction
conditional_actions - Conditional Actions
Available options:
instruction,
conditional_actions
instructions
string
Scenario Instructions - the format depends on the scenario_type:
For scenario_type="instruction":
Provide plain text instructions that describe the scenario behavior.
Example: "You are a customer calling to inquire about your order status. Be polite and provide order number 12345 when asked."
For scenario_type="conditional_actions":
Use the structured conditional_actions field instead. If you send via instructions, pass a JSON-formatted string with the following structure:
{ "role": "A friendly customer calling about an appointment", "first_message": "Hi, I'd like to check on my upcoming appointment <silence time=\"1.5s\" />", "conditions": [ {"when": "The agent asks for your name", "say": "My name is Sarah Johnson"}, {"when": "The agent asks for your date of birth", "say": "January first, nineteen ninety"}, { "when": "The agent confirms your identity and provides appointment details", "say": "Thank you, that's all I needed <silence time=\"1.0s\" />", "then": ["<endcall />"] } ] }
Note: When sent via instructions, the value must be a JSON-formatted string (e.g. JSON.stringify(...) / json.dumps(...)). For new integrations, use the structured conditional_actions field below. Responses return instructions in this same shape.
Structure Details:
role (string): Personality/role description for the scenario actor
first_message (string | object): What the scenario actor says first, always verbatim. Empty means wait for the agent to speak. Use {"say": "...", "then": [...]} to add follow-up steps after it.
conditions (array): Ordered list of conditions that define the conversation flow
Each condition object has:
when (string): Natural-language description of the main agent's observable action, written from a third-person observer perspective (e.g. "The agent asks for your date of birth", "The agent confirms the cancellation"). Matched semantically against the conversation context.
say (string): What the scenario actor says or does, spoken verbatim. Wrap the whole step in <ai_generated>...</ai_generated> to have the actor improvise from it instead.
SSML pause tags:<silence time="1.5s" /> (interruptible) or <hold time="2s" /> (not interruptible). <silence> lets the main agent jump in mid-pause; <hold> enforces dead air.
Emotion markers:[laughter], [sigh], etc. (can repeat like [laughter] [laughter])
Special actions:<endcall /> to end the call
Action tags only work in verbatim steps, not inside <ai_generated>.
then (array of strings, optional): Follow-up steps in order. Each fires on the actor's next turn after one main-agent reply, regardless of its content. <interruption> is only allowed here.
Usage Tips:
Write when as third-person descriptions of what the main agent does (e.g. "The agent confirms the cancellation")
End with an <endcall /> step for clean call termination
Structured conditional-actions object for scenario_type="conditional_actions": {"role": str, "first_message": str | {"say": str, "then": [str]}, "conditions": [{"when": str, "say": str, "then": [str]}]}. Steps are spoken verbatim unless wrapped whole in <ai_generated>...</ai_generated>. Use either conditional_actions (structured) or instructions (plain text) — not both. Responses return this format unless conditional_actions_format=legacy is passed. The earlier id-based format (id, condition, action, type, fixed_message) is also accepted.
Show child attributes
expected_outcome_prompt
string
Expected Outcome Prompt
Example: "The user should be able to complete the order"
metrics
integer[]
List of metric IDs to associate with this evaluator
Example: [123, 456, 789]
tags
string[]
List of tags to associate with the evaluator
Example: ["tag1", "tag2", "tag3"]
The phone number ID to use for the evaluator (works for both inbound and outbound)
inbound_phone_number
integer
(Deprecated) The inbound phone number ID to use for the evaluator. Use phone_number instead, which works for both inbound and outbound.
folder_path
string | null
Dot-separated path of the folder to assign this evaluator to (e.g. "Sales.Inbound"). Folders must be created before use — they are not auto-created. Use scenarios_create_folder_create to create each level before assigning evaluators. Example: to use "Sales.Inbound", first create "Sales", then create "Inbound" inside it.
generated_mock_tool_entries
any | null
Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.
first_message
string
Opening line the simulated caller says to the agent. Defaults to "Hello".
max_duration
integer | null
Max call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.
Valid range: 10-3600 seconds (10 seconds to 60 minutes)
Example: 600 (10 minutes)
scenario_language
enum<string>
Language of the evaluator. Must match the chosen personality's language — mismatches are rejected.
af - Afrikaans
ar - Arabic
bn - Bengali
bg - Bulgarian
zh - Chinese Simplified
cs - Czech
da - Danish
nl - Dutch
en - English
et - Estonian
fi - Finnish
fr - French
de - German
el - Greek
gu - Gujarati
hi - Hindi
he - Hebrew
hu - Hungarian
id - Indonesian
it - Italian
ja - Japanese
kn - Kannada
kk - Kazakh
ko - Korean
ms - Malay
ml - Malayalam
mr - Marathi
multi - Multilingual
no - Norwegian
pl - Polish
pa - Punjabi
pt - Portuguese
ro - Romanian
ru - Russian
sk - Slovak
es - Spanish
sv - Swedish
th - Thai
tr - Turkish
tl - Tagalog
ta - Tamil
te - Telugu
uk - Ukrainian
uz - Uzbek
vi - Vietnamese
Available options:
af,
ar,
bn,
bg,
zh,
cs,
da,
nl,
en,
et,
fi,
fr,
de,
el,
gu,
hi,
he,
hu,
id,
it,
ja,
kn,
kk,
ko,
ms,
ml,
mr,
multi,
no,
pl,
pa,
pt,
ro,
ru,
sk,
es,
sv,
th,
tr,
tl,
ta,
te,
uk,
uz,
vi
Response
id
integer
read-only
name
string
Name of the evaluator
agent
integer
Agent ID
Example: 2142
project
integer | null
personality
integer
ID of the personality
personality_name
string
Name of the personality
agent_name
string
read-only
Name of the agent associated with this scenario
Example: "Customer Support Agent"
tags
string[]
List of tags of the evaluators
Example: ["tag1", "tag2", "tag3"]
tool_ids
any
List of tool IDs to associate with this scenario
Example: ["TOOL_DTMF", "TOOL_END_CALL"]
metrics
integer[]
List of metric IDs
Example: [123, 456, 789]
metric_names
string[]
List of metric names
Example: ["Metric 1", "Metric 2", "Metric 3"]
phone_number
string
Phone number eg: +17776666333
outbound_phone_number_data
object
Phone number used for outbound calls in this scenario
Example: "+1234567890"
Show child attributes
first_message
string
First message of the evaluator
inbound_phone_number
integer | null
inbound_phone_number_data
object
(Deprecated) Phone number used for inbound calls in this scenario. Use outbound_phone_number_data instead.
After CEK-6517, both phone_number and inbound_phone_number fields are synced, so outbound_phone_number_data contains the unified phone number for both inbound and outbound calls.
Example: {"id": 123, "number": "+1234567890", "phone_number_id": "abc123"}
Show child attributes
instructions
string
Scenario Instructions - format depends on scenario_type:
For instruction type: Plain text instructions
For conditional_actions type: JSON string with role, first_message and a conditions array. Each condition has when (a natural-language third-person description of the main agent's observable action — e.g. "The agent asks for your date of birth", matched semantically), say (spoken verbatim, with optional <silence time="1.5s" /> (interruptible) or <hold time="2s" /> (not interruptible) and [laughter] tags; wrap the whole step in <ai_generated>...</ai_generated> to improvise instead) and optional then follow-up steps. Responses return this format unless conditional_actions_format=legacy is passed. The earlier id-based format (id, condition, action, type, fixed_message) is still accepted on writes.
condition_audio
object
read-only
Pre-recorded clips available to this scenario's conditional actions, keyed by clip id. Read-only: upload, replace and delete clips, and correct a transcript, through condition-audio/. Reference a clip from any number of verbatim steps by pasting its tag; steps lists where it is used (e.g. conditions[1].then[0]).
Example:
{ "greeting": {"tag": "<audio id=\"greeting\"/>", "filename": "greeting.wav", "status": "ready", "duration": 2.4, "transcript": "Hi, is this the clinic?", "steps": ["first_message", "conditions[1]"]} }
Details of the test profile associated with this scenario. information uses the
sectioned shape: main_agent_variables are sent to the agent under test as
dynamic variables at call time; testing_agent_variables are persona/context
used by Cekura's simulated caller. Legacy flat dicts (no section keys) still
work — at call time they are delivered to both sides for backward compatibility.
Example:
REMOVED FROM API. Reads return the historical value for legacy rows (null for new rows). Writes are no longer accepted — supplying a non-null value yields a 400 error. Put dynamic-variable values in test_profile_data.information.main_agent_variables instead: create the test profile via POST /test-profiles/ and attach it via the test_profile field on the scenario.
generated_mock_tool_entries
any | null
Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.
folder_path
string | null
Path of an existing folder to assign this evaluator to, e.g. "Sales" or "Sales.Inbound". Create it first with the create-folder endpoint.
max_duration
integer | null
Max call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.
Valid range: 10-3600 seconds (10 seconds to 60 minutes)
Example: 600 (10 minutes)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cekura","colors":{"primary":"#8184FF","light":"#A6A7EA","dark":"#8184FF"},"logo":{"light":"https://mintcdn.com/vocera/NnWFOccGgHKr48PP/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=NnWFOccGgHKr48PP\u0026q=85\u0026s=fe825439de9afd1d121723398224f0fe","dark":"https://mintcdn.com/vocera/NnWFOccGgHKr48PP/logo/light.svg?fit=max\u0026auto=format\u0026n=NnWFOccGgHKr48PP\u0026q=85\u0026s=f71dda7aa2212d127512fb4e6b40961a"},"favicon":"https://mintcdn.com/vocera/-ehbdLduj39oRXOg/logo/favicon.png?fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=e32d4e5dc1d57d5e2b2fc594b73f0bb2","api":{"openapi":"openapi.json"},"navbar":{"links":[{"href":"mailto:support@cekura.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.cekura.ai"}},"footer":{"socials":{"x":"https://x.com/CekuraAI","linkedin":"https://www.linkedin.com/company/cekuraai"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vocera","hasAudioNarration":false,"actualSubdomain":"vocera","customDomains":["docs.cekura.ai"],"gitSource":{"type":"github","owner":"cekura-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b03f4183ca2a55c00692fbc","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":412},{"language":"default","tag":"Documentation","count":106},{"language":"default","tag":"Evaluators","count":64},{"language":"default","tag":"Guides","count":40},{"language":"default","tag":"Metrics","count":37},{"language":"default","tag":"Others","count":35},{"language":"default","tag":"Integrations","count":27},{"language":"default","tag":"Testing","count":23},{"language":"default","tag":"Key Concepts","count":19},{"language":"default","tag":"Advanced","count":18}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar img{height:36px}.dark #sidebar-group img{background-color:transparent!important}#content-container::before{content:\"\";position:fixed;top:-190px;right:0;width:40%;height:124%;opacity:0.4;background-repeat:no-repeat;background-image:url(\"/images/bg-dark.png\")}"}]}
{"page":{"pagePath":"api-reference/test_framework/update-evaluator","slug":"/api-reference/test_framework/update-evaluator","pageMetadata":{"title":"Update Evaluator","description":"Partially update an evaluator. Same field shape as create — see `scenarios_create` for details.","openapi":"patch /test_framework/v1/scenarios/{id}/","slug":"update-evaluator","href":"/api-reference/test_framework/update-evaluator"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Partially update an evaluator. Same field shape as create — see \", _jsx(_components.code, {\n children: \"scenarios_create\"\n }), \" for details.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Evaluator","description":"Partially update an evaluator. Same field shape as create — see `scenarios_create` for details.","openapi":"patch /test_framework/v1/scenarios/{id}/","slug":"update-evaluator","href":"/api-reference/test_framework/update-evaluator"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vocera/b06c8fbedf65997d/old-api-docs.js"],"openApiReferenceData":{"operation":{"operationId":"scenarios-partial-update_2","description":"Partially update an evaluator. Same field shape as create — see `scenarios_create` for details.","summary":"Update an evaluator","parameters":["3ef2d75a-a9b7-428d-a561-33740ff62b7f"],"tags":["Scenarios"],"requestBody":"804942e4-29ce-4653-b00a-6c8e2b3e6b68","security":["da005173-d1b4-401a-b63d-d73f2b482b8a","8589c7c9-e22f-4524-8ed0-4d8f689ccbe5","ce639fee-04eb-42bf-a735-f5a2be55f3aa"],"responses":{"200":"39eb2eee-f230-4c69-a32a-ba227fcab745","400":"f55fb00a-f9eb-43ef-b970-6780556898bf"},"x-mcp-tool-name":"scenarios_partial_update","method":"patch","type":"path","servers":["adc0cdd9-d158-49f7-af1a-c61f39575a26"],"path":"/test_framework/v1/scenarios/{id}/","baseUrlOptions":["https://api.cekura.ai"],"title":"Update an evaluator","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3ef2d75a-a9b7-428d-a561-33740ff62b7f":{"in":"path","name":"id","schema":{"type":"integer","isRequired":true,"description":"A unique integer value identifying this scenario.","uniqueKey":"","typeLabel":"integer"},"description":"A unique integer value identifying this scenario.","required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"","properties":{"agent":{"oneOf":[{"type":"integer","description":"ID of the agent. Either agent or project must be provided.","uniqueKey":"agent.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the agent. Either agent or project must be provided.","uniqueKey":"agent.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent","typeLabel":"integer | null"},"project":{"oneOf":[{"type":"integer","description":"ID of the project. Either agent or project must be provided.","uniqueKey":"project.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the project. Either agent or project must be provided.","uniqueKey":"project.oneOf.1","typeLabel":"null"}],"uniqueKey":"project","typeLabel":"integer | null"},"assistant_id":{"type":"string","writeOnly":true,"description":"\nAlternative to agent ID - the assistant ID to use for this scenario\nExample: `\"asst_1234567890\"`\n","uniqueKey":"assistant_id","typeLabel":"string"},"name":{"type":"string","description":"Name of the evaluator","uniqueKey":"name","typeLabel":"string"},"personality":{"type":"integer","description":"The personality of the evaluator","uniqueKey":"personality","typeLabel":"integer"},"scenario_type":{"enum":["instruction","conditional_actions"],"type":"string","x-spec-enum-id":"97f8e4b948b4e205","default":"instruction","description":"\nType of scenario to create:\n- `instruction`: Standard instruction-based scenario where the instructions field contains plain text\n- `conditional_actions`: Conditional action-based scenario where the instructions field contains a JSON structure\n\nDefault: `instruction`. Must be sent as `conditional_actions` when the request includes the\n`conditional_actions` field.\n\n\n* `instruction` - Instruction\n* `conditional_actions` - Conditional Actions","uniqueKey":"scenario_type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"\nScenario Instructions - the format depends on the scenario_type:\n\n**For scenario_type=\"instruction\":**\nProvide plain text instructions that describe the scenario behavior.\nExample: `\"You are a customer calling to inquire about your order status. Be polite and provide order number 12345 when asked.\"`\n\n**For scenario_type=\"conditional_actions\":**\nUse the structured `conditional_actions` field instead. If you send via `instructions`, pass a JSON-formatted string with the following structure:\n\n```json\n{\n \"role\": \"A friendly customer calling about an appointment\",\n \"first_message\": \"Hi, I'd like to check on my upcoming appointment \u003csilence time=\\\"1.5s\\\" />\",\n \"conditions\": [\n {\"when\": \"The agent asks for your name\", \"say\": \"My name is Sarah Johnson\"},\n {\"when\": \"The agent asks for your date of birth\", \"say\": \"January first, nineteen ninety\"},\n {\n \"when\": \"The agent confirms your identity and provides appointment details\",\n \"say\": \"Thank you, that's all I needed \u003csilence time=\\\"1.0s\\\" />\",\n \"then\": [\"\u003cendcall />\"]\n }\n ]\n}\n```\n\n**Note:** When sent via `instructions`, the value must be a JSON-formatted string (e.g. `JSON.stringify(...)` / `json.dumps(...)`). For new integrations, use the structured `conditional_actions` field below. Responses return `instructions` in this same shape.\n\n**Structure Details:**\n\n- **`role`** (string): Personality/role description for the scenario actor\n\n- **`first_message`** (string | object): What the scenario actor says first, always verbatim. Empty means wait for the agent to speak. Use `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps after it.\n\n- **`conditions`** (array): Ordered list of conditions that define the conversation flow\n\n **Each condition object has:**\n - **`when`** (string): Natural-language description of the main agent's observable action, written from a third-person observer perspective (e.g. `\"The agent asks for your date of birth\"`, `\"The agent confirms the cancellation\"`). Matched semantically against the conversation context.\n\n - **`say`** (string): What the scenario actor says or does, spoken verbatim. Wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to have the actor improvise from it instead.\n - **SSML pause tags:** `\u003csilence time=\"1.5s\" />` (interruptible) or `\u003chold time=\"2s\" />` (not interruptible). `\u003csilence>` lets the main agent jump in mid-pause; `\u003chold>` enforces dead air.\n - **Emotion markers:** `[laughter]`, `[sigh]`, etc. (can repeat like `[laughter] [laughter]`)\n - **Special actions:** `\u003cendcall />` to end the call\n - Action tags only work in verbatim steps, not inside `\u003cai_generated>`.\n\n - **`then`** (array of strings, optional): Follow-up steps in order. Each fires on the actor's next turn after one main-agent reply, regardless of its content. `\u003cinterruption>` is only allowed here.\n\n**Usage Tips:**\n- Write `when` as third-person descriptions of what the main agent does (e.g. `\"The agent confirms the cancellation\"`)\n- End with an `\u003cendcall />` step for clean call termination\n- Combine SSML tags and emotion markers naturally: `\"Great \u003csilence time=\\\"1.5s\\\" /> [laughter] [laughter]\"`\n","uniqueKey":"instructions","typeLabel":"string"},"conditional_actions":{"type":"object","description":"Structured conditional-actions object for `scenario_type=\"conditional_actions\"`: `{\"role\": str, \"first_message\": str | {\"say\": str, \"then\": [str]}, \"conditions\": [{\"when\": str, \"say\": str, \"then\": [str]}]}`. Steps are spoken verbatim unless wrapped whole in `\u003cai_generated>...\u003c/ai_generated>`. Use either `conditional_actions` (structured) or `instructions` (plain text) — not both. Responses return this format unless `conditional_actions_format=legacy` is passed. The earlier id-based format (`id`, `condition`, `action`, `type`, `fixed_message`) is also accepted.","required":["conditions","role"],"properties":{"role":{"type":"string","description":"Caller role / persona for this scenario. Example: `\"You are a frustrated patient calling about a billing error\"`.","isRequired":true,"uniqueKey":"conditional_actions.role","typeLabel":"string"},"conditions":{"type":"array","items":{"type":"object","description":"One condition in a conditional-actions flow.","properties":{"when":{"type":"string","description":"Third-person description of the agent's observable action that triggers this condition, matched semantically against the conversation.","isRequired":true,"uniqueKey":"conditional_actions.conditions.items.[INDEX].when","typeLabel":"string"},"say":{"type":"string","description":"Spoken verbatim by the caller. Wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to let the caller improvise from it instead; action tags such as `\u003cendcall />` and `\u003caudio id=\"...\"/>` only work in verbatim steps.","isRequired":true,"uniqueKey":"conditional_actions.conditions.items.[INDEX].say","typeLabel":"string"},"then":{"type":"array","items":{"type":"string","uniqueKey":"conditional_actions.conditions.items.[INDEX].then.items.[INDEX]","typeLabel":"string"},"description":"Optional follow-up steps, in order. Each fires on the caller's next turn after one agent reply, whatever the agent says. `\u003cinterruption>` is only allowed here.","uniqueKey":"conditional_actions.conditions.items.[INDEX].then","typeLabel":"string[]"}},"required":["say","when"],"uniqueKey":"conditional_actions.conditions.items.[INDEX]","typeLabel":"object"},"description":"Ordered list of conditions and their actions.","isRequired":true,"uniqueKey":"conditional_actions.conditions","typeLabel":"object[]"},"first_message":{"oneOf":[{"type":"string","description":"What the caller says first, always verbatim; empty means wait for the agent. Pass `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps.","uniqueKey":"conditional_actions.first_message.oneOf.0","typeLabel":"string"},{"type":"object","description":"What the caller says first, always verbatim; empty means wait for the agent. Pass `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps.","properties":{"say":{"type":"string","uniqueKey":"conditional_actions.first_message.oneOf.1.say","typeLabel":"string"},"then":{"type":"array","items":{"type":"string","uniqueKey":"conditional_actions.first_message.oneOf.1.then.items.[INDEX]","typeLabel":"string"},"uniqueKey":"conditional_actions.first_message.oneOf.1.then","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"conditional_actions.first_message.oneOf.1","typeLabel":"object"}],"uniqueKey":"conditional_actions.first_message","typeLabel":"string | object"},"functions":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"conditional_actions.functions.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"conditional_actions.functions.items.[INDEX]","typeLabel":"object"},"description":"Optional custom functions the caller can invoke mid-call from a step.","uniqueKey":"conditional_actions.functions","typeLabel":"object[]"}},"uniqueKey":"conditional_actions","typeLabel":"object"},"expected_outcome_prompt":{"type":"string","description":"\nExpected Outcome Prompt\nExample: `\"The user should be able to complete the order\"`\n","uniqueKey":"expected_outcome_prompt","typeLabel":"string"},"metrics":{"type":"array","items":{"type":"integer","uniqueKey":"metrics.items.[INDEX]","typeLabel":"integer"},"description":"\nList of metric IDs to associate with this evaluator\nExample: `[123, 456, 789]`\n","uniqueKey":"metrics","typeLabel":"integer[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"\nList of tags to associate with the evaluator\nExample: `[\"tag1\", \"tag2\", \"tag3\"]`\n","uniqueKey":"tags","typeLabel":"string[]"},"tool_ids":{"type":"array","items":{"type":"string","uniqueKey":"tool_ids.items.[INDEX]","typeLabel":"string"},"description":"List of tool IDs to use for evaluator","example":["TOOL_DTMF","TOOL_END_CALL","TOOL_END_CALL_ONLY_ON_TRANSFER"],"uniqueKey":"tool_ids","typeLabel":"string[]"},"test_profile":{"type":"integer","description":"The test profile ID to use for the evaluator","uniqueKey":"test_profile","typeLabel":"integer"},"phone_number":{"type":"integer","description":"The phone number ID to use for the evaluator (works for both inbound and outbound)","uniqueKey":"phone_number","typeLabel":"integer"},"inbound_phone_number":{"type":"integer","description":"(Deprecated) The inbound phone number ID to use for the evaluator. Use phone_number instead, which works for both inbound and outbound.","uniqueKey":"inbound_phone_number","typeLabel":"integer"},"folder_path":{"oneOf":[{"type":"string","description":"Dot-separated path of the folder to assign this evaluator to (e.g. \"Sales.Inbound\"). Folders must be created before use — they are not auto-created. Use `scenarios_create_folder_create` to create each level before assigning evaluators. Example: to use \"Sales.Inbound\", first create \"Sales\", then create \"Inbound\" inside it.","uniqueKey":"folder_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Dot-separated path of the folder to assign this evaluator to (e.g. \"Sales.Inbound\"). Folders must be created before use — they are not auto-created. Use `scenarios_create_folder_create` to create each level before assigning evaluators. Example: to use \"Sales.Inbound\", first create \"Sales\", then create \"Inbound\" inside it.","uniqueKey":"folder_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder_path","typeLabel":"string | null"},"generated_mock_tool_entries":{"oneOf":[{"description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.0","typeLabel":"any"},{"type":"null","description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.1","typeLabel":"null"}],"uniqueKey":"generated_mock_tool_entries","typeLabel":"any | null"},"first_message":{"type":"string","description":"Opening line the simulated caller says to the agent. Defaults to \"Hello\".","uniqueKey":"first_message","typeLabel":"string"},"max_duration":{"oneOf":[{"type":"integer","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.0","typeLabel":"integer"},{"type":"null","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_duration","typeLabel":"integer | null"},"scenario_language":{"enum":["af","ar","bn","bg","zh","cs","da","nl","en","et","fi","fr","de","el","gu","hi","he","hu","id","it","ja","kn","kk","ko","ms","ml","mr","multi","no","pl","pa","pt","ro","ru","sk","es","sv","th","tr","tl","ta","te","uk","uz","vi"],"type":"string","x-spec-enum-id":"f996e9ef7edb7fea","description":"Language of the evaluator. Must match the chosen `personality`'s language — mismatches are rejected.\n\n* `af` - Afrikaans\n* `ar` - Arabic\n* `bn` - Bengali\n* `bg` - Bulgarian\n* `zh` - Chinese Simplified\n* `cs` - Czech\n* `da` - Danish\n* `nl` - Dutch\n* `en` - English\n* `et` - Estonian\n* `fi` - Finnish\n* `fr` - French\n* `de` - German\n* `el` - Greek\n* `gu` - Gujarati\n* `hi` - Hindi\n* `he` - Hebrew\n* `hu` - Hungarian\n* `id` - Indonesian\n* `it` - Italian\n* `ja` - Japanese\n* `kn` - Kannada\n* `kk` - Kazakh\n* `ko` - Korean\n* `ms` - Malay\n* `ml` - Malayalam\n* `mr` - Marathi\n* `multi` - Multilingual\n* `no` - Norwegian\n* `pl` - Polish\n* `pa` - Punjabi\n* `pt` - Portuguese\n* `ro` - Romanian\n* `ru` - Russian\n* `sk` - Slovak\n* `es` - Spanish\n* `sv` - Swedish\n* `th` - Thai\n* `tr` - Turkish\n* `tl` - Tagalog\n* `ta` - Tamil\n* `te` - Telugu\n* `uk` - Ukrainian\n* `uz` - Uzbek\n* `vi` - Vietnamese","uniqueKey":"scenario_language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Rename+TweakInstructions":{"title":"Rename+TweakInstructions","summary":"Rename + tweak instructions","value":{"name":"Refund flow v2","instructions":"Ask for the order ID before refunding."}}},"exampleType":"examples"},"application/x-www-form-urlencoded":{"schema":{"type":"object","description":"","properties":{"agent":{"oneOf":[{"type":"integer","description":"ID of the agent. Either agent or project must be provided.","uniqueKey":"agent.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the agent. Either agent or project must be provided.","uniqueKey":"agent.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent","typeLabel":"integer | null"},"project":{"oneOf":[{"type":"integer","description":"ID of the project. Either agent or project must be provided.","uniqueKey":"project.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the project. Either agent or project must be provided.","uniqueKey":"project.oneOf.1","typeLabel":"null"}],"uniqueKey":"project","typeLabel":"integer | null"},"assistant_id":{"type":"string","writeOnly":true,"description":"\nAlternative to agent ID - the assistant ID to use for this scenario\nExample: `\"asst_1234567890\"`\n","uniqueKey":"assistant_id","typeLabel":"string"},"name":{"type":"string","description":"Name of the evaluator","uniqueKey":"name","typeLabel":"string"},"personality":{"type":"integer","description":"The personality of the evaluator","uniqueKey":"personality","typeLabel":"integer"},"scenario_type":{"enum":["instruction","conditional_actions"],"type":"string","x-spec-enum-id":"97f8e4b948b4e205","default":"instruction","description":"\nType of scenario to create:\n- `instruction`: Standard instruction-based scenario where the instructions field contains plain text\n- `conditional_actions`: Conditional action-based scenario where the instructions field contains a JSON structure\n\nDefault: `instruction`. Must be sent as `conditional_actions` when the request includes the\n`conditional_actions` field.\n\n\n* `instruction` - Instruction\n* `conditional_actions` - Conditional Actions","uniqueKey":"scenario_type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"\nScenario Instructions - the format depends on the scenario_type:\n\n**For scenario_type=\"instruction\":**\nProvide plain text instructions that describe the scenario behavior.\nExample: `\"You are a customer calling to inquire about your order status. Be polite and provide order number 12345 when asked.\"`\n\n**For scenario_type=\"conditional_actions\":**\nUse the structured `conditional_actions` field instead. If you send via `instructions`, pass a JSON-formatted string with the following structure:\n\n```json\n{\n \"role\": \"A friendly customer calling about an appointment\",\n \"first_message\": \"Hi, I'd like to check on my upcoming appointment \u003csilence time=\\\"1.5s\\\" />\",\n \"conditions\": [\n {\"when\": \"The agent asks for your name\", \"say\": \"My name is Sarah Johnson\"},\n {\"when\": \"The agent asks for your date of birth\", \"say\": \"January first, nineteen ninety\"},\n {\n \"when\": \"The agent confirms your identity and provides appointment details\",\n \"say\": \"Thank you, that's all I needed \u003csilence time=\\\"1.0s\\\" />\",\n \"then\": [\"\u003cendcall />\"]\n }\n ]\n}\n```\n\n**Note:** When sent via `instructions`, the value must be a JSON-formatted string (e.g. `JSON.stringify(...)` / `json.dumps(...)`). For new integrations, use the structured `conditional_actions` field below. Responses return `instructions` in this same shape.\n\n**Structure Details:**\n\n- **`role`** (string): Personality/role description for the scenario actor\n\n- **`first_message`** (string | object): What the scenario actor says first, always verbatim. Empty means wait for the agent to speak. Use `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps after it.\n\n- **`conditions`** (array): Ordered list of conditions that define the conversation flow\n\n **Each condition object has:**\n - **`when`** (string): Natural-language description of the main agent's observable action, written from a third-person observer perspective (e.g. `\"The agent asks for your date of birth\"`, `\"The agent confirms the cancellation\"`). Matched semantically against the conversation context.\n\n - **`say`** (string): What the scenario actor says or does, spoken verbatim. Wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to have the actor improvise from it instead.\n - **SSML pause tags:** `\u003csilence time=\"1.5s\" />` (interruptible) or `\u003chold time=\"2s\" />` (not interruptible). `\u003csilence>` lets the main agent jump in mid-pause; `\u003chold>` enforces dead air.\n - **Emotion markers:** `[laughter]`, `[sigh]`, etc. (can repeat like `[laughter] [laughter]`)\n - **Special actions:** `\u003cendcall />` to end the call\n - Action tags only work in verbatim steps, not inside `\u003cai_generated>`.\n\n - **`then`** (array of strings, optional): Follow-up steps in order. Each fires on the actor's next turn after one main-agent reply, regardless of its content. `\u003cinterruption>` is only allowed here.\n\n**Usage Tips:**\n- Write `when` as third-person descriptions of what the main agent does (e.g. `\"The agent confirms the cancellation\"`)\n- End with an `\u003cendcall />` step for clean call termination\n- Combine SSML tags and emotion markers naturally: `\"Great \u003csilence time=\\\"1.5s\\\" /> [laughter] [laughter]\"`\n","uniqueKey":"instructions","typeLabel":"string"},"conditional_actions":{"type":"object","description":"Structured conditional-actions object for `scenario_type=\"conditional_actions\"`: `{\"role\": str, \"first_message\": str | {\"say\": str, \"then\": [str]}, \"conditions\": [{\"when\": str, \"say\": str, \"then\": [str]}]}`. Steps are spoken verbatim unless wrapped whole in `\u003cai_generated>...\u003c/ai_generated>`. Use either `conditional_actions` (structured) or `instructions` (plain text) — not both. Responses return this format unless `conditional_actions_format=legacy` is passed. The earlier id-based format (`id`, `condition`, `action`, `type`, `fixed_message`) is also accepted.","required":["conditions","role"],"properties":{"role":{"type":"string","description":"Caller role / persona for this scenario. Example: `\"You are a frustrated patient calling about a billing error\"`.","isRequired":true,"uniqueKey":"conditional_actions.role","typeLabel":"string"},"conditions":{"type":"array","items":{"type":"object","description":"One condition in a conditional-actions flow.","properties":{"when":{"type":"string","description":"Third-person description of the agent's observable action that triggers this condition, matched semantically against the conversation.","isRequired":true,"uniqueKey":"conditional_actions.conditions.items.[INDEX].when","typeLabel":"string"},"say":{"type":"string","description":"Spoken verbatim by the caller. Wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to let the caller improvise from it instead; action tags such as `\u003cendcall />` and `\u003caudio id=\"...\"/>` only work in verbatim steps.","isRequired":true,"uniqueKey":"conditional_actions.conditions.items.[INDEX].say","typeLabel":"string"},"then":{"type":"array","items":{"type":"string","uniqueKey":"conditional_actions.conditions.items.[INDEX].then.items.[INDEX]","typeLabel":"string"},"description":"Optional follow-up steps, in order. Each fires on the caller's next turn after one agent reply, whatever the agent says. `\u003cinterruption>` is only allowed here.","uniqueKey":"conditional_actions.conditions.items.[INDEX].then","typeLabel":"string[]"}},"required":["say","when"],"uniqueKey":"conditional_actions.conditions.items.[INDEX]","typeLabel":"object"},"description":"Ordered list of conditions and their actions.","isRequired":true,"uniqueKey":"conditional_actions.conditions","typeLabel":"object[]"},"first_message":{"oneOf":[{"type":"string","description":"What the caller says first, always verbatim; empty means wait for the agent. Pass `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps.","uniqueKey":"conditional_actions.first_message.oneOf.0","typeLabel":"string"},{"type":"object","description":"What the caller says first, always verbatim; empty means wait for the agent. Pass `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps.","properties":{"say":{"type":"string","uniqueKey":"conditional_actions.first_message.oneOf.1.say","typeLabel":"string"},"then":{"type":"array","items":{"type":"string","uniqueKey":"conditional_actions.first_message.oneOf.1.then.items.[INDEX]","typeLabel":"string"},"uniqueKey":"conditional_actions.first_message.oneOf.1.then","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"conditional_actions.first_message.oneOf.1","typeLabel":"object"}],"uniqueKey":"conditional_actions.first_message","typeLabel":"string | object"},"functions":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"conditional_actions.functions.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"conditional_actions.functions.items.[INDEX]","typeLabel":"object"},"description":"Optional custom functions the caller can invoke mid-call from a step.","uniqueKey":"conditional_actions.functions","typeLabel":"object[]"}},"uniqueKey":"conditional_actions","typeLabel":"object"},"expected_outcome_prompt":{"type":"string","description":"\nExpected Outcome Prompt\nExample: `\"The user should be able to complete the order\"`\n","uniqueKey":"expected_outcome_prompt","typeLabel":"string"},"metrics":{"type":"array","items":{"type":"integer","uniqueKey":"metrics.items.[INDEX]","typeLabel":"integer"},"description":"\nList of metric IDs to associate with this evaluator\nExample: `[123, 456, 789]`\n","uniqueKey":"metrics","typeLabel":"integer[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"\nList of tags to associate with the evaluator\nExample: `[\"tag1\", \"tag2\", \"tag3\"]`\n","uniqueKey":"tags","typeLabel":"string[]"},"tool_ids":{"type":"array","items":{"type":"string","uniqueKey":"tool_ids.items.[INDEX]","typeLabel":"string"},"description":"List of tool IDs to use for evaluator","example":["TOOL_DTMF","TOOL_END_CALL","TOOL_END_CALL_ONLY_ON_TRANSFER"],"uniqueKey":"tool_ids","typeLabel":"string[]"},"test_profile":{"type":"integer","description":"The test profile ID to use for the evaluator","uniqueKey":"test_profile","typeLabel":"integer"},"phone_number":{"type":"integer","description":"The phone number ID to use for the evaluator (works for both inbound and outbound)","uniqueKey":"phone_number","typeLabel":"integer"},"inbound_phone_number":{"type":"integer","description":"(Deprecated) The inbound phone number ID to use for the evaluator. Use phone_number instead, which works for both inbound and outbound.","uniqueKey":"inbound_phone_number","typeLabel":"integer"},"folder_path":{"oneOf":[{"type":"string","description":"Dot-separated path of the folder to assign this evaluator to (e.g. \"Sales.Inbound\"). Folders must be created before use — they are not auto-created. Use `scenarios_create_folder_create` to create each level before assigning evaluators. Example: to use \"Sales.Inbound\", first create \"Sales\", then create \"Inbound\" inside it.","uniqueKey":"folder_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Dot-separated path of the folder to assign this evaluator to (e.g. \"Sales.Inbound\"). Folders must be created before use — they are not auto-created. Use `scenarios_create_folder_create` to create each level before assigning evaluators. Example: to use \"Sales.Inbound\", first create \"Sales\", then create \"Inbound\" inside it.","uniqueKey":"folder_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder_path","typeLabel":"string | null"},"generated_mock_tool_entries":{"oneOf":[{"description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.0","typeLabel":"any"},{"type":"null","description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.1","typeLabel":"null"}],"uniqueKey":"generated_mock_tool_entries","typeLabel":"any | null"},"first_message":{"type":"string","description":"Opening line the simulated caller says to the agent. Defaults to \"Hello\".","uniqueKey":"first_message","typeLabel":"string"},"max_duration":{"oneOf":[{"type":"integer","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.0","typeLabel":"integer"},{"type":"null","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_duration","typeLabel":"integer | null"},"scenario_language":{"enum":["af","ar","bn","bg","zh","cs","da","nl","en","et","fi","fr","de","el","gu","hi","he","hu","id","it","ja","kn","kk","ko","ms","ml","mr","multi","no","pl","pa","pt","ro","ru","sk","es","sv","th","tr","tl","ta","te","uk","uz","vi"],"type":"string","x-spec-enum-id":"f996e9ef7edb7fea","description":"Language of the evaluator. Must match the chosen `personality`'s language — mismatches are rejected.\n\n* `af` - Afrikaans\n* `ar` - Arabic\n* `bn` - Bengali\n* `bg` - Bulgarian\n* `zh` - Chinese Simplified\n* `cs` - Czech\n* `da` - Danish\n* `nl` - Dutch\n* `en` - English\n* `et` - Estonian\n* `fi` - Finnish\n* `fr` - French\n* `de` - German\n* `el` - Greek\n* `gu` - Gujarati\n* `hi` - Hindi\n* `he` - Hebrew\n* `hu` - Hungarian\n* `id` - Indonesian\n* `it` - Italian\n* `ja` - Japanese\n* `kn` - Kannada\n* `kk` - Kazakh\n* `ko` - Korean\n* `ms` - Malay\n* `ml` - Malayalam\n* `mr` - Marathi\n* `multi` - Multilingual\n* `no` - Norwegian\n* `pl` - Polish\n* `pa` - Punjabi\n* `pt` - Portuguese\n* `ro` - Romanian\n* `ru` - Russian\n* `sk` - Slovak\n* `es` - Spanish\n* `sv` - Swedish\n* `th` - Thai\n* `tr` - Turkish\n* `tl` - Tagalog\n* `ta` - Tamil\n* `te` - Telugu\n* `uk` - Ukrainian\n* `uz` - Uzbek\n* `vi` - Vietnamese","uniqueKey":"scenario_language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent":123,"project":123,"assistant_id":"\u003cstring>","name":"\u003cstring>","personality":123,"scenario_type":"instruction","instructions":"\u003cstring>","expected_outcome_prompt":"\u003cstring>","metrics":[123],"tags":["\u003cstring>"],"tool_ids":["TOOL_DTMF","TOOL_END_CALL","TOOL_END_CALL_ONLY_ON_TRANSFER"],"test_profile":123,"phone_number":123,"inbound_phone_number":123,"folder_path":"\u003cstring>","generated_mock_tool_entries":"\u003cunknown>","first_message":"\u003cstring>","max_duration":123}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","description":"","properties":{"agent":{"oneOf":[{"type":"integer","description":"ID of the agent. Either agent or project must be provided.","uniqueKey":"agent.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the agent. Either agent or project must be provided.","uniqueKey":"agent.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent","typeLabel":"integer | null"},"project":{"oneOf":[{"type":"integer","description":"ID of the project. Either agent or project must be provided.","uniqueKey":"project.oneOf.0","typeLabel":"integer"},{"type":"null","description":"ID of the project. Either agent or project must be provided.","uniqueKey":"project.oneOf.1","typeLabel":"null"}],"uniqueKey":"project","typeLabel":"integer | null"},"assistant_id":{"type":"string","writeOnly":true,"description":"\nAlternative to agent ID - the assistant ID to use for this scenario\nExample: `\"asst_1234567890\"`\n","uniqueKey":"assistant_id","typeLabel":"string"},"name":{"type":"string","description":"Name of the evaluator","uniqueKey":"name","typeLabel":"string"},"personality":{"type":"integer","description":"The personality of the evaluator","uniqueKey":"personality","typeLabel":"integer"},"scenario_type":{"enum":["instruction","conditional_actions"],"type":"string","x-spec-enum-id":"97f8e4b948b4e205","default":"instruction","description":"\nType of scenario to create:\n- `instruction`: Standard instruction-based scenario where the instructions field contains plain text\n- `conditional_actions`: Conditional action-based scenario where the instructions field contains a JSON structure\n\nDefault: `instruction`. Must be sent as `conditional_actions` when the request includes the\n`conditional_actions` field.\n\n\n* `instruction` - Instruction\n* `conditional_actions` - Conditional Actions","uniqueKey":"scenario_type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","description":"\nScenario Instructions - the format depends on the scenario_type:\n\n**For scenario_type=\"instruction\":**\nProvide plain text instructions that describe the scenario behavior.\nExample: `\"You are a customer calling to inquire about your order status. Be polite and provide order number 12345 when asked.\"`\n\n**For scenario_type=\"conditional_actions\":**\nUse the structured `conditional_actions` field instead. If you send via `instructions`, pass a JSON-formatted string with the following structure:\n\n```json\n{\n \"role\": \"A friendly customer calling about an appointment\",\n \"first_message\": \"Hi, I'd like to check on my upcoming appointment \u003csilence time=\\\"1.5s\\\" />\",\n \"conditions\": [\n {\"when\": \"The agent asks for your name\", \"say\": \"My name is Sarah Johnson\"},\n {\"when\": \"The agent asks for your date of birth\", \"say\": \"January first, nineteen ninety\"},\n {\n \"when\": \"The agent confirms your identity and provides appointment details\",\n \"say\": \"Thank you, that's all I needed \u003csilence time=\\\"1.0s\\\" />\",\n \"then\": [\"\u003cendcall />\"]\n }\n ]\n}\n```\n\n**Note:** When sent via `instructions`, the value must be a JSON-formatted string (e.g. `JSON.stringify(...)` / `json.dumps(...)`). For new integrations, use the structured `conditional_actions` field below. Responses return `instructions` in this same shape.\n\n**Structure Details:**\n\n- **`role`** (string): Personality/role description for the scenario actor\n\n- **`first_message`** (string | object): What the scenario actor says first, always verbatim. Empty means wait for the agent to speak. Use `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps after it.\n\n- **`conditions`** (array): Ordered list of conditions that define the conversation flow\n\n **Each condition object has:**\n - **`when`** (string): Natural-language description of the main agent's observable action, written from a third-person observer perspective (e.g. `\"The agent asks for your date of birth\"`, `\"The agent confirms the cancellation\"`). Matched semantically against the conversation context.\n\n - **`say`** (string): What the scenario actor says or does, spoken verbatim. Wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to have the actor improvise from it instead.\n - **SSML pause tags:** `\u003csilence time=\"1.5s\" />` (interruptible) or `\u003chold time=\"2s\" />` (not interruptible). `\u003csilence>` lets the main agent jump in mid-pause; `\u003chold>` enforces dead air.\n - **Emotion markers:** `[laughter]`, `[sigh]`, etc. (can repeat like `[laughter] [laughter]`)\n - **Special actions:** `\u003cendcall />` to end the call\n - Action tags only work in verbatim steps, not inside `\u003cai_generated>`.\n\n - **`then`** (array of strings, optional): Follow-up steps in order. Each fires on the actor's next turn after one main-agent reply, regardless of its content. `\u003cinterruption>` is only allowed here.\n\n**Usage Tips:**\n- Write `when` as third-person descriptions of what the main agent does (e.g. `\"The agent confirms the cancellation\"`)\n- End with an `\u003cendcall />` step for clean call termination\n- Combine SSML tags and emotion markers naturally: `\"Great \u003csilence time=\\\"1.5s\\\" /> [laughter] [laughter]\"`\n","uniqueKey":"instructions","typeLabel":"string"},"conditional_actions":{"type":"object","description":"Structured conditional-actions object for `scenario_type=\"conditional_actions\"`: `{\"role\": str, \"first_message\": str | {\"say\": str, \"then\": [str]}, \"conditions\": [{\"when\": str, \"say\": str, \"then\": [str]}]}`. Steps are spoken verbatim unless wrapped whole in `\u003cai_generated>...\u003c/ai_generated>`. Use either `conditional_actions` (structured) or `instructions` (plain text) — not both. Responses return this format unless `conditional_actions_format=legacy` is passed. The earlier id-based format (`id`, `condition`, `action`, `type`, `fixed_message`) is also accepted.","required":["conditions","role"],"properties":{"role":{"type":"string","description":"Caller role / persona for this scenario. Example: `\"You are a frustrated patient calling about a billing error\"`.","isRequired":true,"uniqueKey":"conditional_actions.role","typeLabel":"string"},"conditions":{"type":"array","items":{"type":"object","description":"One condition in a conditional-actions flow.","properties":{"when":{"type":"string","description":"Third-person description of the agent's observable action that triggers this condition, matched semantically against the conversation.","isRequired":true,"uniqueKey":"conditional_actions.conditions.items.[INDEX].when","typeLabel":"string"},"say":{"type":"string","description":"Spoken verbatim by the caller. Wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to let the caller improvise from it instead; action tags such as `\u003cendcall />` and `\u003caudio id=\"...\"/>` only work in verbatim steps.","isRequired":true,"uniqueKey":"conditional_actions.conditions.items.[INDEX].say","typeLabel":"string"},"then":{"type":"array","items":{"type":"string","uniqueKey":"conditional_actions.conditions.items.[INDEX].then.items.[INDEX]","typeLabel":"string"},"description":"Optional follow-up steps, in order. Each fires on the caller's next turn after one agent reply, whatever the agent says. `\u003cinterruption>` is only allowed here.","uniqueKey":"conditional_actions.conditions.items.[INDEX].then","typeLabel":"string[]"}},"required":["say","when"],"uniqueKey":"conditional_actions.conditions.items.[INDEX]","typeLabel":"object"},"description":"Ordered list of conditions and their actions.","isRequired":true,"uniqueKey":"conditional_actions.conditions","typeLabel":"object[]"},"first_message":{"oneOf":[{"type":"string","description":"What the caller says first, always verbatim; empty means wait for the agent. Pass `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps.","uniqueKey":"conditional_actions.first_message.oneOf.0","typeLabel":"string"},{"type":"object","description":"What the caller says first, always verbatim; empty means wait for the agent. Pass `{\"say\": \"...\", \"then\": [...]}` to add follow-up steps.","properties":{"say":{"type":"string","uniqueKey":"conditional_actions.first_message.oneOf.1.say","typeLabel":"string"},"then":{"type":"array","items":{"type":"string","uniqueKey":"conditional_actions.first_message.oneOf.1.then.items.[INDEX]","typeLabel":"string"},"uniqueKey":"conditional_actions.first_message.oneOf.1.then","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"conditional_actions.first_message.oneOf.1","typeLabel":"object"}],"uniqueKey":"conditional_actions.first_message","typeLabel":"string | object"},"functions":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"conditional_actions.functions.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"conditional_actions.functions.items.[INDEX]","typeLabel":"object"},"description":"Optional custom functions the caller can invoke mid-call from a step.","uniqueKey":"conditional_actions.functions","typeLabel":"object[]"}},"uniqueKey":"conditional_actions","typeLabel":"object"},"expected_outcome_prompt":{"type":"string","description":"\nExpected Outcome Prompt\nExample: `\"The user should be able to complete the order\"`\n","uniqueKey":"expected_outcome_prompt","typeLabel":"string"},"metrics":{"type":"array","items":{"type":"integer","uniqueKey":"metrics.items.[INDEX]","typeLabel":"integer"},"description":"\nList of metric IDs to associate with this evaluator\nExample: `[123, 456, 789]`\n","uniqueKey":"metrics","typeLabel":"integer[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"\nList of tags to associate with the evaluator\nExample: `[\"tag1\", \"tag2\", \"tag3\"]`\n","uniqueKey":"tags","typeLabel":"string[]"},"tool_ids":{"type":"array","items":{"type":"string","uniqueKey":"tool_ids.items.[INDEX]","typeLabel":"string"},"description":"List of tool IDs to use for evaluator","example":["TOOL_DTMF","TOOL_END_CALL","TOOL_END_CALL_ONLY_ON_TRANSFER"],"uniqueKey":"tool_ids","typeLabel":"string[]"},"test_profile":{"type":"integer","description":"The test profile ID to use for the evaluator","uniqueKey":"test_profile","typeLabel":"integer"},"phone_number":{"type":"integer","description":"The phone number ID to use for the evaluator (works for both inbound and outbound)","uniqueKey":"phone_number","typeLabel":"integer"},"inbound_phone_number":{"type":"integer","description":"(Deprecated) The inbound phone number ID to use for the evaluator. Use phone_number instead, which works for both inbound and outbound.","uniqueKey":"inbound_phone_number","typeLabel":"integer"},"folder_path":{"oneOf":[{"type":"string","description":"Dot-separated path of the folder to assign this evaluator to (e.g. \"Sales.Inbound\"). Folders must be created before use — they are not auto-created. Use `scenarios_create_folder_create` to create each level before assigning evaluators. Example: to use \"Sales.Inbound\", first create \"Sales\", then create \"Inbound\" inside it.","uniqueKey":"folder_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Dot-separated path of the folder to assign this evaluator to (e.g. \"Sales.Inbound\"). Folders must be created before use — they are not auto-created. Use `scenarios_create_folder_create` to create each level before assigning evaluators. Example: to use \"Sales.Inbound\", first create \"Sales\", then create \"Inbound\" inside it.","uniqueKey":"folder_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder_path","typeLabel":"string | null"},"generated_mock_tool_entries":{"oneOf":[{"description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.0","typeLabel":"any"},{"type":"null","description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.1","typeLabel":"null"}],"uniqueKey":"generated_mock_tool_entries","typeLabel":"any | null"},"first_message":{"type":"string","description":"Opening line the simulated caller says to the agent. Defaults to \"Hello\".","uniqueKey":"first_message","typeLabel":"string"},"max_duration":{"oneOf":[{"type":"integer","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.0","typeLabel":"integer"},{"type":"null","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_duration","typeLabel":"integer | null"},"scenario_language":{"enum":["af","ar","bn","bg","zh","cs","da","nl","en","et","fi","fr","de","el","gu","hi","he","hu","id","it","ja","kn","kk","ko","ms","ml","mr","multi","no","pl","pa","pt","ro","ru","sk","es","sv","th","tr","tl","ta","te","uk","uz","vi"],"type":"string","x-spec-enum-id":"f996e9ef7edb7fea","description":"Language of the evaluator. Must match the chosen `personality`'s language — mismatches are rejected.\n\n* `af` - Afrikaans\n* `ar` - Arabic\n* `bn` - Bengali\n* `bg` - Bulgarian\n* `zh` - Chinese Simplified\n* `cs` - Czech\n* `da` - Danish\n* `nl` - Dutch\n* `en` - English\n* `et` - Estonian\n* `fi` - Finnish\n* `fr` - French\n* `de` - German\n* `el` - Greek\n* `gu` - Gujarati\n* `hi` - Hindi\n* `he` - Hebrew\n* `hu` - Hungarian\n* `id` - Indonesian\n* `it` - Italian\n* `ja` - Japanese\n* `kn` - Kannada\n* `kk` - Kazakh\n* `ko` - Korean\n* `ms` - Malay\n* `ml` - Malayalam\n* `mr` - Marathi\n* `multi` - Multilingual\n* `no` - Norwegian\n* `pl` - Polish\n* `pa` - Punjabi\n* `pt` - Portuguese\n* `ro` - Romanian\n* `ru` - Russian\n* `sk` - Slovak\n* `es` - Spanish\n* `sv` - Swedish\n* `th` - Thai\n* `tr` - Turkish\n* `tl` - Tagalog\n* `ta` - Tamil\n* `te` - Telugu\n* `uk` - Ukrainian\n* `uz` - Uzbek\n* `vi` - Vietnamese","uniqueKey":"scenario_language","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent":123,"project":123,"assistant_id":"\u003cstring>","name":"\u003cstring>","personality":123,"scenario_type":"instruction","instructions":"\u003cstring>","expected_outcome_prompt":"\u003cstring>","metrics":[123],"tags":["\u003cstring>"],"tool_ids":["TOOL_DTMF","TOOL_END_CALL","TOOL_END_CALL_ONLY_ON_TRANSFER"],"test_profile":123,"phone_number":123,"inbound_phone_number":123,"folder_path":"\u003cstring>","generated_mock_tool_entries":"\u003cunknown>","first_message":"\u003cstring>","max_duration":123}}},"exampleType":"generated"}},"exampleType":"examples"},"responses":{"39eb2eee-f230-4c69-a32a-ba227fcab745":{"content":{"application/json":{"schema":{"type":"object","description":"","properties":{"id":{"type":"integer","readOnly":true,"uniqueKey":"id","typeLabel":"integer"},"name":{"type":"string","description":"Name of the evaluator","uniqueKey":"name","typeLabel":"string"},"agent":{"type":"integer","description":"\nAgent ID\nExample: `2142`\n","uniqueKey":"agent","typeLabel":"integer"},"project":{"oneOf":[{"type":"integer","uniqueKey":"project.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"project.oneOf.1","typeLabel":"null"}],"uniqueKey":"project","typeLabel":"integer | null"},"personality":{"type":"integer","description":"ID of the personality","uniqueKey":"personality","typeLabel":"integer"},"personality_name":{"type":"string","description":"Name of the personality","uniqueKey":"personality_name","typeLabel":"string"},"agent_name":{"type":"string","readOnly":true,"description":"\nName of the agent associated with this scenario\nExample: `\"Customer Support Agent\"`\n","uniqueKey":"agent_name","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"\nList of tags of the evaluators\nExample: `[\"tag1\", \"tag2\", \"tag3\"]`\n","uniqueKey":"tags","typeLabel":"string[]"},"tool_ids":{"description":"\nList of tool IDs to associate with this scenario\nExample: `[\"TOOL_DTMF\", \"TOOL_END_CALL\"]`\n","uniqueKey":"tool_ids","typeLabel":"any"},"metrics":{"type":"array","items":{"type":"integer","uniqueKey":"metrics.items.[INDEX]","typeLabel":"integer"},"description":"\nList of metric IDs\nExample: `[123, 456, 789]`\n","uniqueKey":"metrics","typeLabel":"integer[]"},"metric_names":{"type":"array","items":{"type":"string","uniqueKey":"metric_names.items.[INDEX]","typeLabel":"string"},"description":"\nList of metric names\nExample: `[\"Metric 1\", \"Metric 2\", \"Metric 3\"]`\n","uniqueKey":"metric_names","typeLabel":"string[]"},"phone_number":{"type":"string","description":"Phone number eg: +17776666333","uniqueKey":"phone_number","typeLabel":"string"},"outbound_phone_number_data":{"type":"object","description":"\nPhone number used for outbound calls in this scenario\nExample: `\"+1234567890\"`\n","required":["number","phone_number_id"],"properties":{"number":{"type":"string","maxLength":15,"isRequired":true,"uniqueKey":"outbound_phone_number_data.number","typeLabel":"string"},"phone_number_id":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"outbound_phone_number_data.phone_number_id","typeLabel":"string"},"id":{"type":"integer","readOnly":true,"uniqueKey":"outbound_phone_number_data.id","typeLabel":"integer"}},"uniqueKey":"outbound_phone_number_data","typeLabel":"object"},"first_message":{"type":"string","description":"First message of the evaluator","uniqueKey":"first_message","typeLabel":"string"},"inbound_phone_number":{"oneOf":[{"type":"integer","uniqueKey":"inbound_phone_number.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"inbound_phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"inbound_phone_number","typeLabel":"integer | null"},"inbound_phone_number_data":{"type":"object","description":"\n(Deprecated) Phone number used for inbound calls in this scenario. Use outbound_phone_number_data instead.\nAfter CEK-6517, both phone_number and inbound_phone_number fields are synced, so outbound_phone_number_data contains the unified phone number for both inbound and outbound calls.\nExample: `{\"id\": 123, \"number\": \"+1234567890\", \"phone_number_id\": \"abc123\"}`\n","required":["number","phone_number_id"],"properties":{"number":{"type":"string","maxLength":15,"isRequired":true,"uniqueKey":"inbound_phone_number_data.number","typeLabel":"string"},"phone_number_id":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"inbound_phone_number_data.phone_number_id","typeLabel":"string"},"id":{"type":"integer","readOnly":true,"uniqueKey":"inbound_phone_number_data.id","typeLabel":"integer"}},"uniqueKey":"inbound_phone_number_data","typeLabel":"object"},"instructions":{"type":"string","description":"\nScenario Instructions - format depends on scenario_type:\n- For `instruction` type: Plain text instructions\n- For `conditional_actions` type: JSON string with `role`, `first_message` and a `conditions` array. Each condition has `when` (a natural-language third-person description of the main agent's observable action — e.g. `\"The agent asks for your date of birth\"`, matched semantically), `say` (spoken verbatim, with optional `\u003csilence time=\"1.5s\" />` (interruptible) or `\u003chold time=\"2s\" />` (not interruptible) and `[laughter]` tags; wrap the whole step in `\u003cai_generated>...\u003c/ai_generated>` to improvise instead) and optional `then` follow-up steps. Responses return this format unless `conditional_actions_format=legacy` is passed. The earlier id-based format (`id`, `condition`, `action`, `type`, `fixed_message`) is still accepted on writes.\n","uniqueKey":"instructions","typeLabel":"string"},"condition_audio":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"condition_audio.additionalProperties","typeLabel":"any"},"readOnly":true,"description":"Pre-recorded clips available to this scenario's conditional actions, keyed by clip id. Read-only: upload, replace and delete clips, and correct a transcript, through `condition-audio/`. Reference a clip from any number of verbatim steps by pasting its `tag`; `steps` lists where it is used (e.g. `conditions[1].then[0]`).\n\nExample:\n```json\n{\n \"greeting\": {\"tag\": \"\u003caudio id=\\\"greeting\\\"/>\", \"filename\": \"greeting.wav\",\n \"status\": \"ready\", \"duration\": 2.4, \"transcript\": \"Hi, is this the clinic?\",\n \"steps\": [\"first_message\", \"conditions[1]\"]}\n}\n```","uniqueKey":"condition_audio","typeLabel":"object"},"simulation_description":{"type":"string","readOnly":true,"uniqueKey":"simulation_description","typeLabel":"string"},"information_fields":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"information_fields.additionalProperties","typeLabel":"any"},"description":"\nInformation fields of the evaluator\nExample:\n```json\n{\n \"user_name\": \"John Doe\",\n \"user_email\": \"john.doe@example.com\",\n}\n```\n","uniqueKey":"information_fields","typeLabel":"object"},"expected_outcome_prompt":{"type":"string","description":"\nExpected outcome prompt of the evaluator\nExample: `\"The user should be able to complete the order\"`\n","uniqueKey":"expected_outcome_prompt","typeLabel":"string"},"scenario_language":{"enum":["af","ar","bn","bg","zh","cs","da","nl","en","et","fi","fr","de","el","gu","hi","he","hu","id","it","ja","kn","kk","ko","ms","ml","mr","multi","no","pl","pa","pt","ro","ru","sk","es","sv","th","tr","tl","ta","te","uk","uz","vi"],"type":"string","x-spec-enum-id":"f996e9ef7edb7fea","description":"\nLanguage of the scenario\n\n\n* `af` - Afrikaans\n* `ar` - Arabic\n* `bn` - Bengali\n* `bg` - Bulgarian\n* `zh` - Chinese Simplified\n* `cs` - Czech\n* `da` - Danish\n* `nl` - Dutch\n* `en` - English\n* `et` - Estonian\n* `fi` - Finnish\n* `fr` - French\n* `de` - German\n* `el` - Greek\n* `gu` - Gujarati\n* `hi` - Hindi\n* `he` - Hebrew\n* `hu` - Hungarian\n* `id` - Indonesian\n* `it` - Italian\n* `ja` - Japanese\n* `kn` - Kannada\n* `kk` - Kazakh\n* `ko` - Korean\n* `ms` - Malay\n* `ml` - Malayalam\n* `mr` - Marathi\n* `multi` - Multilingual\n* `no` - Norwegian\n* `pl` - Polish\n* `pa` - Punjabi\n* `pt` - Portuguese\n* `ro` - Romanian\n* `ru` - Russian\n* `sk` - Slovak\n* `es` - Spanish\n* `sv` - Swedish\n* `th` - Thai\n* `tr` - Turkish\n* `tl` - Tagalog\n* `ta` - Tamil\n* `te` - Telugu\n* `uk` - Ukrainian\n* `uz` - Uzbek\n* `vi` - Vietnamese","uniqueKey":"scenario_language","typeLabel":"enum\u003cstring>"},"scenario_type":{"type":"string","description":"\nType of scenario:\n- `instruction`: Standard instruction-based scenario (plain text instructions)\n- `conditional_actions`: Conditional action-based scenario (JSON with role, conditions, SSML tags, emotion markers)\n","uniqueKey":"scenario_type","typeLabel":"string"},"suite_type":{"enum":["undefined","infrastructure","voice_quality","appointment_workflow","medicare_workflow"],"type":"string","x-spec-enum-id":"ca0561c2b942e037","readOnly":true,"description":"Type of predefined suite (e.g., infrastructure)\n\n* `undefined` - Undefined\n* `infrastructure` - Infrastructure Suite\n* `voice_quality` - Voice Quality\n* `appointment_workflow` - Agent Workflow - Appointment\n* `medicare_workflow` - Agent Workflow - Medicare","uniqueKey":"suite_type","typeLabel":"enum\u003cstring>"},"is_predefined":{"type":"boolean","readOnly":true,"description":"Whether this is a predefined scenario (template)","uniqueKey":"is_predefined","typeLabel":"boolean"},"test_profile":{"oneOf":[{"type":"integer","uniqueKey":"test_profile.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"test_profile.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_profile","typeLabel":"integer | null"},"test_profile_data":{"type":"object","description":"\nDetails of the test profile associated with this scenario. `information` uses the\nsectioned shape: `main_agent_variables` are sent to the agent under test as\ndynamic variables at call time; `testing_agent_variables` are persona/context\nused by Cekura's simulated caller. Legacy flat dicts (no section keys) still\nwork — at call time they are delivered to both sides for backward compatibility.\nExample:\n```json\n{\n \"id\": \"\u003cinteger>\",\n \"agent_id\": \"\u003cinteger>\",\n \"name\": \"\u003cstring>\",\n \"information\": {\n \"main_agent_variables\": {\n \"user_id\": \"\u003cstring>\",\n \"account_id\": \"\u003cstring>\"\n },\n \"testing_agent_variables\": {\n \"user_name\": \"\u003cstring>\",\n \"user_email\": \"\u003cstring>\",\n \"order_id\": \"\u003cstring>\"\n }\n }\n}\n```\n","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"test_profile_data.name","typeLabel":"string"},"id":{"type":"integer","readOnly":true,"uniqueKey":"test_profile_data.id","typeLabel":"integer"},"project":{"oneOf":[{"type":"integer","uniqueKey":"test_profile_data.project.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"test_profile_data.project.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_profile_data.project","typeLabel":"integer | null"},"agent":{"oneOf":[{"type":"integer","uniqueKey":"test_profile_data.agent.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"test_profile_data.agent.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_profile_data.agent","typeLabel":"integer | null"},"agent_name":{"type":"string","readOnly":true,"description":"\nName of the agent associated with this test profile\nExample: `\"Customer Support Agent\"`\n","uniqueKey":"test_profile_data.agent_name","typeLabel":"string"},"information":{"description":"\nVariables for the test profile, split by which agent receives them.\n```json\n{\n \"main_agent_variables\": {\"user_id\": \"U-123\"},\n \"testing_agent_variables\": {\"user_name\": \"John Doe\", \"user_email\": \"john.doe@example.com\"}\n}\n```\n`main_agent_variables` are sent to the agent under test as dynamic variables. `testing_agent_variables` shape the simulated caller's persona. A legacy flat dict (no section keys) is accepted for backward compatibility and is sent to both agents.\n\nKeys in `main_agent_variables` starting with `X-` are additionally sent as custom SIP headers (SIP runs) or connection headers (WebSocket runs) to the agent under test. For SIP runs this is the only way to pass custom headers; `X-Run-Id`, `X-Scenario-Id`, and `X-Result-Id` are reserved and always set by Cekura.\n","uniqueKey":"test_profile_data.information","typeLabel":"any"},"created_by":{"oneOf":[{"type":"integer","readOnly":true,"description":"ID of the user who created this test profile","uniqueKey":"test_profile_data.created_by.oneOf.0","typeLabel":"integer"},{"type":"null","readOnly":true,"description":"ID of the user who created this test profile","uniqueKey":"test_profile_data.created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_profile_data.created_by","typeLabel":"integer | null"},"last_updated_by":{"oneOf":[{"type":"integer","readOnly":true,"description":"ID of the user who last updated this test profile","uniqueKey":"test_profile_data.last_updated_by.oneOf.0","typeLabel":"integer"},{"type":"null","readOnly":true,"description":"ID of the user who last updated this test profile","uniqueKey":"test_profile_data.last_updated_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_profile_data.last_updated_by","typeLabel":"integer | null"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Timestamp when the test profile was created","uniqueKey":"test_profile_data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"description":"Timestamp when the test profile was last updated","uniqueKey":"test_profile_data.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"test_profile_data","typeLabel":"object"},"dynamic_variable_values":{"readOnly":true,"description":"REMOVED FROM API. Reads return the historical value for legacy rows (`null` for new rows). Writes are no longer accepted — supplying a non-null value yields a 400 error. Put dynamic-variable values in `test_profile_data.information.main_agent_variables` instead: create the test profile via POST /test-profiles/ and attach it via the `test_profile` field on the scenario.","uniqueKey":"dynamic_variable_values","typeLabel":"any"},"generated_mock_tool_entries":{"oneOf":[{"description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.0","typeLabel":"any"},{"type":"null","description":"Expected mock tool calls for this evaluator. Each entry has shape {tool_id, tool_name, new_entry: {input, output, response?}}. Auto-generated during scenario generation when the agent has mock tools attached; can also be set or edited manually.","uniqueKey":"generated_mock_tool_entries.oneOf.1","typeLabel":"null"}],"uniqueKey":"generated_mock_tool_entries","typeLabel":"any | null"},"folder_path":{"oneOf":[{"type":"string","description":"Path of an existing folder to assign this evaluator to, e.g. \"Sales\" or \"Sales.Inbound\". Create it first with the create-folder endpoint.","uniqueKey":"folder_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Path of an existing folder to assign this evaluator to, e.g. \"Sales\" or \"Sales.Inbound\". Create it first with the create-folder endpoint.","uniqueKey":"folder_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"folder_path","typeLabel":"string | null"},"max_duration":{"oneOf":[{"type":"integer","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.0","typeLabel":"integer"},{"type":"null","description":"\nMax call duration in seconds for this scenario. If not provided or set to null, the scenario will use the project's max_call_duration setting.\nValid range: 10-3600 seconds (10 seconds to 60 minutes)\nExample: `600` (10 minutes)\n","uniqueKey":"max_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_duration","typeLabel":"integer | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":123,"name":"\u003cstring>","agent":123,"project":123,"personality":123,"personality_name":"\u003cstring>","agent_name":"\u003cstring>","tags":["\u003cstring>"],"tool_ids":"\u003cunknown>","metrics":[123],"metric_names":["\u003cstring>"],"phone_number":"\u003cstring>","outbound_phone_number_data":{"number":"\u003cstring>","phone_number_id":"\u003cstring>","id":123},"first_message":"\u003cstring>","inbound_phone_number":123,"inbound_phone_number_data":{"number":"\u003cstring>","phone_number_id":"\u003cstring>","id":123},"instructions":"\u003cstring>","condition_audio":{},"simulation_description":"\u003cstring>","information_fields":{},"expected_outcome_prompt":"\u003cstring>","scenario_language":"af","scenario_type":"\u003cstring>","suite_type":"undefined","is_predefined":true,"test_profile":123,"test_profile_data":{"name":"\u003cstring>","id":123,"project":123,"agent":123,"agent_name":"\u003cstring>","information":"\u003cunknown>","created_by":123,"last_updated_by":123,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"},"dynamic_variable_values":"\u003cunknown>","generated_mock_tool_entries":"\u003cunknown>","folder_path":"\u003cstring>","max_duration":123}}},"exampleType":"generated"}},"description":"","exampleType":"generated"},"f55fb00a-f9eb-43ef-b970-6780556898bf":{"content":{"application/json":{"schema":{"type":"object","properties":{"field_name":{"type":"array","items":{"type":"string","uniqueKey":"field_name.items.[INDEX]","typeLabel":"string"},"uniqueKey":"field_name","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"field_name":["\u003cstring>"]}}},"exampleType":"generated"}},"description":"","exampleType":"generated"}},"security":{"da005173-d1b4-401a-b63d-d73f2b482b8a":{"api_key":{"type":"apiKey","in":"header","name":"X-CEKURA-API-KEY","description":"API Key Authentication. It should be included in the header of each request.","scopes":[],"schemeName":"api_key"}},"8589c7c9-e22f-4524-8ed0-4d8f689ccbe5":{"oauth2":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth access token issued by Cekura for connected apps.","scopes":[],"schemeName":"oauth2"}},"ce639fee-04eb-42bf-a735-f5a2be55f3aa":{"supabase_session":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Cekura dashboard session token. Not a customer API credential.","scopes":[],"schemeName":"supabase_session"}}},"servers":{"adc0cdd9-d158-49f7-af1a-c61f39575a26":{"url":"https://api.cekura.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-CEKURA-API-KEY","description":"API Key Authentication. It should be included in the header of each request.","scopes":[],"schemeName":"api_key"},"schema":{"title":"X-CEKURA-API-KEY","type":"string","description":"API Key Authentication. It should be included in the header of each request.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api_key","name":"X-CEKURA-API-KEY"}],"title":"api_key"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth access token issued by Cekura for connected apps.","scopes":[],"schemeName":"oauth2"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OAuth access token issued by Cekura for connected apps.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Cekura dashboard session token. Not a customer API credential.","scopes":[],"schemeName":"supabase_session"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Cekura dashboard session token. Not a customer API credential.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"supabase_session","name":"Authorization"}],"title":"supabase_session"}]},"originalFileLocation":"openapi.json"},"subdomain":"vocera","siteName":"Cekura","title":"Update Evaluator - Cekura","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-21T18:00:16.446Z","originalFileLocation":"api-reference/test_framework/update-evaluator.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Partially update an evaluator. Same field shape as create — see scenarios_create for details.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cekura\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Evaluator - Cekura\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partially update an evaluator. Same field shape as create — see scenarios_create for details.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cekura\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vocera.mintlify.site/_mintlify/api/og/v2?division=Evaluators\u0026amp;title=Update+Evaluator\u0026amp;description=Partially+update+an+evaluator.+Same+field+shape+as+create+%E2%80%94+see+%60scenarios_create%60+for+details.\u0026amp;theme=e3781130daaee1d746281e86\u0026amp;signature=afbb14ea015616ba4e612f5abe79c9aa307494e2e62ed18610a1a448d051e6cb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Evaluator - Cekura\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partially update an evaluator. Same field shape as create — see scenarios_create for details.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vocera.mintlify.site/_mintlify/api/og/v2?division=Evaluators\u0026amp;title=Update+Evaluator\u0026amp;description=Partially+update+an+evaluator.+Same+field+shape+as+create+%E2%80%94+see+%60scenarios_create%60+for+details.\u0026amp;theme=e3781130daaee1d746281e86\u0026amp;signature=afbb14ea015616ba4e612f5abe79c9aa307494e2e62ed18610a1a448d051e6cb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cekura\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8184FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/test_framework/update-evaluator.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cekura.ai/#organization\",\"name\":\"Cekura\",\"url\":\"https://docs.cekura.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vocera/NnWFOccGgHKr48PP/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=NnWFOccGgHKr48PP\u0026q=85\u0026s=fe825439de9afd1d121723398224f0fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cekura.ai#website\",\"name\":\"Cekura\",\"url\":\"https://docs.cekura.ai\",\"publisher\":{\"@id\":\"https://docs.cekura.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator#webpage\",\"url\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator\",\"name\":\"Update Evaluator\",\"description\":\"Partially update an evaluator. Same field shape as create — see scenarios_create for details.\",\"dateModified\":\"2026-04-21T18:00:16.446Z\",\"isPartOf\":{\"@id\":\"https://docs.cekura.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.cekura.ai/api-reference/observability/send-calls\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Evaluators\",\"item\":\"https://docs.cekura.ai/api-reference/test_framework/get-evaluator\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Evaluator\",\"item\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator#apireference\",\"headline\":\"Update Evaluator\",\"name\":\"Update Evaluator\",\"description\":\"Partially update an evaluator. Same field shape as create — see scenarios_create for details.\",\"url\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cekura.ai/api-reference/test_framework/update-evaluator#webpage\"},\"dateModified\":\"2026-04-21T18:00:16.446Z\",\"publisher\":{\"@id\":\"https://docs.cekura.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cekura.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cekura\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cekura\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/test_framework/update-evaluator.md","siteName":"Cekura","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"group":"Calls","pages":[{"title":"Send Calls","openapi":"post /observability/v1/observe/","href":"/api-reference/observability/send-calls"},{"title":"Get Call","openapi":"get /observability/v2/call-logs/{id}/","href":"/api-reference/observability/get-call"},{"title":"List Calls","openapi":"get /observability/v2/call-logs/","href":"/api-reference/observability/list-calls"},{"title":"Update Call Log","openapi":"patch /observability/v2/call-logs/{id}/","href":"/api-reference/observability/update-call-log"},{"title":"Reevaluate Calls","openapi":"post /observability/v1/call-logs/rerun_evaluation/","href":"/api-reference/observability/reevaluate-calls"},{"title":"Evaluate Metrics","openapi":"post /observability/v1/call-logs/evaluate_metrics/","href":"/api-reference/observability/evaluate-metrics"},{"title":"Vote on Call Log Metric","openapi":"post /observability/v1/call-logs/{id}/mark_metric_vote/","href":"/api-reference/observability/vote-call-log-metric"},{"title":"Delete Call","openapi":"delete /observability/v1/call-logs/{id}/","href":"/api-reference/observability/delete-call"},{"title":"Get Call Log Trace","openapi":"get /observability/v1/call-logs/{id}/trace/","href":"/api-reference/observability/get-call-log-trace"},{"title":"Retrieve Execution Logs for a Call Log","openapi":"get /observability/v1/call-logs/{id}/logs/","href":"/api-reference/observability/get-call-log-logs"}]},{"group":"Agents","pages":[{"title":"Get Agent","openapi":"get /test_framework/v2/aiagents/{id}/","href":"/api-reference/test_framework/get-agent"},{"title":"List Agents","openapi":"get /test_framework/v2/aiagents/","href":"/api-reference/test_framework/list-agents"},{"title":"Create Agent","openapi":"post /test_framework/v2/aiagents/","href":"/api-reference/test_framework/create-agent"},{"title":"Update Agent (Partial)","openapi":"patch /test_framework/v2/aiagents/{id}/","href":"/api-reference/test_framework/update-agent-partial"},{"title":"Update Agent (Full)","openapi":"put /test_framework/v2/aiagents/{id}/","href":"/api-reference/test_framework/update-agent-full"},{"title":"Delete Agent","openapi":"delete /test_framework/v2/aiagents/{id}/","href":"/api-reference/test_framework/delete-agent"},{"title":"Duplicate Agent","openapi":"post /test_framework/v2/aiagents/{id}/duplicate/","href":"/api-reference/test_framework/duplicate-agent"},{"title":"Auto-fetch Agent from Provider","openapi":"post /test_framework/v2/aiagents/{id}/auto-fetch/","href":"/api-reference/test_framework/auto-fetch-agent"},{"title":"Poll Agent Auto-fetch Progress","openapi":"get /test_framework/v2/aiagents/{id}/auto-fetch-progress/","href":"/api-reference/test_framework/poll-import-progress"},{"title":"List Provider Assistants","openapi":"get /test_framework/v2/aiagents/provider-assistants/","href":"/api-reference/test_framework/list-provider-assistants"},{"title":"Auto-fetch Agent V3","openapi":"post /test_framework/v3/aiagents/{id}/auto-fetch/","href":"/api-reference/test_framework/auto-fetch-agent-v3"},{"title":"Create Agent v3","openapi":"post /test_framework/v3/aiagents/","href":"/api-reference/test_framework/create-agent-v3"}]},{"group":"Metrics","pages":[{"title":"Get Metric","openapi":"get /test_framework/v2/metrics/{id}/","href":"/api-reference/test_framework/get-metric"},{"title":"List Metrics","openapi":"get /test_framework/v2/metrics/","href":"/api-reference/test_framework/list-metrics"},{"title":"Create Metric","openapi":"post /test_framework/v2/metrics/","href":"/api-reference/test_framework/create-metric"},{"title":"Update Metric","openapi":"patch /test_framework/v2/metrics/{id}/","href":"/api-reference/test_framework/update-metric"},{"title":"Delete Metric","openapi":"delete /test_framework/v1/metrics/{id}/","href":"/api-reference/test_framework/delete-metric"},{"title":"Generate Metrics","openapi":"post /test_framework/v1/metrics/generate_metrics/","href":"/api-reference/test_framework/generate-metrics"},{"title":"Get Generate Metrics Progress","openapi":"get /test_framework/v1/metrics/generate_metrics_progress/","href":"/api-reference/test_framework/generate-metrics-progress"},{"title":"Generate Clean Metric Description","openapi":"post /test_framework/v1/metrics/generate_clean_description/","href":"/api-reference/test_framework/generate-metric-description"},{"title":"Generate Metric Evaluation Trigger","openapi":"post /test_framework/v1/metrics/generate_evaluation_trigger/","href":"/api-reference/test_framework/generate-evaluation-trigger"},{"title":"Simplify Metric Prompt with AI","openapi":"post /test_framework/v1/metrics/simplify_prompt/","href":"/api-reference/test_framework/simplify-metric-prompt"},{"title":"Poll Simplify Metric Prompt Progress","openapi":"get /test_framework/v1/metrics/simplify_prompt_progress/","href":"/api-reference/test_framework/simplify-metric-prompt-progress"},{"title":"Create Metrics in Bulk","openapi":"post /test_framework/v1/metrics/bulk_create/","href":"/api-reference/test_framework/create-metrics-in-bulk"},{"title":"List Critical Metric Scenarios","openapi":"get /test_framework/v1/critical-metric-scenarios/","href":"/api-reference/test_framework/list-critical-metric-scenarios"},{"title":"Update Critical Metric Scenario","openapi":"patch /test_framework/v1/critical-metric-scenarios/{id}/","href":"/api-reference/test_framework/update-critical-metric-scenario"},{"title":"Preview Metric","openapi":"post /test_framework/v1/metrics/preview/","href":"/api-reference/test_framework/metric-preview"},{"title":"Get Metric Preview Progress","openapi":"get /test_framework/v1/metrics/preview-progress/","href":"/api-reference/test_framework/metric-preview-progress"},{"title":"Start Async Metric Description Generation","openapi":"post /test_framework/v1/metrics/generate_clean_description_bg/","href":"/api-reference/test_framework/start-async-metric-description-generation"},{"title":"Poll Async Metric Description Generation Progress","openapi":"get /test_framework/v1/metrics/generate_clean_description_progress/","href":"/api-reference/test_framework/poll-async-metric-description-generation-progress"},{"title":"Reorder External Metrics","openapi":"patch /test_framework/v1/metrics-external/reorder/","href":"/api-reference/test_framework/reorder-external-metrics"},{"title":"Reorder Metrics","openapi":"patch /test_framework/v1/metrics/reorder/","href":"/api-reference/test_framework/reorder-metrics"},{"title":"Reorder Metrics V2","openapi":"patch /test_framework/v2/metrics/reorder/","href":"/api-reference/test_framework/reorder-metrics-v2"},{"title":"Generate Clean Metric Description V3","openapi":"post /test_framework/v3/metrics/generate_clean_description/","href":"/api-reference/test_framework/generate-clean-metric-description-v3"},{"title":"Generate Metrics V3","openapi":"post /test_framework/v3/metrics/generate_metrics/","href":"/api-reference/test_framework/generate-metrics-v3"},{"title":"Preview Metric V3","openapi":"post /test_framework/v3/metrics/preview/","href":"/api-reference/test_framework/preview-metric-v3"},{"title":"Simplify Metric Prompt V3","openapi":"post /test_framework/v3/metrics/simplify_prompt/","href":"/api-reference/test_framework/simplify-metric-prompt-v3"}]},{"group":"Labs","pages":[{"title":"Create Test Set from Run","openapi":"post /test_framework/test-sets/create_from_run/","href":"/api-reference/test_framework/post-test_frameworktest-setscreate_from_run"},{"title":"Create Test Set from Call Log","openapi":"post /test_framework/test-sets/create_from_call_log/","href":"/api-reference/test_framework/post-test_frameworktest-setscreate_from_call_log"},{"title":"Update Metric Review","openapi":"patch /test_framework/metric-reviews/{id}/","href":"/api-reference/test_framework/metric-review-update"},{"title":"Run Metric Reviews","openapi":"post /test_framework/v1/metrics/{id}/run_reviews/","href":"/api-reference/test_framework/post-test_frameworkmetrics-run_reviews"},{"title":"Get Metric Review Progress","openapi":"get /test_framework/v1/metrics/run_reviews_progress/","href":"/api-reference/test_framework/metric-run-reviews-progress"},{"title":"Auto-Improve Metric","openapi":"post /test_framework/metric-reviews/process_feedbacks/","href":"/api-reference/test_framework/metric-review-process-feedbacks"},{"title":"Get Auto-Improve Progress","openapi":"get /test_framework/metric-reviews/process_feedbacks_progress/","href":"/api-reference/test_framework/metric-review-process-feedbacks-progress"},{"title":"Process Feedbacks Answer","openapi":"post /test_framework/metric-reviews/process_feedbacks_answer/","href":"/api-reference/test_framework/metric-reviews-process-feedbacks-answer"},{"title":"Run Metric Reviews V3","openapi":"post /test_framework/v3/metrics/{id}/run_reviews/","href":"/api-reference/test_framework/run-metric-reviews-v3"}]},{"group":"Evaluators","pages":[{"title":"Get Evaluator","openapi":"get /test_framework/v1/scenarios/{id}/","href":"/api-reference/test_framework/get-evaluator"},{"title":"List Evaluators","openapi":"get /test_framework/v1/scenarios/","href":"/api-reference/test_framework/list-evaluators"},{"title":"Create Evaluator","description":"Create a test scenario (evaluator) that simulates a caller interacting with your agent.","openapi":"post /test_framework/v1/scenarios/","href":"/api-reference/test_framework/create-evaluator"},{"title":"Update Evaluator","openapi":"patch /test_framework/v1/scenarios/{id}/","href":"/api-reference/test_framework/update-evaluator"},{"title":"Delete Evaluator","description":"Delete a test scenario","openapi":"delete /test_framework/v1/scenarios/{id}/","href":"/api-reference/test_framework/delete-evaluator"},{"title":"Run Evaluator Voice","openapi":"post /test_framework/v1/scenarios/run_scenarios/","href":"/api-reference/test_framework/run-evaluator-voice"},{"title":"Run Evaluator Text","openapi":"post /test_framework/v1/scenarios/run_scenarios_text/","href":"/api-reference/test_framework/run-evaluator-text"},{"title":"Run Evaluator Email","openapi":"post /test_framework/v1/scenarios/run_scenarios_email/","href":"/api-reference/test_framework/run-evaluator-email"},{"title":"Run Evaluator Websocket","openapi":"post /test_framework/v1/scenarios/run_scenarios_with_websockets/","href":"/api-reference/test_framework/run-evaluator-websocket"},{"title":"Run Evaluator Pipecat","openapi":"post /test_framework/v1/scenarios/run_scenarios_pipecat/","href":"/api-reference/test_framework/run-evaluator-pipecat"},{"title":"Run Evaluator VAPI WebRTC","openapi":"post /test_framework/v1/scenarios/run_scenarios_vapi_webrtc/","href":"/api-reference/test_framework/run-evaluator-vapi-webrtc"},{"title":"Run Evaluator Retell WebRTC","openapi":"post /test_framework/v1/scenarios/run_scenarios_retell_webrtc/","href":"/api-reference/test_framework/run-evaluator-retell-webrtc"},{"title":"Run Evaluator ElevenLabs","openapi":"post /test_framework/v1/scenarios/run_scenarios_elevenlabs/","href":"/api-reference/test_framework/run-evaluator-elevenlabs"},{"title":"Run Evaluator CHIRP","openapi":"post /test_framework/v1/scenarios/run_scenarios_chirp/","href":"/api-reference/test_framework/run-evaluator-chirp"},{"title":"Run Evaluator LiveKit (v2)","openapi":"post /test_framework/v1/scenarios/run_scenarios_livekit_v2/","href":"/api-reference/test_framework/run-evaluator-livekit-v2"},{"title":"Run Evaluator Pipecat Cloud (v2)","openapi":"post /test_framework/v1/scenarios/run_scenarios_pipecat_v2/","href":"/api-reference/test_framework/run-evaluator-pipecat-v2"},{"title":"Run Evaluator SIP","openapi":"post /test_framework/v1/scenarios/run_scenarios_sip/","href":"/api-reference/test_framework/run-evaluator-sip"},{"title":"Bulk Update Evaluators","openapi":"post /test_framework/v1/scenarios/adv_update/","href":"/api-reference/test_framework/bulk-update-scenarios"},{"title":"Bulk Delete Evaluators","openapi":"post /test_framework/v1/scenarios/delete_scenarios/","href":"/api-reference/test_framework/bulk-delete-scenarios"},{"title":"Create Evaluator from Transcript","openapi":"post /test_framework/v1/scenarios/create-from-transcript-bg/","href":"/api-reference/test_framework/create-evaluator-from-transcript-bg"},{"title":"Get Create-from-Transcript Progress","openapi":"get /test_framework/v1/scenarios/create-from-transcript-progress/","href":"/api-reference/test_framework/create-evaluator-from-transcript-progress"},{"title":"Create Cronjob","openapi":"post /schedules/v1/cron-jobs/","href":"/api-reference/schedules/create-cronjob"},{"group":"Improve Evaluators","pages":[{"title":"Improve Evaluators with AI","openapi":"post /test_framework/v1/scenarios/scenario-agent/","href":"/api-reference/test_framework/improve-evaluators"},{"title":"Poll Improvement Progress","openapi":"get /test_framework/v1/scenarios/scenario-agent-progress/","href":"/api-reference/test_framework/scenario-agent-progress"},{"title":"Improve Scenario Instructions with AI","openapi":"post /test_framework/v1/scenarios/improve_instructions/","href":"/api-reference/test_framework/improve-instructions"},{"title":"Poll Improve/Generate Instructions Progress","openapi":"get /test_framework/v1/scenarios/instructions-progress/","href":"/api-reference/test_framework/improve-instructions-progress"},{"group":"Improvement Sessions","pages":[{"title":"List Scenario Improvement Sessions","openapi":"get /test_framework/v1/scenario-improvement-sessions/","href":"/api-reference/test_framework/list-improvement-sessions"},{"title":"Create Scenario Improvement Session","openapi":"post /test_framework/v1/scenario-improvement-sessions/","href":"/api-reference/test_framework/create-improvement-session"},{"title":"Get Scenario Improvement Session","openapi":"get /test_framework/v1/scenario-improvement-sessions/{id}/","href":"/api-reference/test_framework/get-improvement-session"},{"title":"Update Scenario Improvement Session","openapi":"patch /test_framework/v1/scenario-improvement-sessions/{id}/","href":"/api-reference/test_framework/update-improvement-session"}]}]},{"group":"Folders","pages":[{"title":"List Folders","openapi":"get /test_framework/v1/scenarios/folders/","href":"/api-reference/test_framework/list-folders"},{"title":"Create Folder","openapi":"post /test_framework/v1/scenarios/create_folder/","href":"/api-reference/test_framework/create-folder"},{"title":"Delete Folder","openapi":"post /test_framework/v1/scenarios/delete_folder/","href":"/api-reference/test_framework/delete-folder"},{"title":"Move Folder","openapi":"post /test_framework/v1/scenarios/move_folder/","href":"/api-reference/test_framework/move-folder"},{"title":"Rename Folder","openapi":"post /test_framework/v1/scenarios/rename_folder/","href":"/api-reference/test_framework/rename-folder"}]},{"group":"Generate Scenarios","pages":[{"title":"Generate Evaluator","openapi":"post /test_framework/v1/scenarios/generate-bg/","href":"/api-reference/test_framework/generate-evaluator-bg"},{"title":"Get Generate Evaluator Progress","openapi":"get /test_framework/v1/scenarios/generate-progress/","href":"/api-reference/test_framework/generate-evaluator-poll-progress"},{"title":"Generate Scenario Instructions with AI","openapi":"post /test_framework/v1/scenarios/generate-instructions/","href":"/api-reference/test_framework/generate-instructions"}]},{"group":"API Chat","pages":[{"title":"Run Evaluator (API Chat)","openapi":"post /test_framework/v1/scenarios/run_scenarios_api_chat/","href":"/api-reference/test_framework/run-evaluator-api-chat"},{"title":"Submit API Chat Turn","openapi":"post /test_framework/v1/runs/{id}/chat/","href":"/api-reference/test_framework/api-chat-submit-turn"},{"title":"Poll API Chat Turn","openapi":"get /test_framework/v1/runs/{id}/chat/{turn_id}/","href":"/api-reference/test_framework/api-chat-poll-turn"},{"title":"End API Chat","openapi":"post /test_framework/v1/runs/{id}/end-chat/","href":"/api-reference/test_framework/api-chat-end"}]},{"title":"Fetch Scenarios JSON Schema","openapi":"get /test_framework/v1/scenarios/json_schema/","href":"/api-reference/test_framework/fetch-scenarios-json-schema"},{"title":"Run Scenarios From Spec JSON","openapi":"post /test_framework/v1/scenarios/run_scenarios_json/","href":"/api-reference/test_framework/run-scenarios-from-spec-json"},{"title":"Update External Scenario Condition Audio","openapi":"put /test_framework/v1/scenarios-external/{id}/condition-audio/{audio_id}/","href":"/api-reference/test_framework/update-external-scenario-condition-audio"},{"title":"Update Scenario Condition Audio","openapi":"put /test_framework/v1/scenarios/{id}/condition-audio/{audio_id}/","href":"/api-reference/test_framework/update-scenario-condition-audio"},{"title":"Update Scenario Condition Audio V2","openapi":"put /test_framework/v2/scenarios/{id}/condition-audio/{audio_id}/","href":"/api-reference/test_framework/update-scenario-condition-audio-v2"},{"title":"Validate Scenarios JSON","openapi":"post /test_framework/v1/scenarios/validate_scenarios_json/","href":"/api-reference/test_framework/validate-scenarios-json"},{"title":"Create Evaluator from Transcript V3","openapi":"post /test_framework/v3/scenarios/create-from-transcript/","href":"/api-reference/test_framework/create-evaluator-from-transcript-v3"},{"title":"Generate Evaluator V3","openapi":"post /test_framework/v3/scenarios/generate/","href":"/api-reference/test_framework/generate-evaluator-v3"},{"title":"Generate Scenario Instructions V3","openapi":"post /test_framework/v3/scenarios/generate-instructions/","href":"/api-reference/test_framework/generate-scenario-instructions-v3"},{"title":"Improve Scenario Instructions V3","openapi":"post /test_framework/v3/scenarios/improve_instructions/","href":"/api-reference/test_framework/improve-scenario-instructions-v3"},{"title":"Run Evaluator V2","openapi":"post /test_framework/v2/scenarios/run/","href":"/api-reference/test_framework/run-evaluator-v2"},{"title":"Correct External Scenario Condition Audio","openapi":"patch /test_framework/v1/scenarios-external/{id}/condition-audio/{audio_id}/","href":"/api-reference/test_framework/correct-external-scenario-condition-audio"},{"title":"Correct Scenario Condition Audio","openapi":"patch /test_framework/v1/scenarios/{id}/condition-audio/{audio_id}/","href":"/api-reference/test_framework/correct-scenario-condition-audio"},{"title":"Correct Scenario Condition Audio V2","openapi":"patch /test_framework/v2/scenarios/{id}/condition-audio/{audio_id}/","href":"/api-reference/test_framework/correct-scenario-condition-audio-v2"}]},{"group":"Test Profiles","pages":[{"title":"Get Test Profile","openapi":"get /test_framework/v1/test-profiles/{id}/","href":"/api-reference/test_framework/get-test-profile"},{"title":"List Test Profiles","openapi":"get /test_framework/v1/test-profiles/","href":"/api-reference/test_framework/list-test-profiles"},{"title":"Create Test Profile","openapi":"post /test_framework/v1/test-profiles/","href":"/api-reference/test_framework/create-test-profile"},{"title":"Update Test Profile","openapi":"patch /test_framework/v1/test-profiles/{id}/","href":"/api-reference/test_framework/update-test-profile"},{"title":"Delete Test Profile","openapi":"Delete /test_framework/v1/test-profiles/{id}/","href":"/api-reference/test_framework/delete-test-profile"}]},{"group":"Results","pages":[{"title":"Get Result","openapi":"get /test_framework/v2/results/{id}/","href":"/api-reference/test_framework/get-result"},{"title":"List Results","openapi":"get /test_framework/v2/results/","href":"/api-reference/test_framework/list-results"},{"title":"Get Combined Results Report","openapi":"get /test_framework/v2/results/reports/","href":"/api-reference/test_framework/get-combined-results-report"},{"title":"Reevaluate Metrics","openapi":"post /test_framework/v1/results/{id}/evaluate_metrics/","href":"/api-reference/test_framework/reevaluate-metrics"},{"title":"Rerun Results","openapi":"post /test_framework/v1/results/{id}/rerun/","href":"/api-reference/test_framework/rerun-results"},{"openapi":"post /test_framework/v1/results/{id}/delete_runs/","title":"Delete runs from result","href":"/api-reference/test_framework/post-test_frameworkresults-delete_runs"},{"openapi":"post /test_framework/v1/results/{id}/end_calls/","title":"End all calls in result","href":"/api-reference/test_framework/post-test_frameworkresults-end_calls"},{"openapi":"post /test_framework/v1/results/{id}/create_shareable_link_token/","title":"Generate shareable link for result","href":"/api-reference/test_framework/post-test_frameworkresults-create_shareable_link_token"},{"title":"Ask About Result Failures","openapi":"post /test_framework/v1/results/{id}/ask_about_failures/","href":"/api-reference/test_framework/ask-about-failures"},{"title":"Get Ask About Failures Progress","openapi":"get /test_framework/v1/results/failure-analysis-progress/","href":"/api-reference/test_framework/ask-about-failures-progress"},{"title":"Bulk Delete Results External","openapi":"post /test_framework/v1/results-external/bulk_delete/","href":"/api-reference/test_framework/bulk-delete-results-external"},{"title":"Bulk Evaluate Results Metrics External","openapi":"post /test_framework/v1/results-external/bulk_evaluate_metrics/","href":"/api-reference/test_framework/bulk-evaluate-results-metrics-external"},{"title":"Bulk Delete Results","openapi":"post /test_framework/v1/results/bulk_delete/","href":"/api-reference/test_framework/bulk-delete-results"},{"title":"Bulk Evaluate Results Metrics","openapi":"post /test_framework/v1/results/bulk_evaluate_metrics/","href":"/api-reference/test_framework/bulk-evaluate-results-metrics"},{"title":"Ask About Failures v3","openapi":"post /test_framework/v3/results/{id}/ask_about_failures/","href":"/api-reference/test_framework/ask-about-failures-v3"}]},{"group":"Runs","pages":[{"title":"List Runs with IDs","openapi":"get /test_framework/v2/runs/bulk/","href":"/api-reference/test_framework/list-runs-with-ids"},{"openapi":"post /test_framework/v1/runs/{id}/end_call/","title":"End a single call","href":"/api-reference/test_framework/post-test_frameworkruns-end_call"},{"title":"Vote on Run Metric","openapi":"post /test_framework/v1/runs/{id}/mark_metric_vote/","href":"/api-reference/test_framework/vote-run-metric"},{"title":"Get Run Trace","openapi":"get /test_framework/v1/runs/{id}/trace/","href":"/api-reference/test_framework/get-run-trace"},{"title":"Retrieve Execution Logs for a Simulation Run","openapi":"get /test_framework/v1/runs/{id}/logs/","href":"/api-reference/test_framework/get-run-logs"}]},{"group":"Schedules","pages":[{"title":"Get Schedule Job","openapi":"get /schedules/v1/cron-jobs/{id}/","href":"/api-reference/schedules/get-schedule-job"},{"title":"List Schedule Jobs","openapi":"get /schedules/v1/cron-jobs/","href":"/api-reference/schedules/list-schedule-jobs"},{"title":"Create Schedule Job","openapi":"post /schedules/v1/cron-jobs/","href":"/api-reference/schedules/create-schedule-job"},{"title":"Update Schedule Job","openapi":"patch /schedules/v1/cron-jobs/{id}/","href":"/api-reference/schedules/update-schedule-job"},{"title":"Delete Schedule Job","openapi":"delete /schedules/v1/cron-jobs/{id}/","href":"/api-reference/schedules/delete-schedule-job"}]},{"group":"Projects","pages":[{"title":"Get project","openapi":"get /user/v1/projects/{id}/","href":"/api-reference/user/get-project"},{"title":"List projects","openapi":"get /user/v1/projects/","href":"/api-reference/user/list-projects"},{"title":"Create project","openapi":"post /user/v1/projects/","href":"/api-reference/user/create-project"},{"title":"Update project","openapi":"patch /user/v1/projects/{id}/","href":"/api-reference/user/update-project"},{"title":"Delete project","openapi":"delete /user/v1/projects/{id}/","href":"/api-reference/user/delete-project"},{"title":"Enable personalities","openapi":"post /user/v1/projects/{id}/enable_personalities/","href":"/api-reference/user/enable-project-personalities"},{"title":"Disable personalities","openapi":"post /user/v1/projects/{id}/disable_personalities/","href":"/api-reference/user/disable-project-personalities"}]},{"group":"Organization","pages":[{"openapi":"get /user/organizations/","title":"List your organizations","href":"/api-reference/user/get-userorganizations"},{"title":"Get Billing Info","openapi":"get /test_framework/billing/info/","href":"/api-reference/organization/get-billing-info"},{"title":"Get Payment History","openapi":"get /test_framework/billing/payment-history/","href":"/api-reference/test_framework/get-payment-history"},{"title":"List Organizations","openapi":"get /user/v2/organizations/","href":"/api-reference/user/list-organizations"},{"title":"Get Unit Usage Report","openapi":"get /test_framework/billing/unit-usage-report/","href":"/api-reference/test_framework/get-unit-usage-report"}]},{"group":"Dashboards","pages":[{"title":"List Dashboards","openapi":"get /dashboards/dashboards/","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create Dashboard","openapi":"post /dashboards/dashboards/","href":"/api-reference/dashboards/create-dashboard"},{"title":"Get Dashboard","openapi":"get /dashboards/dashboards/{id}/","href":"/api-reference/dashboards/get-dashboard"},{"title":"Update Dashboard","openapi":"patch /dashboards/dashboards/{id}/","href":"/api-reference/dashboards/update-dashboard"},{"title":"Delete Dashboard","openapi":"delete /dashboards/dashboards/{id}/","href":"/api-reference/dashboards/delete-dashboard"},{"title":"Duplicate Dashboard","openapi":"post /dashboards/dashboards/{id}/duplicate/","href":"/api-reference/dashboards/duplicate-dashboard"},{"title":"Bulk Widget Operations","openapi":"post /dashboards/dashboards/{id}/bulk_widgets/","href":"/api-reference/dashboards/bulk-widgets"}]},{"group":"Widgets","pages":[{"title":"List Widgets","openapi":"get /dashboards/widgets/","href":"/api-reference/dashboards/list-widgets"},{"title":"Create Widget","openapi":"post /dashboards/widgets/","href":"/api-reference/dashboards/create-widget"},{"title":"Get Widget","openapi":"get /dashboards/widgets/{id}/","href":"/api-reference/dashboards/get-widget"},{"title":"Update Widget","openapi":"patch /dashboards/widgets/{id}/","href":"/api-reference/dashboards/update-widget"},{"title":"Delete Widget","openapi":"delete /dashboards/widgets/{id}/","href":"/api-reference/dashboards/delete-widget"},{"title":"Get Widget Data","openapi":"get /dashboards/widgets/{id}/data/","href":"/api-reference/dashboards/get-widget-data"},{"title":"Preview Widget Data","openapi":"post /dashboards/widgets/preview_data/","href":"/api-reference/dashboards/preview-widget-data"},{"title":"Bulk Widget Data","openapi":"post /dashboards/widgets/bulk_data/","href":"/api-reference/dashboards/widget-bulk-data"}]},{"group":"Audit Logs","pages":[{"title":"List Audit Logs","openapi":"get /user/v1/audit-logs/","href":"/api-reference/user/list-audit-logs"}]},{"group":"API Keys","pages":[{"title":"Create API Key","openapi":"post /user/api/v1/user-api-key/","href":"/api-reference/user/create-api-key"}]},{"group":"Others","pages":[{"title":"List Personalities","openapi":"get /test_framework/v1/personalities/","href":"/api-reference/test_framework/list-personalities"},{"title":"Create Personality","openapi":"post /test_framework/v1/personalities/","href":"/api-reference/test_framework/create-personality"},{"title":"Update Personality","openapi":"patch /test_framework/v1/personalities/{id}/","href":"/api-reference/test_framework/update-personality"},{"title":"Fork Personality","openapi":"post /test_framework/v1/personalities/{id}/fork/","href":"/api-reference/test_framework/fork-personality"},{"title":"List Predefined Metrics","openapi":"get /test_framework/v1/predefined-metrics/","href":"/api-reference/test_framework/list-predefined-metrics"},{"title":"List Inbound Phone Numbers","openapi":"get /test_framework/v1/phone-numbers/inbound/","href":"/api-reference/test_framework/list-inbound-phone-numbers"},{"title":"Create Evaluators from Call Logs","openapi":"post /observability/v1/call-logs/create_scenarios/","href":"/api-reference/observability/create-scenarios-from-call-logs"},{"title":"Get Progress For Evaluator Creation","openapi":"get /observability/v1/call-logs/create_scenarios_progress/","href":"/api-reference/observability/create-scenarios-from-call-logs-progress"},{"title":"Get Alert Review Detail","openapi":"get /observability/v1/alerts/{id}/review_detail/","href":"/api-reference/observability/get-alert-review-detail"},{"title":"Summarize Alert","openapi":"post /observability/v1/alerts/{id}/summarize/","href":"/api-reference/observability/summarize-alert"},{"title":"List Alerts for Review","openapi":"get /observability/v1/alerts/review/","href":"/api-reference/observability/list-alerts-for-review"},{"title":"Get Alert Summarization Progress","openapi":"get /observability/v1/alerts/summarize_progress/","href":"/api-reference/observability/get-alert-summarization-progress"},{"title":"Trigger Alert Summary","openapi":"get /observability/v1/alerts/trigger_summary/","href":"/api-reference/observability/trigger-alert-summary"},{"title":"Bulk Generate Metric Failure Mode Insights","openapi":"post /observability/v1/metric-failure-mode-insights/bulk_generate/","href":"/api-reference/observability/bulk-generate-metric-failure-mode-insights"},{"title":"List Deep Research Insights","openapi":"get /observability/v1/deep-research-insights/","href":"/api-reference/observability/list-deep-research-insights"},{"title":"Get Deep Research Insight","openapi":"get /observability/v1/deep-research-insights/{id}/","href":"/api-reference/observability/get-deep-research-insight"},{"title":"Delete Deep Research Insight","openapi":"delete /observability/v1/deep-research-insights/{id}/","href":"/api-reference/observability/delete-deep-research-insight"},{"title":"Dismiss Deep Research Insight Mode","openapi":"post /observability/v1/deep-research-insights/dismiss_mode/","href":"/api-reference/observability/dismiss-deep-research-insight-mode"},{"title":"Generate Deep Research Insights","openapi":"post /observability/v1/deep-research-insights/generate/","href":"/api-reference/observability/generate-deep-research-insights"},{"title":"Get Metric Failure Mode Insights Available Dates","openapi":"get /observability/v1/metric-failure-mode-insights/available_dates/","href":"/api-reference/observability/get-metric-failure-mode-insights-available-dates"},{"title":"Retrieve Deep Research Insights Pricing","openapi":"get /observability/v1/deep-research-insights/pricing/","href":"/api-reference/observability/retrieve-deep-research-insights-pricing"},{"title":"List Metric Failure Mode Insight Categories","openapi":"get /observability/v1/metric-failure-mode-insights/categories/","href":"/api-reference/observability/list-metric-failure-mode-insight-categories"},{"title":"Add Metric Failure Mode Insight Category Example Calls to Labs","openapi":"post /observability/v1/metric-failure-mode-insights/categories/{category_slug}/fix-metric/","href":"/api-reference/observability/add-metric-failure-mode-insight-category-example-calls-to-labs"},{"title":"List Agent Improvement Sessions","openapi":"get /observability/v1/agent-improvement-sessions/","href":"/api-reference/observability/list-agent-improvement-sessions"},{"title":"Create Agent Improvement Session","openapi":"post /observability/v1/agent-improvement-sessions/","href":"/api-reference/observability/create-agent-improvement-session"},{"title":"Get Agent Improvement Session","openapi":"get /observability/v1/agent-improvement-sessions/{id}/","href":"/api-reference/observability/get-agent-improvement-session"},{"title":"List Metric Failure Mode Insight Category Calls","openapi":"get /observability/v1/metric-failure-mode-insights/categories/{category_slug}/calls/","href":"/api-reference/observability/list-metric-failure-mode-insight-category-calls"},{"title":"Delete Metric Failure Mode Insight Category","openapi":"delete /observability/v1/metric-failure-mode-insights/categories/{category_slug}/delete/","href":"/api-reference/observability/delete-metric-failure-mode-insight-category"},{"title":"List Metric Failure Rates","openapi":"get /observability/v1/metric-failure-mode-insights/failure-rates/","href":"/api-reference/observability/list-metric-failure-rates"},{"title":"List Tools","openapi":"get /test_framework/v1/tools/","href":"/api-reference/test_framework/list-tools"},{"title":"Get Tool","openapi":"get /test_framework/v1/tools/{id}/","href":"/api-reference/test_framework/get-tool"},{"title":"Create External Personality Voice Clone","openapi":"post /test_framework/v1/personalities-external/clone_voice/","href":"/api-reference/test_framework/create-external-personality-voice-clone"},{"title":"Create Personality Voice Clone","openapi":"post /test_framework/v1/personalities/clone_voice/","href":"/api-reference/test_framework/create-personality-voice-clone"},{"title":"Summarize Alert V3","openapi":"post /observability/v3/alerts/{id}/summarize/","href":"/api-reference/observability/summarize-alert-v3"},{"title":"Create Evaluators from Call Logs V3","openapi":"post /observability/v3/call-logs/create_scenarios/","href":"/api-reference/observability/create-evaluators-from-call-logs-v3"}]}]}]},{"tab":"MCP \u0026 Skills","pages":[{"title":"MCP \u0026 Skills","href":"/mcp/overview"}]},{"tab":"CLI \u0026 SDK","pages":[{"title":"CLI \u0026 SDK","href":"/cli-sdk/overview"}]}]},"basePath":"","title":"Update Evaluator - Cekura","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}