Set agent session retention
Agent sessions
Set agent session retention
Updates retained filesystem policy for an agent session.
POST
Set agent session retention
Documentation Index
Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/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
Path Parameters
Required string length:
1 - 54Body
application/json
Unix timestamp (seconds)
Required range:
x >= 0Unix timestamp (seconds)
Required range:
x >= 0Available options:
SESSION_ACTIVE, PINNED, POLICY, TERMINAL_GRACE, MANUAL_DELETE Response
Agent session retention updated
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