Skip to main content
GET
Session status
Says who the bearer token signed in as, the subscription it acts under as the chain has it now, and how many rounds the current term has used. An unknown, expired or revoked token is 401 and costs no chain read.
  • role is owner or delegate.
  • subscription.active says the signed-in key may run rounds now: the term has not ended and, for a delegate, its delegate account exists. An inactive or missing subscription is still 200, with active: false and usage: null.
  • usage.used counts every key’s rounds under the subscription this term, and usage.usedByYou the signed-in key’s own. The count includes rounds reserved and not yet served. The counters reset at usage.termEndsAt.
  • subscription.maxRounds is the owner-wide quota per term. delegate.maxRounds is a delegate’s own cap, the smaller of the plan’s quota and the delegate’s max_data_requests; delegate is null for an owner.
Served only when GET /v1/info reports sessionAuth: true; otherwise this route returns 404.

Authorizations

Authorization
string
header
required

Session token from POST /v1/session, sent as Authorization: Bearer <token>. Required for GET /v1/session and DELETE /v1/session. On POST /v1/round/execute it is optional and replaces RequestAuth (authSig and authTimestamp in the body); sending both is 400.

Response

OK

data
object
status
string
Example:

"ok"