Create agent
Agents
Create agent
Creates a durable workspace-scoped agent identity.
POST
Create agent
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
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.
Required string length:
1 - 53Example:
"ws_j572abc123def456"
Body
application/json
Required string length:
1 - 120Required string length:
1 - 20000Required array length:
1 - 10 elementsAvailable options:
CHAT, CODING, AMBIENT Maximum string length:
500Response
Agent created
Required string length:
1 - 54Required string length:
1 - 53Required string length:
1 - 54Available options:
ENABLED, ARCHIVED Available options:
PLATFORM, USER, SYSTEM Available options:
CHAT, CODING, AMBIENT Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0