Skip to main content
Version: Developer

Sessions

📄️/api/session/sessions/{session_id}/execution-commands

Exactly one of ``command`` or ``exec``. ``command`` names an entry of the image's exec configs; ``url`` is required for ``go`` and, when given, must be a URL. ``exec`` is a free-form command and requires the sessions-modify scope. Runs now against a running container (``queued: false``); a session still starting, being placed or being resumed queues it and the reconciler runs it the moment the container is serving (``queued: true``). A paused or stopped session is a 409.

📄️/api/session/shares/{share_id}/participants

A user joins as themselves and gets the participant view. An API key holding ``USERS_AUTH_SESSION`` is admitted as a new anonymous participant and also gets that identity's ``user_id``, ``username``, login JWT (``session_token``) and browser ``connect_url``. Anonymous admission accepts an optional ``Idempotency-Key`` header: when supplied, the same key replays the original participant and token, while a different request under a used key is 409. Without the header, every request creates a new anonymous participant. More anonymous users than ``auth.api_anonymous_creation_limit`` per hour is 429.