> ## Documentation Index
> Fetch the complete documentation index at: https://quintsecurity.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Session Children

> List child sessions spawned from a parent session.

<Note>
  Requires `Authorization: Bearer` header with a deploy token (`qt_deploy_*`) or Supabase JWT.
</Note>

## Path Parameters

<ParamField path="id" type="string" required>
  UUID of the parent session.
</ParamField>

## Response

<ResponseField name="children" type="array">
  Array of child session records.

  <Expandable title="session object properties">
    <ResponseField name="id" type="string">
      Child session UUID.
    </ResponseField>

    <ResponseField name="session_name" type="string">
      Human-readable session name.
    </ResponseField>

    <ResponseField name="model" type="string">
      LLM model used.
    </ResponseField>

    <ResponseField name="state" type="string">
      Current state: `active`, `idle`, `ended`.
    </ResponseField>

    <ResponseField name="platform" type="string">
      Agent platform identifier.
    </ResponseField>

    <ResponseField name="parent_id" type="string">
      Parent session UUID (matches the path parameter).
    </ResponseField>

    <ResponseField name="started_at" type="datetime">
      When the child session began.
    </ResponseField>

    <ResponseField name="ended_at" type="datetime">
      When the child session ended. `null` if still active.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/children \
    -H "Authorization: Bearer qt_deploy_YOUR_TOKEN"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/children",
      headers={"Authorization": "Bearer qt_deploy_YOUR_TOKEN"},
  )
  print(response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "children": [
      {
        "id": "7ca8c921-aeae-22e2-91c5-11d15ge541d9",
        "session_name": "MCP server task",
        "model": "claude-sonnet-4-20250514",
        "state": "ended",
        "platform": "claude-code",
        "parent_id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
        "started_at": "2026-04-12T14:10:00Z",
        "ended_at": "2026-04-12T14:12:00Z"
      }
    ]
  }
  ```
</ResponseExample>
