Skip to main content
A session is a wallet budget on one chain. The API stores live budget state, reserves part of that budget before work starts, and settles or releases the reservation when the request ends. The spendable amount is:

Read session state

Active response:
Inactive response:
Common reasons are none, expired, revoked, budget_exhausted, missing_budget_state, and invalid_key.

Reserve and settle

The reservation step matters. A long streaming request can hold budget while it runs, so two parallel calls cannot spend the same remaining amount.

Session events

The endpoint streams session status events over Server-Sent Events. When the active session becomes unavailable, the API sends:

Response headers