Skip to navigation

List Agents

Authentication

AuthorizationApi-Key

Type “Api-Key” followed by a space and the project API key.

Query parameters

page_sizeintegerOptional1-100Defaults to 50

The maximum number of items in one page. The SDK method returns a pager. In Python, .items holds only the first page. In TypeScript, .data holds only the first page. To read every page, iterate the pager: use for or list(...) in Python, or for await in TypeScript. In Go, the method returns one page, and Iterator() reads all pages.

cursorstringOptional
Opaque page cursor
order_byenumOptional
Sort field
Allowed values:
orderenumOptional
asc or desc
Allowed values:

Request

Filters
agent_idstringOptional

Filters to the exact developer-assigned Agent identifier.

deployment_idstringOptional
Filters to the exact deployment identifier.
metadatamap from strings to anyOptional

Filters to Agents whose metadata contains these key-value pairs.

searchstringOptional

Filters to Agents whose name, Agent identifier, deployment identifier, or deployment version contains this text. Matching is case-insensitive.

statusenumOptional
Filters to lifecycle status. Omit to include every status.
Allowed values:
versionstringOptional
Filters to the exact deployment version.

Response

OK
itemslist of objectsOptional
The Agents on this page.
next_cursorstringOptional
Opaque cursor for retrieving the next page, present only when more results are available.
total_sizeintegerOptional
The total number of Agents matching the filters and authorization scope.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error