v4
OpenAPI 3.1.02026-07-313621,3961.8 MBList Agents
Returns a list of your agents and their metadata.
Query parameters
How many Agents to return at maximum. Can not exceed 100, defaults to 30.
How many Agents to return at maximum. Can not exceed 100, defaults to 30.
Search by agents name.
Search by agents name.
Filter agents by archived status
Filter agents by archived status
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. Deprecated: use created_by_user_id instead.
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. Deprecated: use created_by_user_id instead.
Filter agents by creator user ID. When set, only agents created by this user are returned. Takes precedence over show_only_owned_agents. Use '@me' to refer to the authenticated user.
Filter agents by creator user ID. When set, only agents created by this user are returned. Takes precedence over show_only_owned_agents. Use '@me' to refer to the authenticated user.
The direction to sort the results
The field to sort the results by
Used for fetching next page. Cursor is returned in the response.
Used for fetching next page. Cursor is returned in the response.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"agents": [
{
"access_info": {
"creator_email": "john@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
},
"agent_id": "J3Pbu5gP6NNKBscdCdwB",
"archived": false,
"created_at_unix_secs": 1716153600,
"name": "My Agent",
"tags": [
"Customer Support",
"Technical Help",
"Eleven"
]
}
],
"has_more": false,
"next_cursor": "123"
}