v7

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-024655133.4 KB
sessions

Get Or Create Session

Get a Session by ID or create a new Session with the given ID.

If Session ID is provided as a parameter, it verifies the Session is in the Workspace. Otherwise, it uses the session_id from the JWT for verification.

post/v3/workspaces/{workspace_id}/sessions

Path parameters

workspace_idstring required

Request body

idstring required
metadataobject nullable
peersobject nullable

Response

Successful Response

idstring required
is_activeboolean required
workspace_idstring required
metadataobject
configurationobject
created_atstring date-time required