Covendocs
API ReferenceSessionsList active sessions GET

List active sessions

List active sessions, optionally including archived sessions.

1 min read

GET
/sessions

Response Body

application/json

application/json

curl -X GET "https://example.com/sessions"
[
  {
    "id": "session-1",
    "project_root": "/Users/example/project",
    "harness": "codex",
    "title": "Fix failing tests",
    "status": "running",
    "exit_code": null,
    "archived_at": null,
    "created_at": "2026-05-09T06:43:00.000Z",
    "updated_at": "2026-05-09T06:43:05.000Z"
  }
]
{
  "error": {
    "code": "internal_error",
    "message": "Unexpected internal daemon error.",
    "details": {}
  }
}
Was this page helpful?No