List Agents
Authentication
AuthorizationApi-Key
Type “Api-Key” followed by a space and the project API key.
Query parameters
page_size
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.
cursor
Opaque page cursor
order_by
Sort field
Allowed values:
order
asc or desc
Allowed values:
Request
Filters
agent_id
Filters to the exact developer-assigned Agent identifier.
deployment_id
Filters to the exact deployment identifier.
metadata
Filters to Agents whose metadata contains these key-value pairs.
search
Filters to Agents whose name, Agent identifier, deployment identifier, or deployment version contains this text. Matching is case-insensitive.
status
Filters to lifecycle status. Omit to include every status.
Allowed values:
version
Filters to the exact deployment version.
Response
OK
items
The Agents on this page.
next_cursor
Opaque cursor for retrieving the next page, present only when more results
are available.
total_size
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