{ "id": "3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60", "state": "idle", "turn": { "id": "9b1d7c52-6f0e-4a8b-8d3f-5e2a1c7b9d40", "status": "completed", "message": "Which Berlin fintechs raised a Series A in the last year?", "answer": "Three Berlin fintechs raised a Series A in the last year: [Hedgehog Payments](https://app.tryspecter.com/companies/5e3bc2b700c8f4c966ad2bbd).", "follow_ups": [ "Compare their funding", "Who invested in them?" ], "input_requests": [], "credits_used": 7, "error": null, "created_at": "2026-12-01T09:30:00Z", "completed_at": "2026-12-01T09:30:48Z" }, "web_url": "https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60", "created_at": "2026-12-01T09:30:00Z", "updated_at": "2026-12-01T09:30:48Z"}
{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}
{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}
{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}
{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}
Agent
Cancel a turn
Cancel the turn a conversation is working on.
Free. This call does not consume credits.
A cancelled turn is free, and the conversation is idle, ready for another
message. Cancelling a conversation whose latest turn is already cancelled
returns it again. A conversation with no turn working, whether it completed,
failed or waits for input, answers 409 NO_ACTIVE_TURN, and so does one whose
turn finishes while the call is made.
POST
/
agent
/
conversations
/
{conversationId}
/
cancel
Cancel a turn
curl --request POST \ --url https://app.tryspecter.com/api/v1/agent/conversations/{conversationId}/cancel \ --header 'X-API-Key: <api-key>'
{ "id": "3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60", "state": "idle", "turn": { "id": "9b1d7c52-6f0e-4a8b-8d3f-5e2a1c7b9d40", "status": "completed", "message": "Which Berlin fintechs raised a Series A in the last year?", "answer": "Three Berlin fintechs raised a Series A in the last year: [Hedgehog Payments](https://app.tryspecter.com/companies/5e3bc2b700c8f4c966ad2bbd).", "follow_ups": [ "Compare their funding", "Who invested in them?" ], "input_requests": [], "credits_used": 7, "error": null, "created_at": "2026-12-01T09:30:00Z", "completed_at": "2026-12-01T09:30:48Z" }, "web_url": "https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60", "created_at": "2026-12-01T09:30:00Z", "updated_at": "2026-12-01T09:30:48Z"}
{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}
{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}
{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}
{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}
Authorizations
X-API-Key
string
header
required
Path Parameters
conversationId
string<uuid>
required
The ID of the agent conversation, from its id.
Example:
"3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"
Response
The conversation, idle, with its turn cancelled.
A conversation with the Specter Agent and its latest turn.
id
string<uuid>
required
The conversation's ID. Pass it to the other conversation endpoints.
Example:
"3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"
state
enum<string>
required
working while the latest turn is queued or running. input_required while it waits for you. idle once it has completed, failed or been cancelled: a conversation never reads as failed, and is ready for another message.
Available options:
working,
input_required,
idle
Example:
"idle"
turn
Turn · object
required
The conversation's latest turn. Read an earlier one with Get a turn.
Show child attributes
web_url
string
required
A link to the conversation in the Specter web app. It opens for anyone who can see the conversation there.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Specter API","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/specter-308cd0b7/J7JFTZApOanSiYJs/images/Wide%20Logo%20-%20On%20Light.svg?fit=max\u0026auto=format\u0026n=J7JFTZApOanSiYJs\u0026q=85\u0026s=889fa07d06e08436af42284b241d1c6c","dark":"https://mintcdn.com/specter-308cd0b7/J7JFTZApOanSiYJs/images/Wide%20Logo%20-%20On%20Dark.svg?fit=max\u0026auto=format\u0026n=J7JFTZApOanSiYJs\u0026q=85\u0026s=82ab2922c2a81b2bf715134878709858"},"favicon":"https://mintcdn.com/specter-308cd0b7/J7JFTZApOanSiYJs/favicon.svg?fit=max\u0026auto=format\u0026n=J7JFTZApOanSiYJs\u0026q=85\u0026s=fbb21778dd2ed6d844218923daca8e4a","navbar":{"links":[{"href":"https://intercom.help/specter-labs/en/articles/12549675-specter-api","label":"Help Center"},{"href":"mailto:api-support@tryspecter.com","label":"Email Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.tryspecter.com/login?redirect=/settings/api-console"}},"footer":{"socials":{"x":"https://twitter.com/SpecterHQ","linkedin":"https://linkedin.com/company/specterhq"}},"styling":{"latex":false},"contextual":{"options":["claude","copy","view","chatgpt","perplexity"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"specter-308cd0b7","hasAudioNarration":false,"actualSubdomain":"specter-308cd0b7","customDomains":["api.tryspecter.com"],"gitSource":{"type":"github","owner":"specter-dev","repo":"pipeliner","deployBranch":"main","contentDirectory":"backend/api-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10ada49ffae5051c3fd6f6"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b10667ceca9283b3904d9fa","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Datasets","count":25},{"language":"default","tag":"Guide","count":22},{"language":"default","tag":"Signals","count":19},{"language":"default","tag":"Saved Searches","count":19},{"language":"default","tag":"Lists","count":18},{"language":"default","tag":"Core data","count":12},{"language":"default","tag":"Companies","count":12},{"language":"default","tag":"Enrich","count":8},{"language":"default","tag":"Get started","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".stat-tiles .card{background-color:#f4f4f5}.dark .stat-tiles .card{background-color:#26272b}.update-container>div:first-child .flex-wrap{flex-direction:column;align-items:flex-start}.dataset-changelog .update-container>div:first-child::before{content:\"Announced\";order:1;margin-bottom:0.375rem;padding-left:0.125rem;font-size:0.6875rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:#71717a}.dark .dataset-changelog .update-container>div:first-child::before{color:#a1a1aa}.dataset-changelog .update-container [data-component-part=\"update-label\"]{order:2;align-items:flex-start;height:1.75rem;overflow:hidden;white-space:pre-line}body:has(.dataset-changelog) [data-layout-item=\"toc-item-link\"]{display:block;white-space:pre-line}.dataset-changelog .update-container [data-component-part=\"update-description\"]{order:3;margin-top:0.375rem;padding:0.25rem 0.5rem;border:1px solid #e4e4e7;border-radius:0.5rem;background-color:#fafafa;font-size:0.8125rem;font-weight:500;color:#3f3f46}.dark .dataset-changelog .update-container [data-component-part=\"update-description\"]{border-color:#3f3f46;background-color:#27272a;color:#d4d4d8}.dataset-changelog .update-container [data-component-part=\"update-tag-list\"]{order:4}code.parquet-type{display:inline-block;margin-top:0.25rem;padding:0.0625rem 0.375rem;border:1px dashed #d4d4d8;border-radius:0.375rem;background-color:transparent;font-size:0.6875rem;font-weight:500;letter-spacing:0.02em;color:#71717a;white-space:nowrap}.dark code.parquet-type{border-color:#3f3f46;color:#a1a1aa}"}]}
{"page":{"pagePath":"api-reference/agent/cancel-a-turn","slug":"/api-reference/agent/cancel-a-turn","pageMetadata":{"title":"Cancel a turn","description":"Cancel the turn a conversation is working on.\n\n\u003cNote>\nFree. This call does not consume credits.\n\u003c/Note>\n\nA cancelled turn is free, and the conversation is `idle`, ready for another\nmessage. Cancelling a conversation whose latest turn is already `cancelled`\nreturns it again. A conversation with no turn working, whether it completed,\nfailed or waits for input, answers `409 NO_ACTIVE_TURN`, and so does one whose\nturn finishes while the call is made.","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /agent/conversations/{conversationId}/cancel","href":"/api-reference/agent/cancel-a-turn","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n }, {Note} = _components;\n if (!Note) _missingMdxReference(\"Note\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Cancel the turn a conversation is working on.\"\n }), \"\\n\", _jsx(Note, {\n children: _jsx(_components.p, {\n children: \"Free. This call does not consume credits.\"\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A cancelled turn is free, and the conversation is \", _jsx(_components.code, {\n children: \"idle\"\n }), \", ready for another\\nmessage. Cancelling a conversation whose latest turn is already \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \"\\nreturns it again. A conversation with no turn working, whether it completed,\\nfailed or waits for input, answers \", _jsx(_components.code, {\n children: \"409 NO_ACTIVE_TURN\"\n }), \", and so does one whose\\nturn finishes while the call is made.\"]\n })]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\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":"Cancel a turn","description":"Cancel the turn a conversation is working on.\n\n\u003cNote>\nFree. This call does not consume credits.\n\u003c/Note>\n\nA cancelled turn is free, and the conversation is `idle`, ready for another\nmessage. Cancelling a conversation whose latest turn is already `cancelled`\nreturns it again. A conversation with no turn working, whether it completed,\nfailed or waits for input, answers `409 NO_ACTIVE_TURN`, and so does one whose\nturn finishes while the call is made.","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /agent/conversations/{conversationId}/cancel","href":"/api-reference/agent/cancel-a-turn","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Agent"],"summary":"Cancel a turn","description":"Cancel the turn a conversation is working on.\n\n\u003cNote>\nFree. This call does not consume credits.\n\u003c/Note>\n\nA cancelled turn is free, and the conversation is `idle`, ready for another\nmessage. Cancelling a conversation whose latest turn is already `cancelled`\nreturns it again. A conversation with no turn working, whether it completed,\nfailed or waits for input, answers `409 NO_ACTIVE_TURN`, and so does one whose\nturn finishes while the call is made.","operationId":"cancelAgentTurn","parameters":["596e86a6-4568-4def-a3ab-ae9cd54a35c3"],"responses":{"200":"53bf605a-4600-403f-959d-86c8b2bf4de3","401":"4ab2bdce-6d79-498b-aa16-0a986ebbcada","403":"916cb48d-8ce8-4e7b-b645-bc0aa3ba5706","404":"434c3bcb-d874-4fd8-b6a6-8fbc14dd134b","409":"fbd457bc-8520-4040-98c5-bfd58801a3c5","422":"d116ffc1-ce24-4e94-901f-3cd9bcdb984b","429":"4a5f7d30-2195-4dce-9d81-774f492b6b72","503":"d834c2a5-0e1e-4ebf-871e-bf638be8eee2"},"method":"post","type":"path","servers":["feaa3704-7172-477a-902e-8ec938163910"],"security":["d5e4b7c1-1fc2-4086-a47b-7e2f48601b7d"],"path":"/agent/conversations/{conversationId}/cancel","baseUrlOptions":["https://app.tryspecter.com/api/v1"],"title":"Cancel a turn","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"596e86a6-4568-4def-a3ab-ae9cd54a35c3":{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The ID of the agent conversation, from its `id`.","examples":["3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"],"title":"Conversationid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The ID of the agent conversation, from its `id`."}},"responses":{"53bf605a-4600-403f-959d-86c8b2bf4de3":{"description":"The conversation, `idle`, with its turn `cancelled`.","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The conversation's ID. Pass it to the other conversation endpoints.","examples":["3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"],"isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"state":{"type":"string","enum":["working","input_required","idle"],"title":"ConversationState","description":"`working` while the latest turn is `queued` or `running`. `input_required` while it waits for you. `idle` once it has `completed`, `failed` or been `cancelled`: a conversation never reads as failed, and is ready for another message.","examples":["idle"],"isRequired":true,"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"turn":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The turn's ID. It does not change when the turn is answered after stopping for input.","examples":["9b1d7c52-6f0e-4a8b-8d3f-5e2a1c7b9d40"],"isRequired":true,"uniqueKey":"turn.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["queued","running","completed","input_required","failed","cancelled"],"title":"TurnStatus","description":"`queued` and `running` mean the agent is still working. `completed` means it answered. `input_required` means the turn stopped for you, to approve a write it held or to answer a question: `input_requests` says what it waits for, and you answer through [Continue a conversation](/api-reference/agent/continue-a-conversation). `failed` and `cancelled` are final and free.","examples":["completed"],"isRequired":true,"uniqueKey":"turn.status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"The message that started the turn.","examples":["Which Berlin fintechs raised a Series A in the last year?"],"isRequired":true,"uniqueKey":"turn.message","typeLabel":"string"},"answer":{"oneOf":[{"type":"string","title":"Answer","description":"The agent's reply in Markdown, with links to Specter pages. For a question it is the question. `null` until the turn is `completed` or `input_required`, and `null` for held writes the agent said nothing about.","example":"Three Berlin fintechs raised a Series A in the last year: [Hedgehog Payments](https://app.tryspecter.com/companies/5e3bc2b700c8f4c966ad2bbd).","isRequired":true,"uniqueKey":"turn.answer.oneOf.0","typeLabel":"string"},{"type":"null","title":"Answer","description":"The agent's reply in Markdown, with links to Specter pages. For a question it is the question. `null` until the turn is `completed` or `input_required`, and `null` for held writes the agent said nothing about.","example":"Three Berlin fintechs raised a Series A in the last year: [Hedgehog Payments](https://app.tryspecter.com/companies/5e3bc2b700c8f4c966ad2bbd).","isRequired":true,"uniqueKey":"turn.answer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"turn.answer","typeLabel":"string | null"},"follow_ups":{"items":{"type":"string","uniqueKey":"turn.follow_ups.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Follow Ups","description":"Up to three questions the agent suggests asking next. Empty when it has none.","examples":[["Compare their funding","Who invested in them?"]],"isRequired":true,"uniqueKey":"turn.follow_ups","typeLabel":"string[]"},"input_requests":{"items":{"properties":{"id":{"type":"string","title":"Id","description":"Identifies the request. Key your answer by it in `input_responses`.","examples":["int-call_abc"],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["approval","question"],"title":"Type","description":"`approval` asks you to approve a write the agent held. `question` asks you something.","examples":["approval","question"],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","description":"What is asked, in a sentence fit to show a person.","examples":["Create the list \"Berlin fintech\"?","Which of the two companies named Hedgehog do you mean?"],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].message","typeLabel":"string"},"requested_schema":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"turn.input_requests.items.[INDEX].requested_schema.additionalProperties","typeLabel":"any"},"type":"object","title":"Requested Schema","description":"A flat JSON Schema of the reply `content`. Empty for an approval. For a question, a `reply` string. The `content` of your answer must match this schema. The `enum` on `reply`, when present, lists the agent's suggested answers; any text is accepted.","examples":[{"properties":{},"type":"object"},{"properties":{"reply":{"enum":["The Berlin fintech","The fintech in San Francisco"],"title":"Your answer","type":"string"}},"required":["reply"],"type":"object"}],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].requested_schema","typeLabel":"Requested Schema · object"},"tool_call":{"oneOf":[{"type":"object","title":"AgentToolCall","description":"For an `approval`, the write that is held. `null` for a question.","required":["name","arguments"],"example":{"arguments":{"name":"Berlin fintech","product_type":"company"},"name":"create_list"},"properties":{"name":{"type":"string","title":"Name","description":"The tool the agent wants to call.","examples":["create_list"],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].tool_call.oneOf.0.name","typeLabel":"string"},"arguments":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"turn.input_requests.items.[INDEX].tool_call.oneOf.0.arguments.additionalProperties","typeLabel":"any"},"type":"object","title":"Arguments","description":"The arguments it would call the tool with.","examples":[{"name":"Berlin fintech","product_type":"company"}],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].tool_call.oneOf.0.arguments","typeLabel":"Arguments · object"}},"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].tool_call.oneOf.0","typeLabel":"AgentToolCall · object"},{"type":"null","description":"For an `approval`, the write that is held. `null` for a question.","example":{"arguments":{"name":"Berlin fintech","product_type":"company"},"name":"create_list"},"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].tool_call.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"turn.input_requests.items.[INDEX].tool_call","typeLabel":"AgentToolCall · object | null"}},"type":"object","required":["id","type","message","requested_schema","tool_call"],"title":"AgentInputRequest","description":"One thing a turn is waiting for, after an MCP elicitation request.","uniqueKey":"turn.input_requests.items.[INDEX]","typeLabel":"AgentInputRequest · object"},"type":"array","title":"Input Requests","description":"What the turn waits for when `status` is `input_required`: the writes it holds, or else its question. Empty in every other state, and once a later turn exists.","examples":[[]],"isRequired":true,"uniqueKey":"turn.input_requests","typeLabel":"AgentInputRequest · object[]"},"credits_used":{"oneOf":[{"type":"integer","title":"Credits Used","description":"Credits the turn cost, summed over the work it took, and 0 for a turn that failed or was cancelled before it cost anything. `null` while the turn is going: the cost is known only when it ends.","example":7,"isRequired":true,"uniqueKey":"turn.credits_used.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Credits Used","description":"Credits the turn cost, summed over the work it took, and 0 for a turn that failed or was cancelled before it cost anything. `null` while the turn is going: the cost is known only when it ends.","example":7,"isRequired":true,"uniqueKey":"turn.credits_used.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"turn.credits_used","typeLabel":"integer | null"},"error":{"oneOf":[{"type":"object","title":"TurnError","description":"Why the turn failed. `null` unless `status` is `failed`.","required":["code","message"],"example":null,"properties":{"code":{"type":"string","title":"Code","description":"A stable code for why the turn failed.","examples":["TURN_FAILED"],"isRequired":true,"uniqueKey":"turn.error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"What happened, in a sentence fit to show a person.","examples":["The agent could not finish this request. The failed attempt was not charged; send the message again."],"isRequired":true,"uniqueKey":"turn.error.oneOf.0.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"turn.error.oneOf.0","typeLabel":"TurnError · object"},{"type":"null","description":"Why the turn failed. `null` unless `status` is `failed`.","example":null,"isRequired":true,"uniqueKey":"turn.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"turn.error","typeLabel":"TurnError · object | null"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the turn started.","examples":["2026-12-01T09:30:00Z"],"isRequired":true,"uniqueKey":"turn.created_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"When the turn last stopped: it finished, failed, was cancelled, or is waiting for input. `null` while it is going.","format":"date-time","example":"2026-12-01T09:30:48Z","isRequired":true,"uniqueKey":"turn.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Completed At","description":"When the turn last stopped: it finished, failed, was cancelled, or is waiting for input. `null` while it is going.","example":"2026-12-01T09:30:48Z","isRequired":true,"uniqueKey":"turn.completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"turn.completed_at","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["id","status","message","answer","follow_ups","input_requests","credits_used","error","created_at","completed_at"],"title":"Turn","description":"The conversation's latest turn. Read an earlier one with [Get a turn](/api-reference/agent/get-a-turn).","isRequired":true,"uniqueKey":"turn","typeLabel":"Turn · object"},"web_url":{"type":"string","title":"Web Url","description":"A link to the conversation in the Specter web app. It opens for anyone who can see the conversation there.","examples":["https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60"],"isRequired":true,"uniqueKey":"web_url","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the conversation started.","examples":["2026-12-01T09:30:00Z"],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the conversation last changed.","examples":["2026-12-01T09:30:48Z"],"isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"type":"object","required":["id","state","turn","web_url","created_at","updated_at"],"title":"Conversation","description":"A conversation with the Specter Agent and its latest turn.","uniqueKey":"","typeLabel":"Conversation · object"},"examples":{"Example":{"title":"Example","value":{"id":"3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60","state":"idle","turn":{"id":"9b1d7c52-6f0e-4a8b-8d3f-5e2a1c7b9d40","status":"completed","message":"Which Berlin fintechs raised a Series A in the last year?","answer":"Three Berlin fintechs raised a Series A in the last year: [Hedgehog Payments](https://app.tryspecter.com/companies/5e3bc2b700c8f4c966ad2bbd).","follow_ups":["Compare their funding","Who invested in them?"],"input_requests":[],"credits_used":7,"error":null,"created_at":"2026-12-01T09:30:00Z","completed_at":"2026-12-01T09:30:48Z"},"web_url":"https://app.tryspecter.com/agent/3f6c8f0e-2c1a-4b5e-9d7a-1b2c3d4e5f60","created_at":"2026-12-01T09:30:00Z","updated_at":"2026-12-01T09:30:48Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"4ab2bdce-6d79-498b-aa16-0a986ebbcada":{"description":"Unauthorized","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"ApiKeyMissing","required":["errorCode","message"],"properties":{"errorCode":{"type":"string","const":"API_KEY_MISSING","title":"Errorcode","isRequired":true,"uniqueKey":"oneOf.0.errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","examples":["No API Key was presented on the header X-API-KEY"],"isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"ApiKeyMissing · object"},{"type":"object","title":"ApiKeyNotValid","required":["errorCode","message"],"properties":{"errorCode":{"type":"string","enum":["API_KEY_NOT_VALID","key_from_another_org"],"title":"Errorcode","description":"`key_from_another_org` when an `ak_` key was issued for an organization its owner no longer belongs to.","isRequired":true,"uniqueKey":"oneOf.1.errorCode","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","examples":["API key present, but not valid"],"isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"ApiKeyNotValid · object"}],"uniqueKey":"","typeLabel":"ApiKeyMissing · object | ApiKeyNotValid · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"API_KEY_MISSING","message":"No API Key was presented on the header X-API-KEY"}}},"exampleType":"generated"}},"exampleType":"generated"},"916cb48d-8ce8-4e7b-b645-bc0aa3ba5706":{"description":"Forbidden - There is no permissions to use the endpoint","content":{"application/json":{"schema":{"properties":{"errorCode":{"type":"string","enum":["NOT_PERMITTED","user_suspended","api_access_not_granted","org_key_disabled","member_keys_disabled","member_keys_admins_only"],"title":"Errorcode","description":"`NOT_PERMITTED` for a team key; the other codes are the reasons an `ak_` key is refused.","isRequired":true,"uniqueKey":"errorCode","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"Message","examples":["API key present, but you are not permitted"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["errorCode","message"],"title":"NotPermitted","uniqueKey":"","typeLabel":"NotPermitted · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"NOT_PERMITTED","message":"API key present, but you are not permitted"}}},"exampleType":"generated"}},"exampleType":"generated"},"434c3bcb-d874-4fd8-b6a6-8fbc14dd134b":{"description":"Not Found - the conversation does not exist or was not started with the API.","content":{"application/json":{"schema":{"properties":{"errorCode":{"type":"string","const":"NOT_FOUND","title":"Errorcode","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","examples":["Not Found"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["errorCode","message"],"title":"NotFound","uniqueKey":"","typeLabel":"NotFound · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"NOT_FOUND","message":"Not Found"}}},"exampleType":"generated"}},"exampleType":"generated"},"fbd457bc-8520-4040-98c5-bfd58801a3c5":{"description":"Conflict - your organization has no API user yet (`NO_API_USER`), or the conversation has no turn working (`NO_ACTIVE_TURN`).","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"NoApiUser","required":["errorCode","message"],"properties":{"errorCode":{"type":"string","const":"NO_API_USER","title":"Errorcode","isRequired":true,"uniqueKey":"oneOf.0.errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","examples":["Your organization's API user is not set up yet, so there is no owner for this item. Contact support."],"isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"NoApiUser · object"},{"type":"object","title":"NoActiveTurn","required":["errorCode","message"],"properties":{"errorCode":{"type":"string","const":"NO_ACTIVE_TURN","title":"Errorcode","isRequired":true,"uniqueKey":"oneOf.1.errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","examples":["This conversation has no turn in progress to cancel."],"isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"NoActiveTurn · object"}],"uniqueKey":"","typeLabel":"NoApiUser · object | NoActiveTurn · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"NO_API_USER","message":"Your organization's API user is not set up yet, so there is no owner for this item. Contact support."}}},"exampleType":"generated"}},"exampleType":"generated"},"d116ffc1-ce24-4e94-901f-3cd9bcdb984b":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"errorCode":{"type":"string","const":"VALIDATION_ERROR","title":"Errorcode","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","description":"Why the request was rejected: each invalid field, with the path to it.","examples":["Field required (body.name)"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["errorCode","message"],"title":"ValidationFailed","uniqueKey":"","typeLabel":"ValidationFailed · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"VALIDATION_ERROR","message":"Field required (body.name)"}}},"exampleType":"generated"}},"exampleType":"generated"},"4a5f7d30-2195-4dce-9d81-774f492b6b72":{"description":"Too Many Requests - API Rate limit exceeded","headers":{"X-RateLimit-Limit":{"description":"The total rate limit allowed for this endpoint","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"The number of requests remaining","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"The number of seconds until the rate limit resets","schema":{"type":"number","format":"float"}}},"content":{"application/json":{"schema":{"properties":{"errorCode":{"type":"string","const":"RATE_LIMITED","title":"Errorcode","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","examples":["You have been rate-limited"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["errorCode","message"],"title":"RateLimited","uniqueKey":"","typeLabel":"RateLimited · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"RATE_LIMITED","message":"You have been rate-limited"}}},"exampleType":"generated"}},"exampleType":"generated"},"d834c2a5-0e1e-4ebf-871e-bf638be8eee2":{"description":"Key verification is temporarily unavailable, so an `ak_` key could not be checked. Retry after the interval in `Retry-After`.","headers":{"Retry-After":{"description":"The number of seconds to wait before retrying","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"properties":{"errorCode":{"type":"string","const":"clerk_unavailable","title":"Errorcode","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","title":"Message","examples":["Key verification is temporarily unavailable"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["errorCode","message"],"title":"KeyVerificationUnavailable","uniqueKey":"","typeLabel":"KeyVerificationUnavailable · object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"clerk_unavailable","message":"Key verification is temporarily unavailable"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d5e4b7c1-1fc2-4086-a47b-7e2f48601b7d":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"feaa3704-7172-477a-902e-8ec938163910":{"url":"https://app.tryspecter.com/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-ref/openapi.json"},"subdomain":"specter-308cd0b7","siteName":"Specter API","title":"Cancel a turn - Specter API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T18:42:11.499Z","originalFileLocation":"api-reference/agent/cancel-a-turn.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=\"Cancel the turn a conversation is working on. Free. This call does not consume credits. A cancelled turn is free, and the conversation is idle, ready for another message. Cancelling a conversation whose latest turn is already cancelled returns it again. A conversation with no turn working, whether it completed, failed or waits for input, answers 409 NO_ACTIVE_TURN, and so does one whose turn finishes while the call is made.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Specter API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel a turn - Specter API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cancel the turn a conversation is working on. Free. This call does not consume credits. A cancelled turn is free, and the conversation is idle, ready for another message. Cancelling a conversation whose latest turn is already cancelled returns it again. A conversation with no turn working, whether it completed, failed or waits for input, answers 409 NO_ACTIVE_TURN, and so does one whose turn finishes while the call is made.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Specter API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://specter-308cd0b7.mintlify.site/_mintlify/api/og/v2?division=Agent\u0026amp;title=Cancel+a+turn\u0026amp;description=Cancel+the+turn+a+conversation+is+working+on.%0A%0A%3CNote%3E%0AFree.+This+call+does+not+consume+credits.%0A%3C%2FNote%3E%0A%0AA+cancelled+turn+is+free%2C+and+the+conversation+is+%60idle\u0026amp;theme=dafc9161ec83b0723fd4c411\u0026amp;signature=45a5464999dfe60b6b67e5bbe273bc63355d76d81cb52991d8dbe35a5dbbf781\">\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=\"Cancel a turn - Specter API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cancel the turn a conversation is working on. Free. This call does not consume credits. A cancelled turn is free, and the conversation is idle, ready for another message. Cancelling a conversation whose latest turn is already cancelled returns it again. A conversation with no turn working, whether it completed, failed or waits for input, answers 409 NO_ACTIVE_TURN, and so does one whose turn finishes while the call is made.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://specter-308cd0b7.mintlify.site/_mintlify/api/og/v2?division=Agent\u0026amp;title=Cancel+a+turn\u0026amp;description=Cancel+the+turn+a+conversation+is+working+on.%0A%0A%3CNote%3E%0AFree.+This+call+does+not+consume+credits.%0A%3C%2FNote%3E%0A%0AA+cancelled+turn+is+free%2C+and+the+conversation+is+%60idle\u0026amp;theme=dafc9161ec83b0723fd4c411\u0026amp;signature=45a5464999dfe60b6b67e5bbe273bc63355d76d81cb52991d8dbe35a5dbbf781\">\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/specter-308cd0b7/Z9zdJvK7GWEiMQIp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Specter API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agent/cancel-a-turn.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.tryspecter.com/#organization\",\"name\":\"Specter API\",\"url\":\"https://api.tryspecter.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/specter-308cd0b7/J7JFTZApOanSiYJs/images/Wide%20Logo%20-%20On%20Light.svg?fit=max\u0026auto=format\u0026n=J7JFTZApOanSiYJs\u0026q=85\u0026s=889fa07d06e08436af42284b241d1c6c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.tryspecter.com#website\",\"name\":\"Specter API\",\"url\":\"https://api.tryspecter.com\",\"publisher\":{\"@id\":\"https://api.tryspecter.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn#webpage\",\"url\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn\",\"name\":\"Cancel a turn\",\"description\":\"Cancel the turn a conversation is working on. Free. This call does not consume credits. A cancelled turn is free, and the conversation is idle, ready for another message. Cancelling a conversation whose latest turn is already cancelled returns it again. A conversation with no turn working, whether it completed, failed or waits for input, answers 409 NO_ACTIVE_TURN, and so does one whose turn finishes while the call is made.\",\"dateModified\":\"2026-12-02T18:42:11.499Z\",\"isPartOf\":{\"@id\":\"https://api.tryspecter.com#website\"},\"breadcrumb\":{\"@id\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent\",\"item\":\"https://api.tryspecter.com/api-reference/agent/start-a-conversation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cancel a turn\",\"item\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn#apireference\",\"headline\":\"Cancel a turn\",\"name\":\"Cancel a turn\",\"description\":\"Cancel the turn a conversation is working on. Free. This call does not consume credits. A cancelled turn is free, and the conversation is idle, ready for another message. Cancelling a conversation whose latest turn is already cancelled returns it again. A conversation with no turn working, whether it completed, failed or waits for input, answers 409 NO_ACTIVE_TURN, and so does one whose turn finishes while the call is made.\",\"url\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn\",\"mainEntityOfPage\":{\"@id\":\"https://api.tryspecter.com/api-reference/agent/cancel-a-turn#webpage\"},\"dateModified\":\"2026-12-02T18:42:11.499Z\",\"publisher\":{\"@id\":\"https://api.tryspecter.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.tryspecter.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Specter API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Specter API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agent/cancel-a-turn.md","siteName":"Specter API","nav":{"global":null,"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/api-ref/introduction"}]},{"tab":"API Reference","groups":[{"group":"Enrich","pages":[{"title":"Enrich company","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /companies","href":"/api-reference/enrich/enrich-company"},{"title":"Enrich companies (bulk)","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /companies/by-id/bulk","href":"/api-reference/enrich/enrich-companies-bulk"},{"title":"Enrich person","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /people","href":"/api-reference/enrich/enrich-person"},{"title":"Enrich people (bulk)","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /people/by-id/bulk","href":"/api-reference/enrich/enrich-people-bulk"},{"title":"Enrich investor","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /investors","href":"/api-reference/enrich/enrich-investor"},{"title":"Enrich investors (bulk)","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /investors/by-id/bulk","href":"/api-reference/enrich/enrich-investors-bulk"},{"title":"Enrich person by email","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /people/by-email","href":"/api-reference/enrich/enrich-person-by-email"},{"title":"Enrich people by email (bulk)","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /people/by-email/bulk","href":"/api-reference/enrich/enrich-people-by-email-bulk"}]},{"group":"Search","pages":[{"title":"AI search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /search","href":"/api-reference/search/ai-search"},{"title":"Search entities by name","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /entities/search","href":"/api-reference/search/search-entities-by-name"}]},{"group":"Agent","pages":[{"title":"Start a conversation","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /agent/conversations","href":"/api-reference/agent/start-a-conversation"},{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /agent/conversations","href":"/api-reference/agent/list-conversations"},{"title":"Continue a conversation","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /agent/conversations/{conversationId}","href":"/api-reference/agent/continue-a-conversation"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /agent/conversations/{conversationId}","href":"/api-reference/agent/get-a-conversation"},{"title":"Get a turn","description":"Read one turn of a conversation. A turn is never changed by a later message,\nso this reads yours even after someone else has sent the conversation a newer\none.\n\n\u003cNote>\nFree. This call does not consume credits.\n\u003c/Note>\n\nA turn that was `input_required` and is no longer the latest reads `completed`,\nwith no `input_requests`: its answer was the question it asked. While the turn\nis `queued` or `running` the response carries `Retry-After: 2`.","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /agent/conversations/{conversationId}/turns/{turnId}","href":"/api-reference/agent/get-a-turn"},{"title":"Cancel a turn","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /agent/conversations/{conversationId}/cancel","href":"/api-reference/agent/cancel-a-turn"}]},{"group":"Companies","pages":[{"title":"Find company ID","description":"Resolve a batch of alternate identifiers (domain, website, LinkedIn, Crunchbase\nor Pitchbook URL, or company name) into the Specter company `id`. Re-use that `id`\nwith the id-only company endpoints such as [Get company by\nID](/api-reference/companies/get-company-by-id).\n\n\u003cNote>\n\nFree. This call does not consume credits. The id-only endpoints you call next are\ncharged as usual.\n\n\u003c/Note>\n\n## What you need\n\nOne or more identifiers to resolve: a domain, website, LinkedIn URL, Crunchbase URL,\nPitchbook URL, or company name (1-50 per request). No Specter ID is required; that\nis what this returns.\n\n## Behaviour\n\n- Pass identifiers under `to_resolve` (1-50 per request). Each entry must carry\n exactly one identifier; none, or more than one, returns a validation error.\n- The response has one result group per input, in the same order, so you can\n attribute each set of matches back to what you sent. `query` echoes the normalized\n identifier.\n- `domain` matches the primary domain and any domain aliases; `website_url` is\n reduced to its domain before matching.\n- Exact identifiers (`domain`, `website_url`, `linkedin_url`, `crunchbase_url`,\n `pitchbook_url`) return at most one company, with `match_confidence` `1`.\n- `crunchbase_url` must point at an organization profile; `pitchbook_url` at a\n Pitchbook profile. Both accept `http`/`https`, `www`, query strings and anchors,\n and are normalized before matching.\n- `name` is fuzzy-matched and can return several ranked candidates (at most 10).\n Each carries a `match_confidence` from 0 to 1, relative to the other results for\n that query; use the extra fields (domain, HQ, founded year) to pick the right one.\n- An identifier that matches nothing keeps its place with an empty `matches` list.\n\n## What you do next\n\n- **Get the full profile.** Pass the returned `company_id` to [Get company by\n ID](/api-reference/companies/get-company-by-id).\n- **See who it competes with.** Feed the `company_id` to [Get company\n competitors](/api-reference/companies/get-company-competitors).\n- **Track its news.** Pull [Get company\n news](/api-reference/companies/get-company-news) for the resolved company.","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /companies/resolve","href":"/api-reference/companies/find-company-id"},{"title":"Get company by ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}","href":"/api-reference/companies/get-company-by-id"},{"title":"Get company employees","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/people","href":"/api-reference/companies/get-company-employees"},{"title":"Get company acquisitions","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/acquisitions","href":"/api-reference/companies/get-company-acquisitions"},{"title":"Get company funding rounds","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/funding-rounds","href":"/api-reference/companies/get-company-funding-rounds"},{"title":"Get company IPOs","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/ipos","href":"/api-reference/companies/get-company-ipos"},{"title":"Get company news","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/news-signals","href":"/api-reference/companies/get-company-news"},{"title":"Get company revenue signals","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/revenue-signals","href":"/api-reference/companies/get-company-revenue-signals"},{"title":"Get company competitors","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /companies/{companyId}/competitors","href":"/api-reference/companies/get-company-competitors"},{"title":"Get company latest revenue","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/latest-revenue","href":"/api-reference/companies/get-company-latest-revenue"},{"title":"Get company latest valuation","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/latest-valuation","href":"/api-reference/companies/get-company-latest-valuation"},{"title":"Get company investor-interest signals","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /companies/{companyId}/investor-interest-signals","href":"/api-reference/companies/get-company-investor-interest-signals"}]},{"group":"People","pages":[{"title":"Find person ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /people/resolve","href":"/api-reference/people/find-person-id"},{"title":"Get person by ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /people/{personId}","href":"/api-reference/people/get-person-by-id"},{"title":"Get person email","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /people/{personId}/email","href":"/api-reference/people/get-person-email"},{"title":"Get person talent signals","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /people/{personId}/talent-signals","href":"/api-reference/people/get-person-talent-signals"}]},{"group":"Investors","pages":[{"title":"Find investor ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /investors/resolve","href":"/api-reference/investors/find-investor-id"},{"title":"Get investor by ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /investors/{investorId}","href":"/api-reference/investors/get-investor-by-id"},{"title":"Get investor funding rounds","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /investors/{investorId}/funding-rounds","href":"/api-reference/investors/get-investor-funding-rounds"},{"title":"Get investor-interest signals","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /investors/{investorId}/investor-interest-signals","href":"/api-reference/investors/get-investor-interest-signals"}]},{"group":"Transactions","pages":[{"title":"Get acquisition by ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /acquisitions/{acquisitionId}","href":"/api-reference/transactions/get-acquisition-by-id"},{"title":"Get funding round by ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /funding-rounds/{fundingRoundId}","href":"/api-reference/transactions/get-funding-round-by-id"},{"title":"Get IPO by ID","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /ipos/{ipoId}","href":"/api-reference/transactions/get-ipo-by-id"},{"title":"Get acquisitions by date","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /acquisitions","href":"/api-reference/transactions/get-acquisitions-by-date"},{"title":"Get funding rounds by date","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /funding-rounds","href":"/api-reference/transactions/get-funding-rounds-by-date"},{"title":"Get IPOs by date","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /ipos","href":"/api-reference/transactions/get-ipos-by-date"}]},{"group":"Signals","pages":[{"group":"Revenue Signals","pages":[{"title":"Get revenue signals by date","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /revenue-signals","href":"/api-reference/revenue-signals/get-revenue-signals-by-date"}]},{"group":"Talent Signals","pages":[{"title":"Get talent signals by date","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /talent","href":"/api-reference/talent-signals/get-talent-signals-by-date"}]},{"group":"Investor Interest Signals","pages":[{"title":"Get investor-interest signals by date","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /investor-interest","href":"/api-reference/investor-interest-signals/get-investor-interest-signals-by-date"}]}]},{"group":"Lists","pages":[{"group":"Company Lists","pages":[{"title":"Get all company lists","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/companies","href":"/api-reference/company-lists/get-all-company-lists"},{"title":"Create company list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /lists/companies","href":"/api-reference/company-lists/create-company-list"},{"title":"Get company list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/companies/{listId}","href":"/api-reference/company-lists/get-company-list"},{"title":"Update company list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json patch /lists/companies/{listId}","href":"/api-reference/company-lists/update-company-list"},{"title":"Delete company list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json delete /lists/companies/{listId}","href":"/api-reference/company-lists/delete-company-list"},{"title":"Get company list results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/companies/{listId}/results","href":"/api-reference/company-lists/get-company-list-results"}]},{"group":"Investor Lists","pages":[{"title":"Get all investor lists","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/investors","href":"/api-reference/investor-lists/get-all-investor-lists"},{"title":"Create investor list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /lists/investors","href":"/api-reference/investor-lists/create-investor-list"},{"title":"Get investor list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/investors/{listId}","href":"/api-reference/investor-lists/get-investor-list"},{"title":"Update investor list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json patch /lists/investors/{listId}","href":"/api-reference/investor-lists/update-investor-list"},{"title":"Delete investor list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json delete /lists/investors/{listId}","href":"/api-reference/investor-lists/delete-investor-list"},{"title":"Get investor list results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/investors/{listId}/results","href":"/api-reference/investor-lists/get-investor-list-results"}]},{"group":"People Lists","pages":[{"title":"Get all people lists","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/people","href":"/api-reference/people-lists/get-all-people-lists"},{"title":"Create people list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /lists/people","href":"/api-reference/people-lists/create-people-list"},{"title":"Get people list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/people/{listId}","href":"/api-reference/people-lists/get-people-list"},{"title":"Update people list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json patch /lists/people/{listId}","href":"/api-reference/people-lists/update-people-list"},{"title":"Delete people list","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json delete /lists/people/{listId}","href":"/api-reference/people-lists/delete-people-list"},{"title":"Get people list results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /lists/people/{listId}/results","href":"/api-reference/people-lists/get-people-list-results"}]}]},{"group":"Saved Searches","pages":[{"title":"Get all saved searches","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches","href":"/api-reference/saved-searches/get-all-saved-searches"},{"title":"Create saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json post /searches","href":"/api-reference/saved-searches/create-saved-search"},{"title":"Delete search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json delete /searches/{searchId}","href":"/api-reference/saved-searches/delete-search"},{"group":"Company Saved Searches","pages":[{"title":"Get company saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/companies/{searchId}","href":"/api-reference/company-saved-searches/get-company-saved-search"},{"title":"Get company saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/companies/{searchId}/results","href":"/api-reference/company-saved-searches/get-company-saved-search-results"}]},{"group":"People Saved Searches","pages":[{"title":"Get people saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/people/{searchId}","href":"/api-reference/people-saved-searches/get-people-saved-search"},{"title":"Get people saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/people/{searchId}/results","href":"/api-reference/people-saved-searches/get-people-saved-search-results"}]},{"group":"Investor Saved Searches","pages":[{"title":"Get investor saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/investors/{searchId}","href":"/api-reference/investor-saved-searches/get-investor-saved-search"},{"title":"Get investor saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/investors/{searchId}/results","href":"/api-reference/investor-saved-searches/get-investor-saved-search-results"}]},{"group":"Talent Signals Saved Searches","pages":[{"title":"Get talent signal saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/talent/{searchId}","href":"/api-reference/talent-signals-saved-searches/get-talent-signal-saved-search"},{"title":"Get talent signal saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/talent/{searchId}/results","href":"/api-reference/talent-signals-saved-searches/get-talent-signal-saved-search-results"}]},{"group":"Investor Interest Saved Searches","pages":[{"title":"Get investor-interest saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/investor-interest/{searchId}","href":"/api-reference/investor-interest-saved-searches/get-investor-interest-saved-search"},{"title":"Get investor-interest saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/investor-interest/{searchId}/results","href":"/api-reference/investor-interest-saved-searches/get-investor-interest-saved-search-results"}]},{"group":"Funding Rounds Saved Searches","pages":[{"title":"Get funding rounds saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/funding-rounds/{searchId}","href":"/api-reference/funding-rounds-saved-searches/get-funding-rounds-saved-search"},{"title":"Get funding rounds saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/funding-rounds/{searchId}/results","href":"/api-reference/funding-rounds-saved-searches/get-funding-rounds-saved-search-results"}]},{"group":"Acquisitions Saved Searches","pages":[{"title":"Get acquisitions saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/acquisitions/{searchId}","href":"/api-reference/acquisitions-saved-searches/get-acquisitions-saved-search"},{"title":"Get acquisitions saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/acquisitions/{searchId}/results","href":"/api-reference/acquisitions-saved-searches/get-acquisitions-saved-search-results"}]},{"group":"IPOs Saved Searches","pages":[{"title":"Get IPOs saved search","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/ipos/{searchId}","href":"/api-reference/ipos-saved-searches/get-ipos-saved-search"},{"title":"Get IPOs saved search results","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /searches/ipos/{searchId}/results","href":"/api-reference/ipos-saved-searches/get-ipos-saved-search-results"}]}]},{"group":"Network","pages":[{"title":"Get network people","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /network/people","href":"/api-reference/network/get-network-people"},{"title":"Get network companies","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /network/companies","href":"/api-reference/network/get-network-companies"},{"title":"Get network connections at a company","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /network/connection/{companyId}","href":"/api-reference/network/get-network-connections-at-a-company"}]},{"group":"Account","pages":[{"title":"Get organization members","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /organization/members","href":"/api-reference/account/get-organization-members"},{"title":"Get credit balance","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /organization/credits","href":"/api-reference/account/get-credit-balance"},{"title":"Get API call logs","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /logs","href":"/api-reference/account/get-api-call-logs"},{"title":"Get MCP call logs","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /logs-mcp","href":"/api-reference/account/get-mcp-call-logs"},{"title":"Health check","deprecated":null,"version":null,"openapi":"/api-ref/openapi.json get /health","href":"/api-reference/account/health-check"}]}]},{"tab":"Datasets","pages":[{"title":"Datasets","href":"/api-ref/datasets/delivery"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/api-ref/changes"}]}]},"basePath":"","title":"Cancel a turn - Specter API","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DPBgY0Zl.js","snippetPresets-DfrK5Qk-.js","utils-BhOu8MoY.js","style-to-object-BY3JEAdk.js","utils-uJw0j5Le.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bf5DiN6S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DIo_VyID.js","_Uint8Array-BCCZOmlk.js","isObject-FP1Yky1u.js","ApiExamples-btA_N7J3.js","usePlaygroundInputsStore-D9E8vgOP.js","shallow-BXJ3D3rC.js","isEqual-DTxWZblT.js","CodeSnippets-yZyeAOhB.js","CodeSnippet-DNSgsmyp.js","use-playground-group-access-B6tdpwEQ.js","Page-C_4zetsC.js","api-description-markdown-Bnx5o_aC.js","DynamicMarkdown-DGZbG3dj.js","SectionHeading-Su-XbcWJ.js","MethodPill-BEHdnIWE.js","getPastedJson-MUjpQ42l.js","Check2Icon-HQrwfTCD.js","axios-CsQoIw0U.js","Markdown-D9ZX5drj.js","AssistantPageLink-BDewKJsB.js","dist-1NU8F86Q.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}