AI Discovery

List AI Agents

Returns the AI agents (for example Cursor, Claude Code, Windsurf) discovered across your organization's devices, merged by agent name with the per-device instances that reported them.

get/api/discovery/agents

Request

  • Base URL: https://app.withwillow.ai
  • URL: https://app.withwillow.ai/api/discovery/agents
  • Auth: HTTP bearer

Query parameters

cursorinteger

Zero-based cursor offset for pagination.

limitinteger

Maximum number of agents to return (1-200).

Response

List of AI agents retrieved successfully

Example response

{
  "data": [
    {
      "name": "cursor",
      "deviceCount": 12,
      "firstSeenAt": "2024-05-01T08:30:00Z",
      "lastSeenAt": "2024-06-01T12:00:00Z",
      "instances": [
        {
          "deviceId": "e3b0c44298fc1c149afbf4c8996fb924",
          "hostname": "johns-macbook",
          "username": "john"
        }
      ]
    }
  ],
  "pagination": {
    "hasMore": true,
    "total": 128
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.