Skip to content
Hexel StudioDocs

Get session

GET/titan/admin/sessions/{id}

Path parameters

idstring

Query parameters

includeoptional string

swarm: add the live swarm view of the session's tree. Accepted only where the Gateway's swarm supervision lists the deployment; otherwise, like any other query, INVALID_REQUEST.

One of: "swarm"

Headers

Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

The enforcement deployment this call acts on (its td-... id). Required on the shared plane, where one Gateway serves many tenants and there is no default: a missing, unknown, repeated or other organization's deployment answers 403, like a failed authorization. Optional on a dedicated cell, which defaults to its one deployment.

Returns

200Successful response; exact status varies by operation.object

created_atstringdate-time
expires_atstringdate-time

One of: "none", "session", "agent", "deployment", "workspace", "organization", "unknown"

killedboolean
lease_expires_atstringdate-time
statestring

One of: "active", "suspended", "revoked", "expired", "closed"

swarmoptional object

Only with include=swarm.

Errors

  • 400Admin error
  • 403Admin error
  • 404Admin error
  • 503Admin error