pydo.harness.list_config_sessions()

Generated on 13 Nov 2026 from pydo version v0.46.0

Usage

client.harness.list_config_sessions(
    config_id="019fb39c-14d9-7080-933e-b9b90e25acda",
    page_size=50,
    page_token=None,
    status=None,
)
Returns JSON Raises HttpResponseError

Description

Enumerates the caller’s team sessions whose session was created from this durable Environment Config. Keyset-paginated on an opaque cursor, newest first, same shape and status semantics as GET /v2/agents/sessions.

Parameters

config_id string required

Example: 019fb39c-14d9-7080-933e-b9b90e25acda

The Environment Config UUID.

page_size integer optional

Example: 50

Page size. Defaults to 50 when omitted or non-positive; values above 200 are clamped to 200.

Min: 1

Max: 200

Default: 50

page_token string optional

Opaque keyset cursor returned by the previous page. Empty starts from the beginning.

status string optional

Optional filter on session status. Empty / SESSION_STATUS_UNSPECIFIED still hides destroyed and failed sessions by default; SESSION_STATUS_ALL opts out and returns every session regardless of status.

One of: SESSION_STATUS_UNSPECIFIED, SESSION_STATUS_PROVISIONING, SESSION_STATUS_READY, SESSION_STATUS_DETACHED, SESSION_STATUS_DESTROYING, SESSION_STATUS_DESTROYED, SESSION_STATUS_FAILED, SESSION_STATUS_PAUSED, SESSION_STATUS_ALL

Response Example

Show Response Example
{
  "sessions": [
    {
      "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "demo-agent",
      "parent_session_id": "example",
      "fork_id": "11111111-2222-3333-4444-555555555555",
      "fork_from_checkpoint_id": "example",
      "agent_kind": "AGENT_KIND_UNSPECIFIED",
      "status": "SESSION_STATUS_UNSPECIFIED",
      "sandbox_id": "example",
      "created_at": "2026-08-01T12:00:00Z",
      "last_event_at": "2026-08-01T12:00:00Z",
      "keep_warm": false,
      "resume_on_topoff": false,
      "pause_reason": "example",
      "idle_timeout_seconds": 60,
      "repo_hint": "example",
      "warnings": [],
      "config_id": "11111111-2222-3333-4444-555555555555",
      "openai_session_id": "example",
      "openai_environment_id": "example",
      "region": "ric1",
      "workspace_id": "019a2f4e-8c1d-7b3a-9e5f-2d6c8a1b4e70"
    }
  ],
  "next_page_token": "example"
}

More Information

See /v2/agents/configs/{config_id}/sessions in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.