Skip to content
Navigation

Read the session’s sandbox container state

Answers { state, sbxId?, lastSeenAt?, backupAt? }. none — no container and no backup yet; queued — a turn is waiting for one of the organization’s container slots; provisioning / ready — a turn is live; sleeping — nothing is running and the last /workspace backup is what the next turn restores. A pure read: it never provisions a container. Authorization: the session read gate; any denial is 404.

GET
https://api.cloudraker.com/workspace/sessions/{sessionId}/sandbox
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • sessionId
    string
    required

Returns

200

The container state.

JSON
  • state
    none
    or
    queued
    or
    provisioning
    or
    ready
    or
    sleeping
    required
  • sbxId
    optional
    string
  • lastSeenAt
    optional
    string
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • backupAt
    optional
    string
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

404

No such session, or the caller may not see it.

Type to search…

↑↓ navigate↵ selectEsc close