GET
/
api
/
v1
/
agents
{
  "data": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "status": "ACTIVE",
      "autoConfirm": true,
      "description": "",
      "emailTrigger": {
        "active": true,
        "allowedSenders": [
          "<string>"
        ],
        "email": "<string>"
      },
      "dataSchema": {
        "title": "DataToExtract",
        "description": "",
        "type": "object",
        "properties": {},
        "required": [
          "<string>"
        ]
      },
      "dataDestinations": [
        {
          "type": "ASKUI_WORKFLOW",
          "host": "SELF",
          "runnerTags": [
            "<string>"
          ],
          "workflows": [
            "<string>"
          ]
        }
      ],
      "workspaceId": "<string>",
      "folderPath": "<string>"
    }
  ],
  "hasMore": false,
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agent_id
string[] | null
workspace_id
string[] | null
status
enum<string>[] | null
Available options:
ACTIVE,
ARCHIVED
skip
integer
default:
0
Required range: x >= 0
limit
integer
default:
100
Required range: 1 <= x <= 100
expand
enum<string>[] | null

total_count: Include the total number of agents that match the query, only accurate up to 100.

Available options:
total_count

Response

200
application/json
Successful Response
data
object[]
required
hasMore
boolean
default:
false

Whether there are more agents that match the query that were not included in this response.

totalCount
integer | null

The total number of agents that match the query, only accurate up to 100.