curl --request POST \
--url https://api.runtools.ai/v1/terminal/sandbox-sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sandboxId": "<string>"
}
'{
"data": {
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sandboxId": "<string>",
"wsPath": "/v1/terminal/sessions/abc-123",
"expiresAt": "2023-11-07T05:31:56Z"
}
}Returns wsPath for the websocket terminal bridge:
WS /v1/terminal/sessions/:sessionId. Replaces the legacy
?token= query terminal route.
curl --request POST \
--url https://api.runtools.ai/v1/terminal/sandbox-sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sandboxId": "<string>"
}
'{
"data": {
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sandboxId": "<string>",
"wsPath": "/v1/terminal/sessions/abc-123",
"expiresAt": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.