Cancel agent turn
Agent turns
Cancel agent turn
Cancels a running or queued agent turn.
POST
Cancel agent turn
Documentation Index
Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Caller-supplied idempotency key. Repeated requests with the same key return the existing resource instead of creating a duplicate. Safe to retry after a timed-out or interrupted request.
Required string length:
1 - 64Example:
"create-prod-2026-05-07"
Path Parameters
Required string length:
1 - 54Response
Agent turn cancelled
Required string length:
1 - 54Required string length:
1 - 53Required string length:
1 - 54Required string length:
1 - 54Required string length:
1 - 54Available options:
QUEUED, RUNNING, WAITING_FOR_INPUT, WAITING_FOR_PERMISSION, COMPLETED, FAILED, CANCELLED Available options:
DASHBOARD, API, MCP, ACP, AMBIENT, SYSTEM Available options:
AUTO, CODE_MODE, RETAINED_RUNTIME Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0Available options:
ALLOWED, DENIED, APPROVAL_REQUIRED, null Available options:
CODE_MODE, RETAINED_RUNTIME, null Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0