Skip to main content
POST
Submit an agent prompt

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}$
message
object
required

Response

AgentPromptAcknowledgement

status
enum<string>
required
Available options:
accepted
session_id
string
required
Pattern: ^(?:ags_)?[a-zA-Z0-9]{1,50}$
turn_id
string
required
Pattern: ^(?:atn_)?[a-zA-Z0-9]{1,50}$
message_id
string
required
Required string length: 1 - 200
stream_id
string
required
Required string length: 1 - 200
generation
integer
required
Required range: 1 <= x <= 9007199254740991