An org API key (gh_live_…) from Settings → API keys in the console.
Path Parameters
test_case_id
string
required
The test case’s id (tc_…) or its key (e.g. DSP-01).
Body
application/json
Only the fields you send change.
key
string | null
Your own id for the case, unique in the org: 1 to 64 of A-Za-z0-9._-, not starting with tc_. Every {test_case_id} in the API also takes it.
Pattern: ^(?!tc_)[A-Za-z0-9._-]{1,64}$
Example:
"DSP-01"
name
string
Required string length: 1 - 200
Example:
"Apps switched to dark mode"
prompt
string
Chat cases: the person’s first message. Browser and machine cases: the task’s prompt.
Required string length: 1 - 8000
Example:
"All my windows suddenly went black. How do I get the white back?"
start_state
string
Desktop machine cases (required for them): the machine each try starts from. Null for chat and browser cases.
Example:
"win10-22h2"
setup_script
stringobject
Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.
Maximum string length: 100000
success
object
How to tell the problem is fixed: a check_script, a rubric, or both (an attempt passes only when each one it has passes). At least one.
Show child attributes
customer
object | null
The simulated customer. Null: the test set’s customer, else a built-in default.
Show child attributes
operator
object
Show child attributes
limits
object
Show child attributes
runs_on
string
chat: a conversation with the agent, on Eager’s servers. browser: one task on a fresh cloud browser from start_url. vm (the default), or one of your runners’ labels: a desktop machine. Chat and browser cases are judged on the answer (expected, success.rubric) and whether it’s grounded; machine cases on success.check_script and/or the rubric.
Example:
"vm"
category
string | null
Example:
"Display & graphics"
tags
string[]
Maximum array length: 50
Maximum string length: 64
Example:
["uac"]
metadata
object
Your own ids and labels (e.g. a ticket or customer id), returned as given.
Show child attributes
Example:
{ "customer_id": "cus_42" }
expected
string | null
Chat and browser cases: the right answer, in plain words. The judge passes an answer that has its facts. A chat or browser case needs expected, a rubric, or both.
Maximum string length: 2000
messages
string[]
Chat cases: follow-up messages, sent in order after the prompt, each once the agent has replied.
Maximum array length: 10
Maximum string length: 8000
start_url
string<uri> | null
Browser cases: where the browser opens.
must_visit
string[]
Chat and browser cases: sites the answer must come from, by host (a.com|b.com for either; subdomains count). An attempt that didn’t open one in a browser task fails, whatever the judge said.
Maximum array length: 10
Example:
["support.example.com|docs.example.com"]
procedure_id
string | null
The procedure this case checks (prc_…, one of the agent's procedures). The procedure then shows its evals: its latest run of them, and whether that run tested its current revision.
Example:
"prc_4mJx0aQe1"
inputs
object[]
Sets of values for the case's {placeholders} (a procedure's dynamic variables, like {mtm}): names are letters, digits and _. Each set runs as its own tries (a run's tries per case are multiplied by the sets): {name} in prompt, messages, expected, success.rubric and start_url is filled from the set, and the simulated customer knows the set as facts.
Ids of the AI ontology's objects (types and kinds) the case exercises, like device or post_warranty. Left out, the ontology fills it in within a minute: from the procedure the case is tied to, else by reading the case. Results of a run are also grouped by them (by_object).
Response
OK
A request to test an agent on, and how to tell the answer or fix is right: a chat, a browser task, or a problem on a desktop machine (runs_on).
object
any
test_case_id
string
Example:
"tc_8Kq2mZ0aLp4x"
key
string | null
Your own id for the case, unique in the org: 1 to 64 of A-Za-z0-9._-, not starting with tc_. Every {test_case_id} in the API also takes it.
Pattern: ^(?!tc_)[A-Za-z0-9._-]{1,64}$
Example:
"DSP-01"
name
string
Required string length: 1 - 200
Example:
"Apps switched to dark mode"
prompt
string
Chat cases: the person’s first message. Browser and machine cases: the task’s prompt.
Required string length: 1 - 8000
Example:
"All my windows suddenly went black. How do I get the white back?"
start_state
string
Desktop machine cases (required for them): the machine each try starts from. Null for chat and browser cases.
Example:
"win10-22h2"
setup_script
string | null
Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.
Maximum string length: 100000
success
object
How to tell the problem is fixed. An attempt passes only when each one it has passes.
Show child attributes
customer
object | null
The simulated customer. Null: the test set’s customer, else a built-in default.
Show child attributes
operator
object
Show child attributes
limits
object
Show child attributes
runs_on
string
chat: a conversation with the agent, on Eager’s servers. browser: one task on a fresh cloud browser from start_url. vm (the default), or one of your runners’ labels: a desktop machine. Chat and browser cases are judged on the answer (expected, success.rubric) and whether it’s grounded; machine cases on success.check_script and/or the rubric.
Example:
"vm"
category
string | null
Example:
"Display & graphics"
tags
string[]
Maximum array length: 50
Maximum string length: 64
Example:
["uac"]
metadata
object
Your own ids and labels (e.g. a ticket or customer id), returned as given.
Show child attributes
Example:
{ "customer_id": "cus_42" }
created_at
string<date-time>
updated_at
string<date-time>
must_visit
string[]
Chat and browser cases: sites the answer must come from, by host (a.com|b.com for either; subdomains count). An attempt that didn’t open one in a browser task fails, whatever the judge said.
Maximum array length: 10
Example:
["support.example.com|docs.example.com"]
expected
string | null
Chat and browser cases: the right answer, in plain words. The judge passes an answer that has its facts. A chat or browser case needs expected, a rubric, or both.
Maximum string length: 2000
messages
string[]
Chat cases: follow-up messages, sent in order after the prompt, each once the agent has replied.
Maximum array length: 10
Maximum string length: 8000
start_url
string<uri> | null
Browser cases: where the browser opens.
procedure_id
string | null
The procedure this case checks (prc_…, one of the agent's procedures). The procedure then shows its evals: its latest run of them, and whether that run tested its current revision.
Example:
"prc_4mJx0aQe1"
inputs
object[]
Sets of values for the case's {placeholders} (a procedure's dynamic variables, like {mtm}): names are letters, digits and _. Each set runs as its own tries (a run's tries per case are multiplied by the sets): {name} in prompt, messages, expected, success.rubric and start_url is filled from the set, and the simulated customer knows the set as facts.
Ids of the AI ontology's objects (types and kinds) the case exercises, like device or post_warranty. Left out, the ontology fills it in within a minute: from the procedure the case is tied to, else by reading the case. Results of a run are also grouped by them (by_object).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eager","description":"Train AI agents like new hires: hand an agent your files and coach it, and it writes its own procedures and works in any software, even without an API.","colors":{"primary":"#183B2B","light":"#C9EE6A","dark":"#183B2B"},"logo":{"light":"https://mintcdn.com/guiding-hand/lgKNkM-YLkSemq1m/logo/light.svg?fit=max\u0026auto=format\u0026n=lgKNkM-YLkSemq1m\u0026q=85\u0026s=e586dcc65be9b0c262b28f3c88841ebd","dark":"https://mintcdn.com/guiding-hand/lgKNkM-YLkSemq1m/logo/dark.svg?fit=max\u0026auto=format\u0026n=lgKNkM-YLkSemq1m\u0026q=85\u0026s=47ef805b722f3fb6888488a040c99a9b","href":"https://guidinghand.ai"},"favicon":"https://mintcdn.com/guiding-hand/lgKNkM-YLkSemq1m/logo/favicon.svg?fit=max\u0026auto=format\u0026n=lgKNkM-YLkSemq1m\u0026q=85\u0026s=825f6431fe8735610a0d5b4d82b094ef","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"navbar":{"links":[{"href":"https://guidinghand.ai/console","label":"Console"}],"primary":{"type":"button","label":"Get an API key","href":"https://guidinghand.ai/console"}},"footer":{"socials":{"website":"https://guidinghand.ai"}},"fonts":{"heading":{"family":"Instrument Serif","weight":400},"body":{"family":"Geist"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"guiding-hand","hasAudioNarration":false,"actualSubdomain":"guiding-hand","customDomains":["docs.guidinghand.ai"],"gitSource":{"type":"github","owner":"chaowss","repo":"guidinghand","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b04c7f16e7b4ff1df342a6e","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API reference","count":380},{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Agents","count":23},{"language":"default","tag":"Agent tools","count":22},{"language":"default","tag":"Phone numbers","count":15},{"language":"default","tag":"Test runs","count":11},{"language":"default","tag":"Computers","count":10},{"language":"default","tag":"Procedures","count":10},{"language":"default","tag":"Schedules","count":10},{"language":"default","tag":"Start states","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":true},"customCss":[]}
{"page":{"pagePath":"api-reference/test-cases/update-a-test-case","slug":"/api-reference/test-cases/update-a-test-case","pageMetadata":{"title":"Update a test case","description":"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/test_cases/{test_case_id}","href":"/api-reference/test-cases/update-a-test-case","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.\"\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 a test case","description":"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/test_cases/{test_case_id}","href":"/api-reference/test-cases/update-a-test-case","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Test cases"],"summary":"Update a test case","description":"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.","operationId":"updateTestCase","requestBody":"b1eadc1d-a088-48e4-b340-0fcbfaa3ff52","responses":{"200":"59d5f42e-4347-475c-9f6d-21fee3926ca8","400":"c73e5447-d810-4238-a51e-24c97270fcc1","401":"50bd0275-60b9-4c06-8679-fd1445ade8bf","403":"73eb7535-7b83-4ff5-aceb-8a306b7e7458","404":"9586e8d1-921c-446e-b66d-b10400b96546","409":"5dd6d3d7-6186-4eb0-b76f-0959592e3953"},"method":"patch","type":"path","servers":["14b7dee2-f214-4296-9ac6-5ad72db96b21","81a5e160-ba9c-4608-9f6a-3180311324af"],"security":["b7dc2e34-e115-48f8-8277-e038e1a9c6ba"],"path":"/v1/test_cases/{test_case_id}","baseUrlOptions":["https://guidinghand.ai","https://dev.guidinghand.ai"],"title":"Update a test case","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"cfafa411-48af-44d4-82ae-faecea20d83e":{"name":"test_case_id","in":"path","required":true,"description":"The test case’s id (`tc_…`) or its `key` (e.g. `DSP-01`).","schema":{"type":"string","isRequired":true,"description":"The test case’s id (`tc_…`) or its `key` (e.g. `DSP-01`).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Only the fields you send change.","properties":{"key":{"oneOf":[{"type":"string","pattern":"^(?!tc_)[A-Za-z0-9._-]{1,64}$","example":"DSP-01","description":"Your own id for the case, unique in the org: 1 to 64 of `A-Za-z0-9._-`, not starting with `tc_`. Every `{test_case_id}` in the API also takes it.","uniqueKey":"key.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^(?!tc_)[A-Za-z0-9._-]{1,64}$","example":"DSP-01","description":"Your own id for the case, unique in the org: 1 to 64 of `A-Za-z0-9._-`, not starting with `tc_`. Every `{test_case_id}` in the API also takes it.","uniqueKey":"key.oneOf.1","typeLabel":"null"}],"uniqueKey":"key","typeLabel":"string | null"},"name":{"type":"string","minLength":1,"maxLength":200,"example":"Apps switched to dark mode","uniqueKey":"name","typeLabel":"string"},"prompt":{"type":"string","minLength":1,"maxLength":8000,"example":"All my windows suddenly went black. How do I get the white back?","description":"Chat cases: the person’s first message. Browser and machine cases: the task’s prompt.","uniqueKey":"prompt","typeLabel":"string"},"start_state":{"type":"string","example":"win10-22h2","description":"Desktop machine cases (required for them): the machine each try starts from. Null for chat and browser cases.","uniqueKey":"start_state","typeLabel":"string"},"setup_script":{"oneOf":[{"type":"string","description":"Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.","maxLength":100000,"uniqueKey":"setup_script.oneOf.0","typeLabel":"string"},{"type":"null","description":"Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.","maxLength":100000,"uniqueKey":"setup_script.oneOf.1","typeLabel":"null"},{"type":"object","description":"Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.","required":["base64"],"properties":{"base64":{"type":"string","isRequired":true,"uniqueKey":"setup_script.oneOf.2.base64","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"setup_script.oneOf.2","typeLabel":"object"}],"uniqueKey":"setup_script","typeLabel":"string | null | object"},"success":{"type":"object","properties":{"check_script":{"oneOf":[{"type":"string","description":"Runs on the machine (elevated, as the signed-in user) and prints `True` once the problem is fixed. It must print `False` before the task, or the attempt is an `error`. The agent’s final answer is in the `GH_AGENT_ANSWER` environment variable, and `GH_CHECK_PHASE` is `before` or `after` the task.","maxLength":100000,"uniqueKey":"success.check_script.oneOf.0","typeLabel":"string"},{"type":"null","description":"Runs on the machine (elevated, as the signed-in user) and prints `True` once the problem is fixed. It must print `False` before the task, or the attempt is an `error`. The agent’s final answer is in the `GH_AGENT_ANSWER` environment variable, and `GH_CHECK_PHASE` is `before` or `after` the task.","maxLength":100000,"uniqueKey":"success.check_script.oneOf.1","typeLabel":"null"},{"type":"object","description":"Runs on the machine (elevated, as the signed-in user) and prints `True` once the problem is fixed. It must print `False` before the task, or the attempt is an `error`. The agent’s final answer is in the `GH_AGENT_ANSWER` environment variable, and `GH_CHECK_PHASE` is `before` or `after` the task.","required":["base64"],"properties":{"base64":{"type":"string","isRequired":true,"uniqueKey":"success.check_script.oneOf.2.base64","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"success.check_script.oneOf.2","typeLabel":"object"}],"uniqueKey":"success.check_script","typeLabel":"string | null | object"},"rubric":{"oneOf":[{"type":"string","maxLength":8000,"description":"What a fix looks like, in plain language. A model judges it from the recorded conversation and the first and last screens.","uniqueKey":"success.rubric.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":8000,"description":"What a fix looks like, in plain language. A model judges it from the recorded conversation and the first and last screens.","uniqueKey":"success.rubric.oneOf.1","typeLabel":"null"}],"uniqueKey":"success.rubric","typeLabel":"string | null"}},"description":"How to tell the problem is fixed: a `check_script`, a `rubric`, or both (an attempt passes only when each one it has passes). At least one.","uniqueKey":"success","typeLabel":"object"},"customer":{"oneOf":[{"type":"object","description":"The simulated customer. Null: the test set’s `customer`, else a built-in default.","properties":{"persona":{"type":"string","example":"Retired teacher. Not technical. Short, polite answers.","description":"Who they are and how they answer.","uniqueKey":"customer.oneOf.0.persona","typeLabel":"string"},"facts":{"type":"object","maxProperties":50,"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"customer.oneOf.0.facts.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"A secret: the simulated customer’s model only sees its name, and can type it into the focused field.","required":["secret"],"properties":{"secret":{"type":"string","isRequired":true,"uniqueKey":"customer.oneOf.0.facts.additionalProperties.oneOf.1.secret","typeLabel":"string"}},"uniqueKey":"customer.oneOf.0.facts.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"customer.oneOf.0.facts.additionalProperties","typeLabel":"string | object"},"description":"What the customer knows, by name (up to 50). A `{ \"secret\": … }` value is never shown to the model: the customer can only type it into the field that has focus.","example":{"Wi-Fi network":"HomeNet","Wi-Fi password":{"secret":"blue-kite-42"}},"uniqueKey":"customer.oneOf.0.facts","typeLabel":"object"},"clicks_admin_prompts":{"type":"boolean","description":"When the agent asks, the customer clicks Yes on an admin (UAC) prompt.","uniqueKey":"customer.oneOf.0.clicks_admin_prompts","typeLabel":"boolean"},"does_steps":{"type":"boolean","description":"The customer does steps themselves when the agent asks. When false, they ask the agent to do it.","uniqueKey":"customer.oneOf.0.does_steps","typeLabel":"boolean"}},"uniqueKey":"customer.oneOf.0","typeLabel":"object"},{"type":"null","description":"The simulated customer. Null: the test set’s `customer`, else a built-in default.","uniqueKey":"customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer","typeLabel":"object | null"},"operator":{"type":"object","properties":{"approvals":{"type":"string","enum":["approve","deny"],"description":"How the agent’s approval requests are decided during the test.","uniqueKey":"operator.approvals","typeLabel":"enum\u003cstring>"}},"uniqueKey":"operator","typeLabel":"object"},"limits":{"type":"object","properties":{"minutes":{"type":"integer","minimum":1,"maximum":60,"default":10,"description":"The task is stopped after this many minutes (1 to 60).","uniqueKey":"limits.minutes","typeLabel":"integer"},"steps":{"oneOf":[{"type":"integer","minimum":1,"maximum":500,"description":"Model turns (1 to 500). Null: the agent’s own `guardrails.max_steps`.","uniqueKey":"limits.steps.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":500,"description":"Model turns (1 to 500). Null: the agent’s own `guardrails.max_steps`.","uniqueKey":"limits.steps.oneOf.1","typeLabel":"null"}],"uniqueKey":"limits.steps","typeLabel":"integer | null"}},"uniqueKey":"limits","typeLabel":"object"},"runs_on":{"type":"string","example":"vm","description":"`chat`: a conversation with the agent, on Eager’s servers. `browser`: one task on a fresh cloud browser from `start_url`. `vm` (the default), or one of your runners’ labels: a desktop machine. Chat and browser cases are judged on the answer (`expected`, `success.rubric`) and whether it’s grounded; machine cases on `success.check_script` and/or the rubric.","uniqueKey":"runs_on","typeLabel":"string"},"category":{"oneOf":[{"type":"string","example":"Display \u0026 graphics","uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","example":"Display \u0026 graphics","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","maxLength":64,"uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"maxItems":50,"example":["uac"],"uniqueKey":"tags","typeLabel":"string[]"},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"maxProperties":50,"description":"Your own ids and labels (e.g. a ticket or customer id), returned as given.","example":{"customer_id":"cus_42"},"uniqueKey":"metadata","typeLabel":"object"},"expected":{"oneOf":[{"type":"string","maxLength":2000,"description":"Chat and browser cases: the right answer, in plain words. The judge passes an answer that has its facts. A chat or browser case needs `expected`, a rubric, or both.","uniqueKey":"expected.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":2000,"description":"Chat and browser cases: the right answer, in plain words. The judge passes an answer that has its facts. A chat or browser case needs `expected`, a rubric, or both.","uniqueKey":"expected.oneOf.1","typeLabel":"null"}],"uniqueKey":"expected","typeLabel":"string | null"},"messages":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":8000,"uniqueKey":"messages.items.[INDEX]","typeLabel":"string"},"description":"Chat cases: follow-up messages, sent in order after the prompt, each once the agent has replied.","uniqueKey":"messages","typeLabel":"string[]"},"start_url":{"oneOf":[{"type":"string","format":"uri","description":"Browser cases: where the browser opens.","uniqueKey":"start_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Browser cases: where the browser opens.","uniqueKey":"start_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"start_url","typeLabel":"string\u003curi> | null"},"must_visit":{"type":"array","maxItems":10,"items":{"type":"string","uniqueKey":"must_visit.items.[INDEX]","typeLabel":"string"},"description":"Chat and browser cases: sites the answer must come from, by host (`a.com|b.com` for either; subdomains count). An attempt that didn’t open one in a browser task fails, whatever the judge said.","example":["support.example.com|docs.example.com"],"uniqueKey":"must_visit","typeLabel":"string[]"},"procedure_id":{"oneOf":[{"type":"string","description":"The procedure this case checks (`prc_…`, one of the agent's procedures). The procedure then shows its evals: its latest run of them, and whether that run tested its current revision.","example":"prc_4mJx0aQe1","uniqueKey":"procedure_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The procedure this case checks (`prc_…`, one of the agent's procedures). The procedure then shows its evals: its latest run of them, and whether that run tested its current revision.","example":"prc_4mJx0aQe1","uniqueKey":"procedure_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"procedure_id","typeLabel":"string | null"},"inputs":{"type":"array","maxItems":50,"items":{"type":"object","maxProperties":20,"additionalProperties":{"type":"string","maxLength":1000,"uniqueKey":"inputs.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"inputs.items.[INDEX]","typeLabel":"object"},"description":"Sets of values for the case's `{placeholders}` (a procedure's dynamic variables, like `{mtm}`): names are letters, digits and `_`. Each set runs as its own tries (a run's tries per case are multiplied by the sets): `{name}` in `prompt`, `messages`, `expected`, `success.rubric` and `start_url` is filled from the set, and the simulated customer knows the set as facts.","example":[{"mtm":"20XW","region":"UK"},{"mtm":"21DE","region":"US"}],"uniqueKey":"inputs","typeLabel":"object[]"},"objects":{"type":"array","items":{"type":"string","uniqueKey":"objects.items.[INDEX]","typeLabel":"string"},"description":"Ids of the AI ontology's objects (types and kinds) the case exercises, like `device` or `post_warranty`. Left out, the ontology fills it in within a minute: from the procedure the case is tied to, else by reading the case. Results of a run are also grouped by them (`by_object`).","uniqueKey":"objects","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"key":"DSP-01","name":"Apps switched to dark mode","prompt":"All my windows suddenly went black. How do I get the white back?","start_state":"win10-22h2","setup_script":"\u003cstring>","success":{"check_script":"\u003cstring>","rubric":"\u003cstring>"},"customer":{"persona":"Retired teacher. Not technical. Short, polite answers.","facts":{"Wi-Fi network":"HomeNet","Wi-Fi password":{"secret":"blue-kite-42"}},"clicks_admin_prompts":true,"does_steps":true},"operator":{},"limits":{"minutes":10,"steps":250},"runs_on":"vm","category":"Display \u0026 graphics","tags":["uac"],"metadata":{"customer_id":"cus_42"},"expected":"\u003cstring>","messages":["\u003cstring>"],"start_url":"\u003cstring>","must_visit":["support.example.com|docs.example.com"],"procedure_id":"prc_4mJx0aQe1","inputs":[{"mtm":"20XW","region":"UK"},{"mtm":"21DE","region":"US"}],"objects":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"59d5f42e-4347-475c-9f6d-21fee3926ca8":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"A request to test an agent on, and how to tell the answer or fix is right: a chat, a browser task, or a problem on a desktop machine (`runs_on`).","properties":{"object":{"const":"test_case","uniqueKey":"object","typeLabel":"any"},"test_case_id":{"type":"string","example":"tc_8Kq2mZ0aLp4x","uniqueKey":"test_case_id","typeLabel":"string"},"key":{"oneOf":[{"type":"string","pattern":"^(?!tc_)[A-Za-z0-9._-]{1,64}$","example":"DSP-01","description":"Your own id for the case, unique in the org: 1 to 64 of `A-Za-z0-9._-`, not starting with `tc_`. Every `{test_case_id}` in the API also takes it.","uniqueKey":"key.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^(?!tc_)[A-Za-z0-9._-]{1,64}$","example":"DSP-01","description":"Your own id for the case, unique in the org: 1 to 64 of `A-Za-z0-9._-`, not starting with `tc_`. Every `{test_case_id}` in the API also takes it.","uniqueKey":"key.oneOf.1","typeLabel":"null"}],"uniqueKey":"key","typeLabel":"string | null"},"name":{"type":"string","minLength":1,"maxLength":200,"example":"Apps switched to dark mode","uniqueKey":"name","typeLabel":"string"},"prompt":{"type":"string","minLength":1,"maxLength":8000,"example":"All my windows suddenly went black. How do I get the white back?","description":"Chat cases: the person’s first message. Browser and machine cases: the task’s prompt.","uniqueKey":"prompt","typeLabel":"string"},"start_state":{"type":"string","example":"win10-22h2","description":"Desktop machine cases (required for them): the machine each try starts from. Null for chat and browser cases.","uniqueKey":"start_state","typeLabel":"string"},"setup_script":{"oneOf":[{"type":"string","maxLength":100000,"description":"Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.","uniqueKey":"setup_script.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100000,"description":"Runs at the start of every try, elevated, as the signed-in user: it breaks the machine the way the case needs.","uniqueKey":"setup_script.oneOf.1","typeLabel":"null"}],"uniqueKey":"setup_script","typeLabel":"string | null"},"success":{"type":"object","properties":{"check_script":{"oneOf":[{"type":"string","maxLength":100000,"description":"Runs on the machine (elevated, as the signed-in user) and prints `True` once the problem is fixed. It must print `False` before the task, or the attempt is an `error`. The agent’s final answer is in the `GH_AGENT_ANSWER` environment variable, and `GH_CHECK_PHASE` is `before` or `after` the task.","uniqueKey":"success.check_script.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100000,"description":"Runs on the machine (elevated, as the signed-in user) and prints `True` once the problem is fixed. It must print `False` before the task, or the attempt is an `error`. The agent’s final answer is in the `GH_AGENT_ANSWER` environment variable, and `GH_CHECK_PHASE` is `before` or `after` the task.","uniqueKey":"success.check_script.oneOf.1","typeLabel":"null"}],"uniqueKey":"success.check_script","typeLabel":"string | null"},"rubric":{"oneOf":[{"type":"string","maxLength":8000,"description":"What a fix looks like, in plain language. A model judges it from the recorded conversation and the first and last screens.","uniqueKey":"success.rubric.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":8000,"description":"What a fix looks like, in plain language. A model judges it from the recorded conversation and the first and last screens.","uniqueKey":"success.rubric.oneOf.1","typeLabel":"null"}],"uniqueKey":"success.rubric","typeLabel":"string | null"}},"description":"How to tell the problem is fixed. An attempt passes only when each one it has passes.","uniqueKey":"success","typeLabel":"object"},"customer":{"oneOf":[{"type":"object","description":"The simulated customer. Null: the test set’s `customer`, else a built-in default.","properties":{"persona":{"type":"string","example":"Retired teacher. Not technical. Short, polite answers.","description":"Who they are and how they answer.","uniqueKey":"customer.oneOf.0.persona","typeLabel":"string"},"facts":{"type":"object","maxProperties":50,"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"customer.oneOf.0.facts.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"A secret: the simulated customer’s model only sees its name, and can type it into the focused field.","required":["secret"],"properties":{"secret":{"type":"string","isRequired":true,"uniqueKey":"customer.oneOf.0.facts.additionalProperties.oneOf.1.secret","typeLabel":"string"}},"uniqueKey":"customer.oneOf.0.facts.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"customer.oneOf.0.facts.additionalProperties","typeLabel":"string | object"},"description":"What the customer knows, by name (up to 50). A `{ \"secret\": … }` value is never shown to the model: the customer can only type it into the field that has focus.","example":{"Wi-Fi network":"HomeNet","Wi-Fi password":{"secret":"blue-kite-42"}},"uniqueKey":"customer.oneOf.0.facts","typeLabel":"object"},"clicks_admin_prompts":{"type":"boolean","description":"When the agent asks, the customer clicks Yes on an admin (UAC) prompt.","uniqueKey":"customer.oneOf.0.clicks_admin_prompts","typeLabel":"boolean"},"does_steps":{"type":"boolean","description":"The customer does steps themselves when the agent asks. When false, they ask the agent to do it.","uniqueKey":"customer.oneOf.0.does_steps","typeLabel":"boolean"}},"uniqueKey":"customer.oneOf.0","typeLabel":"object"},{"type":"null","description":"The simulated customer. Null: the test set’s `customer`, else a built-in default.","uniqueKey":"customer.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer","typeLabel":"object | null"},"operator":{"type":"object","properties":{"approvals":{"type":"string","enum":["approve","deny"],"description":"How the agent’s approval requests are decided during the test.","uniqueKey":"operator.approvals","typeLabel":"enum\u003cstring>"}},"uniqueKey":"operator","typeLabel":"object"},"limits":{"type":"object","properties":{"minutes":{"type":"integer","minimum":1,"maximum":60,"default":10,"description":"The task is stopped after this many minutes (1 to 60).","uniqueKey":"limits.minutes","typeLabel":"integer"},"steps":{"oneOf":[{"type":"integer","minimum":1,"maximum":500,"description":"Model turns (1 to 500). Null: the agent’s own `guardrails.max_steps`.","uniqueKey":"limits.steps.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":500,"description":"Model turns (1 to 500). Null: the agent’s own `guardrails.max_steps`.","uniqueKey":"limits.steps.oneOf.1","typeLabel":"null"}],"uniqueKey":"limits.steps","typeLabel":"integer | null"}},"uniqueKey":"limits","typeLabel":"object"},"runs_on":{"type":"string","example":"vm","description":"`chat`: a conversation with the agent, on Eager’s servers. `browser`: one task on a fresh cloud browser from `start_url`. `vm` (the default), or one of your runners’ labels: a desktop machine. Chat and browser cases are judged on the answer (`expected`, `success.rubric`) and whether it’s grounded; machine cases on `success.check_script` and/or the rubric.","uniqueKey":"runs_on","typeLabel":"string"},"category":{"oneOf":[{"type":"string","example":"Display \u0026 graphics","uniqueKey":"category.oneOf.0","typeLabel":"string"},{"type":"null","example":"Display \u0026 graphics","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","maxLength":64,"uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"maxItems":50,"example":["uac"],"uniqueKey":"tags","typeLabel":"string[]"},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"maxProperties":50,"description":"Your own ids and labels (e.g. a ticket or customer id), returned as given.","example":{"customer_id":"cus_42"},"uniqueKey":"metadata","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"must_visit":{"type":"array","maxItems":10,"items":{"type":"string","uniqueKey":"must_visit.items.[INDEX]","typeLabel":"string"},"description":"Chat and browser cases: sites the answer must come from, by host (`a.com|b.com` for either; subdomains count). An attempt that didn’t open one in a browser task fails, whatever the judge said.","example":["support.example.com|docs.example.com"],"uniqueKey":"must_visit","typeLabel":"string[]"},"expected":{"oneOf":[{"type":"string","maxLength":2000,"description":"Chat and browser cases: the right answer, in plain words. The judge passes an answer that has its facts. A chat or browser case needs `expected`, a rubric, or both.","uniqueKey":"expected.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":2000,"description":"Chat and browser cases: the right answer, in plain words. The judge passes an answer that has its facts. A chat or browser case needs `expected`, a rubric, or both.","uniqueKey":"expected.oneOf.1","typeLabel":"null"}],"uniqueKey":"expected","typeLabel":"string | null"},"messages":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":8000,"uniqueKey":"messages.items.[INDEX]","typeLabel":"string"},"description":"Chat cases: follow-up messages, sent in order after the prompt, each once the agent has replied.","uniqueKey":"messages","typeLabel":"string[]"},"start_url":{"oneOf":[{"type":"string","format":"uri","description":"Browser cases: where the browser opens.","uniqueKey":"start_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Browser cases: where the browser opens.","uniqueKey":"start_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"start_url","typeLabel":"string\u003curi> | null"},"procedure_id":{"oneOf":[{"type":"string","description":"The procedure this case checks (`prc_…`, one of the agent's procedures). The procedure then shows its evals: its latest run of them, and whether that run tested its current revision.","example":"prc_4mJx0aQe1","uniqueKey":"procedure_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The procedure this case checks (`prc_…`, one of the agent's procedures). The procedure then shows its evals: its latest run of them, and whether that run tested its current revision.","example":"prc_4mJx0aQe1","uniqueKey":"procedure_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"procedure_id","typeLabel":"string | null"},"inputs":{"type":"array","maxItems":50,"items":{"type":"object","maxProperties":20,"additionalProperties":{"type":"string","maxLength":1000,"uniqueKey":"inputs.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"inputs.items.[INDEX]","typeLabel":"object"},"description":"Sets of values for the case's `{placeholders}` (a procedure's dynamic variables, like `{mtm}`): names are letters, digits and `_`. Each set runs as its own tries (a run's tries per case are multiplied by the sets): `{name}` in `prompt`, `messages`, `expected`, `success.rubric` and `start_url` is filled from the set, and the simulated customer knows the set as facts.","example":[{"mtm":"20XW","region":"UK"},{"mtm":"21DE","region":"US"}],"uniqueKey":"inputs","typeLabel":"object[]"},"objects":{"type":"array","items":{"type":"string","uniqueKey":"objects.items.[INDEX]","typeLabel":"string"},"description":"Ids of the AI ontology's objects (types and kinds) the case exercises, like `device` or `post_warranty`. Left out, the ontology fills it in within a minute: from the procedure the case is tied to, else by reading the case. Results of a run are also grouped by them (`by_object`).","uniqueKey":"objects","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"test_case","test_case_id":"tc_8Kq2mZ0aLp4x","key":"DSP-01","name":"Apps switched to dark mode","prompt":"All my windows suddenly went black. How do I get the white back?","start_state":"win10-22h2","setup_script":"\u003cstring>","success":{"check_script":"\u003cstring>","rubric":"\u003cstring>"},"customer":{"persona":"Retired teacher. Not technical. Short, polite answers.","facts":{"Wi-Fi network":"HomeNet","Wi-Fi password":{"secret":"blue-kite-42"}},"clicks_admin_prompts":true,"does_steps":true},"operator":{"approvals":"approve"},"limits":{"minutes":10,"steps":250},"runs_on":"vm","category":"Display \u0026 graphics","tags":["uac"],"metadata":{"customer_id":"cus_42"},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","must_visit":["support.example.com|docs.example.com"],"expected":"\u003cstring>","messages":["\u003cstring>"],"start_url":"\u003cstring>","procedure_id":"prc_4mJx0aQe1","inputs":[{"mtm":"20XW","region":"UK"},{"mtm":"21DE","region":"US"}],"objects":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"c73e5447-d810-4238-a51e-24c97270fcc1":{"description":"The request is invalid.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication","payment_required","permission","not_found","conflict","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Why it was refused, when there’s more to say than the status. Starting a task or a chat reply: `insufficient_balance`, `auto_topup_limit_reached` or `card_needs_attention` (402: the balance is empty and auto top-up can’t add funds; add funds, raise the auto top-up limit, or update the card), `concurrency_limit` (429), `model_unavailable` (503: the agent’s `model` can’t run on this server; choose another). Deciding a conversation’s request: `already_decided` (409: someone decided or answered it first; see `decided_by`) or `not_pending` (409: its task has ended, so nothing would act on it). POST /v1/tasks/{task_id}/respond: `decide_in_conversation` (409: decide it in the task’s conversation; see `conversation_id`, `agent_id`, and `approval_id` or `question_id`). Deleting a start state that test cases use: `in_use` (409, with `test_case_ids`).","uniqueKey":"error.code","typeLabel":"string"},"test_case_ids":{"type":"array","items":{"type":"string","uniqueKey":"error.test_case_ids.items.[INDEX]","typeLabel":"string"},"description":"With `in_use`: the test cases that use the start state.","uniqueKey":"error.test_case_ids","typeLabel":"string[]"},"decided_by":{"type":"object","description":"With `already_decided`: who decided first.","required":["type"],"properties":{"type":{"type":"string","enum":["person","team","auto","refused","timeout","operator","moved_on"],"description":"`person`: the person in the chat (in the Eager app, or a visitor to your website’s widget), when the agent lets them (`customer_approvals`, `customer_answers`) and the request isn’t for your team only. `team`: a member in the console (`email`) or an API key (`key_id`). `auto`: the agent’s guardrails approve without asking (`mode: auto`). `refused`: its guardrails refuse (`mode: unattended`). `timeout`: nobody decided within its `approval_timeout_minutes`. `operator`: an eval case’s operator. `moved_on`: the person sent a new message instead, so it was declined.","isRequired":true,"uniqueKey":"error.decided_by.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","description":"`team`: the member who decided.","uniqueKey":"error.decided_by.email","typeLabel":"string"},"key_id":{"type":"string","description":"`team`: the API key that decided.","uniqueKey":"error.decided_by.key_id","typeLabel":"string"}},"uniqueKey":"error.decided_by","typeLabel":"object"},"conversation_id":{"type":"string","description":"With `decide_in_conversation`: the conversation to decide it in (POST /v1/conversations/{conversation_id}/decisions).","uniqueKey":"error.conversation_id","typeLabel":"string"},"agent_id":{"oneOf":[{"type":"string","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.agent_id","typeLabel":"string | null"},"approval_id":{"type":"string","description":"With `decide_in_conversation`: the approval to decide.","uniqueKey":"error.approval_id","typeLabel":"string"},"question_id":{"type":"string","description":"With `decide_in_conversation`: the question to answer.","uniqueKey":"error.question_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"\u003cstring>","code":"\u003cstring>","test_case_ids":["\u003cstring>"],"decided_by":{"type":"person","email":"\u003cstring>","key_id":"\u003cstring>"},"conversation_id":"\u003cstring>","agent_id":"\u003cstring>","approval_id":"\u003cstring>","question_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"50bd0275-60b9-4c06-8679-fd1445ade8bf":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication","payment_required","permission","not_found","conflict","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Why it was refused, when there’s more to say than the status. Starting a task or a chat reply: `insufficient_balance`, `auto_topup_limit_reached` or `card_needs_attention` (402: the balance is empty and auto top-up can’t add funds; add funds, raise the auto top-up limit, or update the card), `concurrency_limit` (429), `model_unavailable` (503: the agent’s `model` can’t run on this server; choose another). Deciding a conversation’s request: `already_decided` (409: someone decided or answered it first; see `decided_by`) or `not_pending` (409: its task has ended, so nothing would act on it). POST /v1/tasks/{task_id}/respond: `decide_in_conversation` (409: decide it in the task’s conversation; see `conversation_id`, `agent_id`, and `approval_id` or `question_id`). Deleting a start state that test cases use: `in_use` (409, with `test_case_ids`).","uniqueKey":"error.code","typeLabel":"string"},"test_case_ids":{"type":"array","items":{"type":"string","uniqueKey":"error.test_case_ids.items.[INDEX]","typeLabel":"string"},"description":"With `in_use`: the test cases that use the start state.","uniqueKey":"error.test_case_ids","typeLabel":"string[]"},"decided_by":{"type":"object","description":"With `already_decided`: who decided first.","required":["type"],"properties":{"type":{"type":"string","enum":["person","team","auto","refused","timeout","operator","moved_on"],"description":"`person`: the person in the chat (in the Eager app, or a visitor to your website’s widget), when the agent lets them (`customer_approvals`, `customer_answers`) and the request isn’t for your team only. `team`: a member in the console (`email`) or an API key (`key_id`). `auto`: the agent’s guardrails approve without asking (`mode: auto`). `refused`: its guardrails refuse (`mode: unattended`). `timeout`: nobody decided within its `approval_timeout_minutes`. `operator`: an eval case’s operator. `moved_on`: the person sent a new message instead, so it was declined.","isRequired":true,"uniqueKey":"error.decided_by.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","description":"`team`: the member who decided.","uniqueKey":"error.decided_by.email","typeLabel":"string"},"key_id":{"type":"string","description":"`team`: the API key that decided.","uniqueKey":"error.decided_by.key_id","typeLabel":"string"}},"uniqueKey":"error.decided_by","typeLabel":"object"},"conversation_id":{"type":"string","description":"With `decide_in_conversation`: the conversation to decide it in (POST /v1/conversations/{conversation_id}/decisions).","uniqueKey":"error.conversation_id","typeLabel":"string"},"agent_id":{"oneOf":[{"type":"string","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.agent_id","typeLabel":"string | null"},"approval_id":{"type":"string","description":"With `decide_in_conversation`: the approval to decide.","uniqueKey":"error.approval_id","typeLabel":"string"},"question_id":{"type":"string","description":"With `decide_in_conversation`: the question to answer.","uniqueKey":"error.question_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"\u003cstring>","code":"\u003cstring>","test_case_ids":["\u003cstring>"],"decided_by":{"type":"person","email":"\u003cstring>","key_id":"\u003cstring>"},"conversation_id":"\u003cstring>","agent_id":"\u003cstring>","approval_id":"\u003cstring>","question_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"73eb7535-7b83-4ff5-aceb-8a306b7e7458":{"description":"Your role can’t do this.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication","payment_required","permission","not_found","conflict","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Why it was refused, when there’s more to say than the status. Starting a task or a chat reply: `insufficient_balance`, `auto_topup_limit_reached` or `card_needs_attention` (402: the balance is empty and auto top-up can’t add funds; add funds, raise the auto top-up limit, or update the card), `concurrency_limit` (429), `model_unavailable` (503: the agent’s `model` can’t run on this server; choose another). Deciding a conversation’s request: `already_decided` (409: someone decided or answered it first; see `decided_by`) or `not_pending` (409: its task has ended, so nothing would act on it). POST /v1/tasks/{task_id}/respond: `decide_in_conversation` (409: decide it in the task’s conversation; see `conversation_id`, `agent_id`, and `approval_id` or `question_id`). Deleting a start state that test cases use: `in_use` (409, with `test_case_ids`).","uniqueKey":"error.code","typeLabel":"string"},"test_case_ids":{"type":"array","items":{"type":"string","uniqueKey":"error.test_case_ids.items.[INDEX]","typeLabel":"string"},"description":"With `in_use`: the test cases that use the start state.","uniqueKey":"error.test_case_ids","typeLabel":"string[]"},"decided_by":{"type":"object","description":"With `already_decided`: who decided first.","required":["type"],"properties":{"type":{"type":"string","enum":["person","team","auto","refused","timeout","operator","moved_on"],"description":"`person`: the person in the chat (in the Eager app, or a visitor to your website’s widget), when the agent lets them (`customer_approvals`, `customer_answers`) and the request isn’t for your team only. `team`: a member in the console (`email`) or an API key (`key_id`). `auto`: the agent’s guardrails approve without asking (`mode: auto`). `refused`: its guardrails refuse (`mode: unattended`). `timeout`: nobody decided within its `approval_timeout_minutes`. `operator`: an eval case’s operator. `moved_on`: the person sent a new message instead, so it was declined.","isRequired":true,"uniqueKey":"error.decided_by.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","description":"`team`: the member who decided.","uniqueKey":"error.decided_by.email","typeLabel":"string"},"key_id":{"type":"string","description":"`team`: the API key that decided.","uniqueKey":"error.decided_by.key_id","typeLabel":"string"}},"uniqueKey":"error.decided_by","typeLabel":"object"},"conversation_id":{"type":"string","description":"With `decide_in_conversation`: the conversation to decide it in (POST /v1/conversations/{conversation_id}/decisions).","uniqueKey":"error.conversation_id","typeLabel":"string"},"agent_id":{"oneOf":[{"type":"string","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.agent_id","typeLabel":"string | null"},"approval_id":{"type":"string","description":"With `decide_in_conversation`: the approval to decide.","uniqueKey":"error.approval_id","typeLabel":"string"},"question_id":{"type":"string","description":"With `decide_in_conversation`: the question to answer.","uniqueKey":"error.question_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"\u003cstring>","code":"\u003cstring>","test_case_ids":["\u003cstring>"],"decided_by":{"type":"person","email":"\u003cstring>","key_id":"\u003cstring>"},"conversation_id":"\u003cstring>","agent_id":"\u003cstring>","approval_id":"\u003cstring>","question_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9586e8d1-921c-446e-b66d-b10400b96546":{"description":"Not found in this org.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication","payment_required","permission","not_found","conflict","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Why it was refused, when there’s more to say than the status. Starting a task or a chat reply: `insufficient_balance`, `auto_topup_limit_reached` or `card_needs_attention` (402: the balance is empty and auto top-up can’t add funds; add funds, raise the auto top-up limit, or update the card), `concurrency_limit` (429), `model_unavailable` (503: the agent’s `model` can’t run on this server; choose another). Deciding a conversation’s request: `already_decided` (409: someone decided or answered it first; see `decided_by`) or `not_pending` (409: its task has ended, so nothing would act on it). POST /v1/tasks/{task_id}/respond: `decide_in_conversation` (409: decide it in the task’s conversation; see `conversation_id`, `agent_id`, and `approval_id` or `question_id`). Deleting a start state that test cases use: `in_use` (409, with `test_case_ids`).","uniqueKey":"error.code","typeLabel":"string"},"test_case_ids":{"type":"array","items":{"type":"string","uniqueKey":"error.test_case_ids.items.[INDEX]","typeLabel":"string"},"description":"With `in_use`: the test cases that use the start state.","uniqueKey":"error.test_case_ids","typeLabel":"string[]"},"decided_by":{"type":"object","description":"With `already_decided`: who decided first.","required":["type"],"properties":{"type":{"type":"string","enum":["person","team","auto","refused","timeout","operator","moved_on"],"description":"`person`: the person in the chat (in the Eager app, or a visitor to your website’s widget), when the agent lets them (`customer_approvals`, `customer_answers`) and the request isn’t for your team only. `team`: a member in the console (`email`) or an API key (`key_id`). `auto`: the agent’s guardrails approve without asking (`mode: auto`). `refused`: its guardrails refuse (`mode: unattended`). `timeout`: nobody decided within its `approval_timeout_minutes`. `operator`: an eval case’s operator. `moved_on`: the person sent a new message instead, so it was declined.","isRequired":true,"uniqueKey":"error.decided_by.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","description":"`team`: the member who decided.","uniqueKey":"error.decided_by.email","typeLabel":"string"},"key_id":{"type":"string","description":"`team`: the API key that decided.","uniqueKey":"error.decided_by.key_id","typeLabel":"string"}},"uniqueKey":"error.decided_by","typeLabel":"object"},"conversation_id":{"type":"string","description":"With `decide_in_conversation`: the conversation to decide it in (POST /v1/conversations/{conversation_id}/decisions).","uniqueKey":"error.conversation_id","typeLabel":"string"},"agent_id":{"oneOf":[{"type":"string","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.agent_id","typeLabel":"string | null"},"approval_id":{"type":"string","description":"With `decide_in_conversation`: the approval to decide.","uniqueKey":"error.approval_id","typeLabel":"string"},"question_id":{"type":"string","description":"With `decide_in_conversation`: the question to answer.","uniqueKey":"error.question_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"\u003cstring>","code":"\u003cstring>","test_case_ids":["\u003cstring>"],"decided_by":{"type":"person","email":"\u003cstring>","key_id":"\u003cstring>"},"conversation_id":"\u003cstring>","agent_id":"\u003cstring>","approval_id":"\u003cstring>","question_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5dd6d3d7-6186-4eb0-b76f-0959592e3953":{"description":"Conflicts with the current state (e.g. no computer connected, a task already running, nothing pending, no draft to publish, an agent’s file limits).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request","authentication","payment_required","permission","not_found","conflict","rate_limit","server_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Why it was refused, when there’s more to say than the status. Starting a task or a chat reply: `insufficient_balance`, `auto_topup_limit_reached` or `card_needs_attention` (402: the balance is empty and auto top-up can’t add funds; add funds, raise the auto top-up limit, or update the card), `concurrency_limit` (429), `model_unavailable` (503: the agent’s `model` can’t run on this server; choose another). Deciding a conversation’s request: `already_decided` (409: someone decided or answered it first; see `decided_by`) or `not_pending` (409: its task has ended, so nothing would act on it). POST /v1/tasks/{task_id}/respond: `decide_in_conversation` (409: decide it in the task’s conversation; see `conversation_id`, `agent_id`, and `approval_id` or `question_id`). Deleting a start state that test cases use: `in_use` (409, with `test_case_ids`).","uniqueKey":"error.code","typeLabel":"string"},"test_case_ids":{"type":"array","items":{"type":"string","uniqueKey":"error.test_case_ids.items.[INDEX]","typeLabel":"string"},"description":"With `in_use`: the test cases that use the start state.","uniqueKey":"error.test_case_ids","typeLabel":"string[]"},"decided_by":{"type":"object","description":"With `already_decided`: who decided first.","required":["type"],"properties":{"type":{"type":"string","enum":["person","team","auto","refused","timeout","operator","moved_on"],"description":"`person`: the person in the chat (in the Eager app, or a visitor to your website’s widget), when the agent lets them (`customer_approvals`, `customer_answers`) and the request isn’t for your team only. `team`: a member in the console (`email`) or an API key (`key_id`). `auto`: the agent’s guardrails approve without asking (`mode: auto`). `refused`: its guardrails refuse (`mode: unattended`). `timeout`: nobody decided within its `approval_timeout_minutes`. `operator`: an eval case’s operator. `moved_on`: the person sent a new message instead, so it was declined.","isRequired":true,"uniqueKey":"error.decided_by.type","typeLabel":"enum\u003cstring>"},"email":{"type":"string","description":"`team`: the member who decided.","uniqueKey":"error.decided_by.email","typeLabel":"string"},"key_id":{"type":"string","description":"`team`: the API key that decided.","uniqueKey":"error.decided_by.key_id","typeLabel":"string"}},"uniqueKey":"error.decided_by","typeLabel":"object"},"conversation_id":{"type":"string","description":"With `decide_in_conversation`: the conversation to decide it in (POST /v1/conversations/{conversation_id}/decisions).","uniqueKey":"error.conversation_id","typeLabel":"string"},"agent_id":{"oneOf":[{"type":"string","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"With `decide_in_conversation`: the task’s agent (null for a task run without one).","uniqueKey":"error.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.agent_id","typeLabel":"string | null"},"approval_id":{"type":"string","description":"With `decide_in_conversation`: the approval to decide.","uniqueKey":"error.approval_id","typeLabel":"string"},"question_id":{"type":"string","description":"With `decide_in_conversation`: the question to answer.","uniqueKey":"error.question_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","message":"\u003cstring>","code":"\u003cstring>","test_case_ids":["\u003cstring>"],"decided_by":{"type":"person","email":"\u003cstring>","key_id":"\u003cstring>"},"conversation_id":"\u003cstring>","agent_id":"\u003cstring>","approval_id":"\u003cstring>","question_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b7dc2e34-e115-48f8-8277-e038e1a9c6ba":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An org API key (`gh_live_…`) from Settings → API keys in the console.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"14b7dee2-f214-4296-9ac6-5ad72db96b21":{"url":"https://guidinghand.ai","description":"Production"},"81a5e160-ba9c-4608-9f6a-3180311324af":{"url":"https://dev.guidinghand.ai","description":"Development (Stripe test mode)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An org API key (`gh_live_…`) from Settings → API keys in the console.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An org API key (`gh_live_…`) from Settings → API keys in the console.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"guiding-hand","siteName":"Eager","title":"Update a test case - Eager","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T14:45:35.663Z","originalFileLocation":"api-reference/test-cases/update-a-test-case.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=\"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eager\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_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/guiding-hand/d699KjTsEa_7cIfs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a test case - Eager\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eager\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://guiding-hand.mintlify.site/_mintlify/api/og/v2?division=Test+cases\u0026amp;title=Update+a+test+case\u0026amp;description=Send+only+the+fields+to+change.+Runs+already+made+keep+the+copy+they+took.+Needs+the+admin+role+or+an+API+key.\u0026amp;theme=03f9eed0b7d41f5664fb7306\u0026amp;signature=96b1d31c831545e75f8cf391d4d14ec9e6b826addc34d675ae58611d725f6117\">\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 a test case - Eager\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://guiding-hand.mintlify.site/_mintlify/api/og/v2?division=Test+cases\u0026amp;title=Update+a+test+case\u0026amp;description=Send+only+the+fields+to+change.+Runs+already+made+keep+the+copy+they+took.+Needs+the+admin+role+or+an+API+key.\u0026amp;theme=03f9eed0b7d41f5664fb7306\u0026amp;signature=96b1d31c831545e75f8cf391d4d14ec9e6b826addc34d675ae58611d725f6117\">\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/guiding-hand/d699KjTsEa_7cIfs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eager\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#183B2B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case\">\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-cases/update-a-test-case.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.guidinghand.ai/#organization\",\"name\":\"Eager\",\"url\":\"https://docs.guidinghand.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/guiding-hand/lgKNkM-YLkSemq1m/logo/light.svg?fit=max\u0026auto=format\u0026n=lgKNkM-YLkSemq1m\u0026q=85\u0026s=e586dcc65be9b0c262b28f3c88841ebd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.guidinghand.ai#website\",\"name\":\"Eager\",\"url\":\"https://docs.guidinghand.ai\",\"publisher\":{\"@id\":\"https://docs.guidinghand.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case#webpage\",\"url\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case\",\"name\":\"Update a test case\",\"description\":\"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.\",\"dateModified\":\"2026-11-19T14:45:35.663Z\",\"isPartOf\":{\"@id\":\"https://docs.guidinghand.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://docs.guidinghand.ai/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Test cases\",\"item\":\"https://docs.guidinghand.ai/api-reference/test-cases/list-test-cases\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a test case\",\"item\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case#apireference\",\"headline\":\"Update a test case\",\"name\":\"Update a test case\",\"description\":\"Send only the fields to change. Runs already made keep the copy they took. Needs the admin role or an API key.\",\"url\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case\",\"mainEntityOfPage\":{\"@id\":\"https://docs.guidinghand.ai/api-reference/test-cases/update-a-test-case#webpage\"},\"dateModified\":\"2026-11-19T14:45:35.663Z\",\"publisher\":{\"@id\":\"https://docs.guidinghand.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.guidinghand.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eager\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Eager\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/test-cases/update-a-test-case.md","siteName":"Eager","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents","href":"/api-reference/agents/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents","href":"/api-reference/agents/create-an-agent"},{"title":"Get an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}","href":"/api-reference/agents/get-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agents/{agent_id}","href":"/api-reference/agents/delete-an-agent"},{"title":"Update and publish an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}","href":"/api-reference/agents/update-and-publish-an-agent"},{"title":"Get the draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/draft","href":"/api-reference/agents/get-the-draft"},{"title":"Discard the draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agents/{agent_id}/draft","href":"/api-reference/agents/discard-the-draft"},{"title":"Save a draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}/draft","href":"/api-reference/agents/save-a-draft"},{"title":"Publish the draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/publish","href":"/api-reference/agents/publish-the-draft"},{"title":"Duplicate an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/duplicate","href":"/api-reference/agents/duplicate-an-agent"},{"title":"Get the website widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/widget","href":"/api-reference/agents/get-the-website-widget"},{"title":"Change the website widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}/widget","href":"/api-reference/agents/change-the-website-widget"},{"title":"List versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/versions","href":"/api-reference/agents/list-versions"},{"title":"Get a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/versions/{version}","href":"/api-reference/agents/get-a-version"},{"title":"Restore a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/versions/{version}/restore","href":"/api-reference/agents/restore-a-version"},{"title":"Say a text in an agent’s voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/speech","href":"/api-reference/agents/say-a-text-in-an-agent’s-voice"},{"title":"Listen to a microphone for an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/listen","href":"/api-reference/agents/listen-to-a-microphone-for-an-agent"},{"title":"Open a speech socket for an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/speaking","href":"/api-reference/agents/open-a-speech-socket-for-an-agent"},{"title":"Get call recording","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/recording","href":"/api-reference/agents/get-call-recording"},{"title":"Change call recording","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}/recording","href":"/api-reference/agents/change-call-recording"},{"title":"Retell import: saved keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/imports/retell","href":"/api-reference/agents/retell-import:-saved-keys"},{"title":"Import an agent from Retell","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/imports/retell","href":"/api-reference/agents/import-an-agent-from-retell"},{"title":"List Retell agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/imports/retell/agents","href":"/api-reference/agents/list-retell-agents"}]},{"group":"Agent files","pages":[{"title":"List an agent’s files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/files","href":"/api-reference/agent-files/list-an-agent’s-files"},{"title":"Get a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/files/{path}","href":"/api-reference/agent-files/get-a-file"},{"title":"Write a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/agents/{agent_id}/files/{path}","href":"/api-reference/agent-files/write-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agents/{agent_id}/files/{path}","href":"/api-reference/agent-files/delete-a-file"},{"title":"List a file's earlier versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/file_revisions","href":"/api-reference/agent-files/list-a-files-earlier-versions"},{"title":"Get an earlier version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/file_revisions/{revision_id}","href":"/api-reference/agent-files/get-an-earlier-version"},{"title":"Restore an earlier version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/file_revisions/{revision_id}/restore","href":"/api-reference/agent-files/restore-an-earlier-version"}]},{"group":"Sessions","pages":[{"title":"List sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Create a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sessions","href":"/api-reference/sessions/create-a-session"},{"title":"Get a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/sessions/{session_id}","href":"/api-reference/sessions/get-a-session"},{"title":"Delete a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/sessions/{session_id}","href":"/api-reference/sessions/delete-a-session"},{"title":"Disconnect a session’s computer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sessions/{session_id}/disconnect","href":"/api-reference/sessions/disconnect-a-session’s-computer"},{"title":"Expire a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sessions/{session_id}/expire","href":"/api-reference/sessions/expire-a-session"},{"title":"Open a cloud browser","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sessions/{session_id}/open","href":"/api-reference/sessions/open-a-cloud-browser"},{"title":"Control a cloud browser","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sessions/{session_id}/input","href":"/api-reference/sessions/control-a-cloud-browser"}]},{"group":"Tasks","pages":[{"title":"Start a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/sessions/{session_id}/tasks","href":"/api-reference/tasks/start-a-task"},{"title":"List tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tasks/{task_id}","href":"/api-reference/tasks/get-a-task"},{"title":"Follow a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tasks/{task_id}/events","href":"/api-reference/tasks/follow-a-task"},{"title":"Answer a question or approval (moved to the conversation)","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks/{task_id}/respond","href":"/api-reference/tasks/answer-a-question-or-approval-moved-to-the-conversation"},{"title":"Stop a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks/{task_id}/stop","href":"/api-reference/tasks/stop-a-task"},{"title":"Get a task recording","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tasks/{task_id}/recording","href":"/api-reference/tasks/get-a-task-recording"},{"title":"Get a recorded screen","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tasks/{task_id}/recording/{seq}","href":"/api-reference/tasks/get-a-recorded-screen"}]},{"group":"Webhooks","pages":[{"title":"Get the webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhook","href":"/api-reference/webhooks/get-the-webhook-endpoint"},{"title":"Set the webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/webhook","href":"/api-reference/webhooks/set-the-webhook-endpoint"}]},{"group":"Test cases","pages":[{"title":"List test cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_cases","href":"/api-reference/test-cases/list-test-cases"},{"title":"Create a test case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_cases","href":"/api-reference/test-cases/create-a-test-case"},{"title":"Create or update test cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_cases/batch","href":"/api-reference/test-cases/create-or-update-test-cases"},{"title":"Get a test case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_cases/{test_case_id}","href":"/api-reference/test-cases/get-a-test-case"},{"title":"Delete a test case","description":"Removes it from its test sets. Runs already made keep the copy they took. Needs the admin role or an API key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/test_cases/{test_case_id}","href":"/api-reference/test-cases/delete-a-test-case"},{"title":"Update a test case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/test_cases/{test_case_id}","href":"/api-reference/test-cases/update-a-test-case"}]},{"group":"Test sets","pages":[{"title":"List test sets","description":"Newest first.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_sets","href":"/api-reference/test-sets/list-test-sets"},{"title":"Create a test set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_sets","href":"/api-reference/test-sets/create-a-test-set"},{"title":"Get a test set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_sets/{test_set_id}","href":"/api-reference/test-sets/get-a-test-set"},{"title":"Delete a test set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/test_sets/{test_set_id}","href":"/api-reference/test-sets/delete-a-test-set"},{"title":"Update a test set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/test_sets/{test_set_id}","href":"/api-reference/test-sets/update-a-test-set"},{"title":"Add cases to a test set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_sets/{test_set_id}/cases","href":"/api-reference/test-sets/add-cases-to-a-test-set"},{"title":"Remove a case from a test set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/test_sets/{test_set_id}/cases/{test_case_id}","href":"/api-reference/test-sets/remove-a-case-from-a-test-set"}]},{"group":"Test runs","pages":[{"title":"List test runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_runs","href":"/api-reference/test-runs/list-test-runs"},{"title":"Start a test run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_runs","href":"/api-reference/test-runs/start-a-test-run"},{"title":"Compare test runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_runs/compare","href":"/api-reference/test-runs/compare-test-runs"},{"title":"Get a test run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_runs/{test_run_id}","href":"/api-reference/test-runs/get-a-test-run"},{"title":"Delete a test run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/test_runs/{test_run_id}","href":"/api-reference/test-runs/delete-a-test-run"},{"title":"Cancel a test run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_runs/{test_run_id}/cancel","href":"/api-reference/test-runs/cancel-a-test-run"},{"title":"Rerun a test run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/test_runs/{test_run_id}/rerun","href":"/api-reference/test-runs/rerun-a-test-run"},{"title":"Get a test run's agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_runs/{test_run_id}/agents/{agent_id}","href":"/api-reference/test-runs/get-a-test-runs-agent"},{"title":"Get test run results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_runs/{test_run_id}/results","href":"/api-reference/test-runs/get-test-run-results"},{"title":"List test run attempts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/test_runs/{test_run_id}/attempts","href":"/api-reference/test-runs/list-test-run-attempts"},{"title":"Get an attempt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/attempts/{attempt_id}","href":"/api-reference/test-runs/get-an-attempt"}]},{"group":"Start states","pages":[{"title":"List start states","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/start_states","href":"/api-reference/start-states/list-start-states"},{"title":"Create a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/start_states","href":"/api-reference/start-states/create-a-start-state"},{"title":"Get a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/start_states/{start_state_id}","href":"/api-reference/start-states/get-a-start-state"},{"title":"Delete a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/start_states/{start_state_id}","href":"/api-reference/start-states/delete-a-start-state"},{"title":"Update a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/start_states/{start_state_id}","href":"/api-reference/start-states/update-a-start-state"},{"title":"Open a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/start_states/{start_state_id}/open","href":"/api-reference/start-states/open-a-start-state"},{"title":"Save a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/start_states/{start_state_id}/save","href":"/api-reference/start-states/save-a-start-state"},{"title":"Close a start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/start_states/{start_state_id}/close","href":"/api-reference/start-states/close-a-start-state"},{"title":"Screenshot an open start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/start_states/{start_state_id}/screen","href":"/api-reference/start-states/screenshot-an-open-start-state"},{"title":"Send input to an open start state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/start_states/{start_state_id}/input","href":"/api-reference/start-states/send-input-to-an-open-start-state"}]},{"group":"Runners","pages":[{"title":"List runners","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/runners","href":"/api-reference/runners/list-runners"},{"title":"Create a runner","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runners","href":"/api-reference/runners/create-a-runner"},{"title":"Delete a runner","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/runners/{runner_id}","href":"/api-reference/runners/delete-a-runner"}]},{"group":"Agent tools","pages":[{"title":"Get the tool signing secret","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /v1/tool_secret","href":"/api-reference/agent-tools/get-the-tool-signing-secret"},{"title":"Rotate the tool signing secret","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v1/tool_secret/rotate","href":"/api-reference/agent-tools/rotate-the-tool-signing-secret"},{"title":"Start an OAuth sign-in for an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/mcp_oauth/start","href":"/api-reference/agent-tools/start-an-oauth-sign-in-for-an-mcp-server"},{"title":"Get an OAuth sign-in","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/mcp_oauth/{secret_id}","href":"/api-reference/agent-tools/get-an-oauth-sign-in"},{"title":"List the connector library","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/connectors","href":"/api-reference/agent-tools/list-the-connector-library"},{"title":"List connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/connections","href":"/api-reference/agent-tools/list-connections"},{"title":"Create a connection with headers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/connections","href":"/api-reference/agent-tools/create-a-connection-with-headers"},{"title":"Get a connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/connections/{connection_id}","href":"/api-reference/agent-tools/get-a-connection"},{"title":"Disconnect a connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/connections/{connection_id}","href":"/api-reference/agent-tools/disconnect-a-connection"},{"title":"Rename a connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/connections/{connection_id}","href":"/api-reference/agent-tools/rename-a-connection"},{"title":"Get the chat apps","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/chat_apps","href":"/api-reference/agent-tools/get-the-chat-apps"},{"title":"Make a link code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat_apps/link_code","href":"/api-reference/agent-tools/make-a-link-code"},{"title":"Download the Teams app","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/chat_apps/teams/package","href":"/api-reference/agent-tools/download-the-teams-app"},{"title":"Start adding Eager to Slack","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat_apps/slack/install","href":"/api-reference/agent-tools/start-adding-eager-to-slack"},{"title":"Unlink a chat app workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/chat_apps/workspaces/{workspace_id}","href":"/api-reference/agent-tools/unlink-a-chat-app-workspace"},{"title":"Update a chat app workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/chat_apps/workspaces/{workspace_id}","href":"/api-reference/agent-tools/update-a-chat-app-workspace"},{"title":"List secrets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/secrets","href":"/api-reference/agent-tools/list-secrets"},{"title":"Create a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/secrets","href":"/api-reference/agent-tools/create-a-secret"},{"title":"Get a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/secrets/{name}","href":"/api-reference/agent-tools/get-a-secret"},{"title":"Delete a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/secrets/{name}","href":"/api-reference/agent-tools/delete-a-secret"},{"title":"Update a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/secrets/{name}","href":"/api-reference/agent-tools/update-a-secret"},{"title":"Not a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/secrets/{name}/release","href":"/api-reference/agent-tools/not-a-secret"}]},{"group":"Audit log","pages":[{"title":"List audit events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/audit_events","href":"/api-reference/audit-log/list-audit-events"}]},{"group":"Responses","pages":[{"title":"Send a message to an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/responses","href":"/api-reference/responses/send-a-message-to-an-agent"},{"title":"Get a response","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/responses/{response_id}","href":"/api-reference/responses/get-a-response"},{"title":"Cancel a response","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/responses/{response_id}/cancel","href":"/api-reference/responses/cancel-a-response"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/conversations/{conversation_id}","href":"/api-reference/conversations/get-a-conversation"},{"title":"List a conversation’s items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/conversations/{conversation_id}/items","href":"/api-reference/conversations/list-a-conversation’s-items"},{"title":"List a web call’s voice trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/conversations/{conversation_id}/voice","href":"/api-reference/conversations/list-a-web-call’s-voice-trace"},{"title":"Decide a request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/conversations/{conversation_id}/decisions","href":"/api-reference/conversations/decide-a-request"},{"title":"List a web call’s audio","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/conversations/{conversation_id}/audio","href":"/api-reference/conversations/list-a-web-call’s-audio"},{"title":"Get a piece of a web call’s audio","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/conversations/{conversation_id}/audio/{audio_id}","href":"/api-reference/conversations/get-a-piece-of-a-web-call’s-audio"}]},{"group":"Procedures","pages":[{"title":"List an agent’s procedures","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/procedures","href":"/api-reference/procedures/list-an-agent’s-procedures"},{"title":"Add a procedure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/procedures","href":"/api-reference/procedures/add-a-procedure"},{"title":"Get a procedure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/procedures/{procedure_id}","href":"/api-reference/procedures/get-a-procedure"},{"title":"Delete a procedure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agents/{agent_id}/procedures/{procedure_id}","href":"/api-reference/procedures/delete-a-procedure"},{"title":"Change a procedure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}/procedures/{procedure_id}","href":"/api-reference/procedures/change-a-procedure"},{"title":"A procedure’s revisions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/procedures/{procedure_id}/revisions","href":"/api-reference/procedures/a-procedure’s-revisions"},{"title":"What a procedure’s runs cost","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/procedures/{procedure_id}/costs","href":"/api-reference/procedures/what-a-procedure’s-runs-cost"},{"title":"How long a procedure’s runs take","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/procedures/{procedure_id}/latency","href":"/api-reference/procedures/how-long-a-procedure’s-runs-take"},{"title":"Test a procedure lookup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/procedures/match","href":"/api-reference/procedures/test-a-procedure-lookup"},{"title":"Add or change procedures","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/procedures/batch","href":"/api-reference/procedures/add-or-change-procedures"}]},{"group":"Uploads","pages":[{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/uploads","href":"/api-reference/uploads/upload-a-file"},{"title":"Get an upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/uploads/{upload_id}","href":"/api-reference/uploads/get-an-upload"},{"title":"Delete an upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/uploads/{upload_id}","href":"/api-reference/uploads/delete-an-upload"},{"title":"Download an upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/uploads/{upload_id}/content","href":"/api-reference/uploads/download-an-upload"}]},{"group":"Computers","pages":[{"title":"List computers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/computers","href":"/api-reference/computers/list-computers"},{"title":"Link a computer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/computers","href":"/api-reference/computers/link-a-computer"},{"title":"Get a computer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/computers/{computer_id}","href":"/api-reference/computers/get-a-computer"},{"title":"Unlink a computer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/computers/{computer_id}","href":"/api-reference/computers/unlink-a-computer"},{"title":"Rename a computer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/computers/{computer_id}","href":"/api-reference/computers/rename-a-computer"},{"title":"List pools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/computer_pools","href":"/api-reference/computers/list-pools"},{"title":"Create a pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/computer_pools","href":"/api-reference/computers/create-a-pool"},{"title":"Get a pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/computer_pools/{pool_id}","href":"/api-reference/computers/get-a-pool"},{"title":"Delete a pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/computer_pools/{pool_id}","href":"/api-reference/computers/delete-a-pool"},{"title":"Change a pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/computer_pools/{pool_id}","href":"/api-reference/computers/change-a-pool"}]},{"group":"Phone numbers","pages":[{"title":"List the agent's phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/phone_numbers","href":"/api-reference/phone-numbers/list-the-agents-phone-numbers"},{"title":"Give the agent a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/phone_numbers","href":"/api-reference/phone-numbers/give-the-agent-a-phone-number"},{"title":"Take a phone number off the agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agents/{agent_id}/phone_numbers/{phone_number_id}","href":"/api-reference/phone-numbers/take-a-phone-number-off-the-agent"},{"title":"Search numbers to get from Eager","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone_numbers/for_sale","href":"/api-reference/phone-numbers/search-numbers-to-get-from-eager"},{"title":"Get a number from Eager","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/phone_numbers/buy","href":"/api-reference/phone-numbers/get-a-number-from-eager"},{"title":"List numbers on connected accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone_numbers/available","href":"/api-reference/phone-numbers/list-numbers-on-connected-accounts"},{"title":"List Twilio connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone_connections","href":"/api-reference/phone-numbers/list-twilio-connections"},{"title":"Connect a Twilio account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/phone_connections","href":"/api-reference/phone-numbers/connect-a-twilio-account"},{"title":"Remove a Twilio connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/phone_connections/{connection_id}","href":"/api-reference/phone-numbers/remove-a-twilio-connection"},{"title":"Move a Twilio connection to another organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/phone_connections/{connection_id}/move","href":"/api-reference/phone-numbers/move-a-twilio-connection-to-another-organization"},{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone_numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Add a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/phone_numbers","href":"/api-reference/phone-numbers/add-a-phone-number"},{"title":"Get a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone_numbers/{phone_number_id}","href":"/api-reference/phone-numbers/get-a-phone-number"},{"title":"Take a phone number off Eager","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/phone_numbers/{phone_number_id}","href":"/api-reference/phone-numbers/take-a-phone-number-off-eager"},{"title":"Pick the agent that answers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/phone_numbers/{phone_number_id}","href":"/api-reference/phone-numbers/pick-the-agent-that-answers"}]},{"group":"Escalations","pages":[{"title":"List escalations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/escalations","href":"/api-reference/escalations/list-escalations"},{"title":"Get an escalation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/escalations/{escalation_id}","href":"/api-reference/escalations/get-an-escalation"},{"title":"Dismiss a failed run, mark a hand-off handled, or close an expert question","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/escalations/{escalation_id}/dismiss","href":"/api-reference/escalations/dismiss-a-failed-run-mark-a-hand-off-handled-or-close-an-expert-question"},{"title":"Accept a proposed change","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/escalations/{escalation_id}/accept","href":"/api-reference/escalations/accept-a-proposed-change"},{"title":"Reject a proposed change","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/escalations/{escalation_id}/reject","href":"/api-reference/escalations/reject-a-proposed-change"},{"title":"Answer an expert question","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/escalations/{escalation_id}/answer","href":"/api-reference/escalations/answer-an-expert-question"},{"title":"Write to the person in a transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/escalations/{escalation_id}/messages","href":"/api-reference/escalations/write-to-the-person-in-a-transfer"},{"title":"Hand a transfer back to the agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/escalations/{escalation_id}/hand_back","href":"/api-reference/escalations/hand-a-transfer-back-to-the-agent"}]},{"group":"Agent folders","pages":[{"title":"List agent folders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agent_folders","href":"/api-reference/agent-folders/list-agent-folders"},{"title":"Make an agent folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agent_folders","href":"/api-reference/agent-folders/make-an-agent-folder"},{"title":"Get an agent folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agent_folders/{folder_id}","href":"/api-reference/agent-folders/get-an-agent-folder"},{"title":"Delete an agent folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agent_folders/{folder_id}","href":"/api-reference/agent-folders/delete-an-agent-folder"},{"title":"Rename or move an agent folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agent_folders/{folder_id}","href":"/api-reference/agent-folders/rename-or-move-an-agent-folder"}]},{"group":"Categories","pages":[{"title":"List categories","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/categories","href":"/api-reference/categories/list-categories"},{"title":"Add a category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/categories","href":"/api-reference/categories/add-a-category"},{"title":"Remove a category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/categories/{name}","href":"/api-reference/categories/remove-a-category"},{"title":"Rename a category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/categories/{name}","href":"/api-reference/categories/rename-a-category"}]},{"group":"Schedules","pages":[{"title":"List the org’s schedules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/schedules","href":"/api-reference/schedules/list-the-org’s-schedules"},{"title":"Preview a cron expression","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/schedules/preview","href":"/api-reference/schedules/preview-a-cron-expression"},{"title":"List an agent’s schedules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/schedules","href":"/api-reference/schedules/list-an-agent’s-schedules"},{"title":"Add a schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/schedules","href":"/api-reference/schedules/add-a-schedule"},{"title":"Get a schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/schedules/{schedule_id}","href":"/api-reference/schedules/get-a-schedule"},{"title":"Delete a schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/agents/{agent_id}/schedules/{schedule_id}","href":"/api-reference/schedules/delete-a-schedule"},{"title":"Change, pause or resume a schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}/schedules/{schedule_id}","href":"/api-reference/schedules/change-pause-or-resume-a-schedule"},{"title":"Run a schedule now","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/schedules/{schedule_id}/run","href":"/api-reference/schedules/run-a-schedule-now"},{"title":"List a schedule’s runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/schedules/{schedule_id}/runs","href":"/api-reference/schedules/list-a-schedule’s-runs"},{"title":"Get a schedule run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/schedules/{schedule_id}/runs/{run_id}","href":"/api-reference/schedules/get-a-schedule-run"}]},{"group":"Email","pages":[{"title":"Get the agent's email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/agents/{agent_id}/email","href":"/api-reference/email/get-the-agents-email"},{"title":"Change the agent's email settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/agents/{agent_id}/email","href":"/api-reference/email/change-the-agents-email-settings"},{"title":"Send a reply waiting for review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/email/messages/{message_id}/send","href":"/api-reference/email/send-a-reply-waiting-for-review"},{"title":"Don’t send a reply","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/agents/{agent_id}/email/messages/{message_id}/discard","href":"/api-reference/email/don’t-send-a-reply"}]},{"group":"API Reference","pages":[{"title":"Webhook event","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook event","href":"/api-reference/webhook-event"}]}]}]}]},"basePath":"","title":"Update a test case - Eager","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}