List refs
PreviewManage execution sessions and rooms, and their files, tasks, storage, databases and managed sandboxes.
GET
/v1/sessions/{session_id}/git/refsSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
string
Session ID
Responses
200List of refs
List of refs
Media typeapplication/json
Array<object>
A git ref (branch pointer)
object
is_symbolic
required
boolean
name
required
Human-readable name. Safe to render in user-facing messages.
string
target
required
string
Example generated
[ { "is_symbolic": true, "name": "example", "target": "example" }]