Create agent session
Agent sessions
Create agent session
Creates a durable workspace-scoped session for an agent.
POST
Create agent session
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 - 54Required string length:
1 - 200Available options:
BEGINNER, INTERMEDIATE, ADVANCED, EXPERT, ADAPTIVE Required string length:
1 - 54Required string length:
1 - 54Required string length:
1 - 54Required string length:
1 - 80Response
Agent session created
Required string length:
1 - 54Required string length:
1 - 53Required string length:
1 - 54Required string length:
1 - 54Available options:
ACTIVE, WAITING_FOR_INPUT, WAITING_FOR_PERMISSION, COMPLETED, FAILED, CANCELLED, ARCHIVED Available options:
DASHBOARD, API, MCP, ACP, AMBIENT, SYSTEM Available options:
BEGINNER, INTERMEDIATE, ADVANCED, EXPERT, ADAPTIVE Required string length:
1 - 54Required string length:
1 - 54Required string length:
1 - 54Required string length:
1 - 54Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0