Skip to main content
POST
Stop an exact agent Turn

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Headers

akua-context
string
Required string length: 1 - 54

Body

application/json
session_id
string
required
Pattern: ^(?:ags_)?[a-zA-Z0-9]{1,50}$
turn_id
string
required
Pattern: ^(?:atn_)?[a-zA-Z0-9]{1,50}$
reason
string
Required string length: 1 - 1024

Response

AgentStopAcknowledgement

status
enum<string>
required
Available options:
cancelled
session_id
string
required
Pattern: ^(?:ags_)?[a-zA-Z0-9]{1,50}$
turn_id
string
required
Pattern: ^(?:atn_)?[a-zA-Z0-9]{1,50}$