API reference sections
Schema
SessionList
Type object
Shape
| Field | Type | Description |
|---|---|---|
| sessionsrequired | array of SessionSummary |
{
"sessions": [
{
"id": "00000000-0000-4000-8000-000000000000",
"parent_session_id": "00000000-0000-4000-8000-000000000000",
"profile": {
"kind": "built_in",
"value": "string"
},
"display_name": "string",
"working_directory": "string",
"mode": {
"kind": "raw_pty"
},
"process": {
"kind": "starting"
},
"controller": "detached",
"managed": "idle",
"active_turn_id": "00000000-0000-4000-8000-000000000000",
"attention": {
"unread_count": 0,
"requires_user": false,
"reason": "background_output"
},
"pending_attachment_count": 0,
"capabilities": [],
"project_id": "00000000-0000-4000-8000-000000000000",
"handover": "idle",
"model": {
"requested": "string",
"reported": "string"
},
"origin": {
"kind": "manual"
},
"created_at_ms": 0
}
]
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
