Sandboxes

Mint a single-use web terminal ticket

Changed on

Returns a short-lived, single-use credential for one web terminal WebSocket upgrade. The upgrade cannot use the browser's session cookie, because browsers do not apply the same-origin policy to WebSockets.

post/api/v0beta1/sandboxes/{id}/terminal-tickets

Request

  • Base URL
    https://app.amika.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://app.amika.dev/api/v0beta1/sandboxes/{id}/terminal-tickets
  • Auth
    • HTTP bearer
    • or API key in cookie wos-session

Path parameters

idstring required

Query parameters

sandbox_by'name' | 'id' | 'ref' | 'name_or_id'

How to interpret the sandbox {id} path param: ref/name_or_id (default; matches an id or a name and rejects an ambiguous match with 409 resource_ref_ambiguous), name, or id.

Response

One single-use terminal ticket.

ticketstring required
org_idstring required

Changes