> ## 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.

# List Agents

> List all AI agents detected across your fleet.

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

## Response

<ResponseField name="agents" type="array">
  Array of detected agent records.

  <Expandable title="agent object properties">
    <ResponseField name="id" type="string">
      Agent identifier.
    </ResponseField>

    <ResponseField name="platform" type="string">
      Agent platform (e.g., `claude-code`, `cursor`, `windsurf`).
    </ResponseField>

    <ResponseField name="signing_id" type="string">
      Code signing identity used for detection.
    </ResponseField>

    <ResponseField name="first_seen" type="datetime">
      When this agent was first detected.
    </ResponseField>

    <ResponseField name="last_seen" type="datetime">
      When this agent was most recently active.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.quintai.dev/v1/agents \
    -H "Authorization: Bearer qt_deploy_YOUR_TOKEN"
  ```

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

  response = requests.get(
      "https://api.quintai.dev/v1/agents",
      headers={"Authorization": "Bearer qt_deploy_YOUR_TOKEN"},
  )
  print(response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "agents": [
      {
        "id": "claude-code",
        "platform": "claude-code",
        "signing_id": "com.anthropic.claude-code",
        "first_seen": "2026-04-10T09:00:00Z",
        "last_seen": "2026-04-12T15:30:00Z"
      },
      {
        "id": "cursor",
        "platform": "cursor",
        "signing_id": "com.todesktop.cursor",
        "first_seen": "2026-04-11T10:00:00Z",
        "last_seen": "2026-04-12T14:00:00Z"
      }
    ]
  }
  ```
</ResponseExample>
