List Agents
List agents.
offset, or any of sort, dir, search, labels, deployed, channels, created_by, modified_by or last_activity_after/before, pages api.agents_index: it searches name, company name and phone number, filters by labels and the other query parameters, and sets X-Total-Count on the first page (offset 0). Its page size defaults to 100. Otherwise, and whenever cursor or ids is given, it is the original listing, which returns every matching agent when no limit is given.
Request
- Base URLhttps://api.anyreach.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
Comma-separated agent ids, at most 50. Bypasses paging.
Rows to skip. Not combinable with cursor.
Page size, 1-1000. Defaults to 100 whenever offset, sort, search or a newer filter is given. The original listing, selected by none of those or by cursor or ids, returns every matching agent when no limit is given.
Legacy created_at cursor. Selects the original listing, which ignores sort, offset and the newer filters.
Matches the name, the company name, or phone number digits.
Cursor or ids mode: name contains this. Otherwise an alias of search, used when search is absent.
One of name, created_at, updated_at, created_by, modified_by, total_conversations, last_activity, deployed or label:<key>. Defaults to created_at.
asc or desc. Defaults to desc.
JSON object mapping a label key to a value, a list of values (any of them) or null (not set), e.g. {"industry": ["Telecom"]}.
Comma-separated subset of voice, chat, demo. Matches agents with all of them.
JSON object the agent's metadata must contain.
Headers
Organization ID for user PATs (pat_ prefix tokens)
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.