Endpoint
Authentication
All requests must include a valid bearer token in theAuthorization header, or a pay3_session cookie obtained during wallet authentication.
Response
Returns an array of active AI session objects, ordered newest first. Only sessions withACTIVE status and a future expiry time are returned — expired and revoked sessions are excluded. To revoke a session, see Revoke Sessions.
Response fields
string
required
Unique UUID identifying this AI session.
string
required
The AI client associated with this session. One of
CURSOR, CLAUDE, CHATGPT, GEMINI, or OTHER.string
required
The Ed25519 public key (Stellar G-address) of the ephemeral session keypair registered on-chain. This key signs transactions submitted by the AI on your behalf.
string
required
ISO 8601 timestamp after which the session automatically becomes inactive.
string
required
ISO 8601 timestamp when the session was created.
object
required
Summary of the spending policy governing this session’s transaction limits.
object
required
The smart account (Soroban contract) this session is authorized to operate on.
Example request
Example response
This endpoint returns only active sessions — those that are currently valid and have not yet expired. To revoke one or all sessions, see Revoke Sessions. Revoked and expired sessions are not returned here, but their associated transactions remain visible in GET /api/transactions.