Skip to main content
POST
A session key is what gets handed to an AI agent or automated process. It is checked on every debit pull against the on-chain Allowance State Machine, so it can never authorize more than its parent mandate’s ceiling for the current epoch.

Body Parameters

string
required
The mandate this session key is scoped to.
integer
required
Time-to-live in seconds. Common values: 3600 (1 hour), 86400 (1 day).
number
Optional tighter ceiling for this specific key, must be ≤ the parent mandate’s max_amount.
array
Optional allow-list of destination addresses or account IDs this key may pay out to.

Response

string
Session key ID, prefixed sk_.
string
active, expired, or revoked.

Revoking a session key

Revoking a session key does not affect the parent mandate or any other session keys issued under it.