List agents
Returns a list of your agents and their metadata.
Headers
xi-api-key
Query parameters
page_size
How many Agents to return at maximum. Can not exceed 100, defaults to 30.
search
Search by agents name.
archived
Filter agents by archived status
show_only_owned_agents
If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own
sort_direction
The direction to sort the results
Allowed values:
sort_by
The field to sort the results by
Allowed values:
cursor
Used for fetching next page. Cursor is returned in the response.
Response
Successful Response
agents
A list of agents and their metadata
has_more
Whether there are more agents to paginate through
next_cursor
The next cursor to paginate through the agents