List agents
Lists all agents in the workspace
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace ID.
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Query Parameters
Maximum number of results to return
Pagination cursor from previous response
Filter expression (query param: prefix)
Free-form search query
Filter by agent lifecycle state
STATE_UNSPECIFIED, STATE_DRAFT, STATE_PUBLISHED, STATE_ARCHIVED Filter by variation selection mode
VARIATION_SELECTION_MODE_UNSPECIFIED, VARIATION_SELECTION_MODE_RANDOM, VARIATION_SELECTION_MODE_WEIGHTED Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).
Sort order for results (asc or desc by creation time)
When true, the info field on each returned agent is populated. Requests
with this flag count more against your rate limit.