Agents
List Agents
Every agent in your workspace, newest first, in the same shape Get Agent returns. Page with limit and cursor.
GET/agents
Query parameters
- limitinteger
- How many items to return, 1 to 100. Default:
25. Range: 1–100. - cursorstring
- The
nextCursorfrom the previous page. Leave it out for the first page.
Headers
- Katexs-Workspacestring
- Developers only: the customer workspace this request acts in — its
org_…id fromPOST /customers. Leave it out to act in your own workspace. Refused with404(Workspace not found.) when the id is unknown, is not one of your customers, or is not anorg_…id;410when that customer was deleted (restore it withPOST /customers/{id}/restoreuntil it is erased);403when the key belongs to one customer workspace (it cannot act as another);400when your workspace is not a developer workspace./customers/*andGET /customers/usageare your own workspace's and refuse the header with400: call them without it.
Example request
bash
curl "https://app.katexs.com/api/v1/agents" \
-H "Authorization: Bearer $KATEXS_API_KEY"Responses
| Status | Description |
|---|---|
200 | A page of agents. |
400 | limit or cursor is not valid. |
401 | The key is missing, wrong or revoked. The answer is always the same, whichever it is. |
403 | The key's access level (read-only or build) does not allow this request, the plan does not include it, or a customer's key named another workspace in Katexs-Workspace. code says which: key_scope_read, key_scope_build, workspace_header_forbidden, or forbidden. |
404 | The Katexs-Workspace header names a workspace that is unknown, is not one of your customers, or is not an org_… id. Always this one sentence, so a key cannot learn which ids exist in other accounts. |
410 | The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date. |
429 | Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit. |
Response fields
- itemsobject[]required
- The agents on this page, newest first.
- nextCursorstring | nullrequired
- Pass as
cursorfor the next page; null on the last page.
200 response
{
"items": [
{
"id": "ag_5c4a5f93-2b1e-4d7a-9f60-8e2d1c3b4a71",
"name": "Skyline Sales",
"instructions": "You call people who enquired about a flat at Sky Towers, Baner. Find out their budget, preferred size and when they can visit the site.",
"greeting": "Namaste, I'm calling from Skyline Homes about your enquiry for Sky Towers.",
"businessDescription": "Skyline Homes builds 2 and 3 bedroom homes in Austin.",
"model": "prana-voice",
"temperature": 0.3,
"maxReplyTokens": 300,
"language": "Hindi",
"secondLanguage": null,
"escalation": {
"onNoAnswer": false,
"onRequest": true
},
"captureLeads": true,
"ownRules": false,
"scheduleCallbacks": false,
"steps": [
{
"title": "Confirm the enquiry",
"detail": "Check they enquired about Sky Towers and are still looking.",
"branches": [],
"collect": []
},
{
"title": "Budget and size",
"detail": "Ask for their budget and whether they want a 2 BHK or a 3 BHK.",
"branches": [],
"collect": []
}
],
"widget": {
"theme": "classic",
"accent": "#0f766e",
"height": 806,
"welcomeScreen": true,
"welcomeCollectLeads": true
},
"voice": {
"answersCalls": true,
"surfaces": [
"web",
"whatsapp",
"phone"
],
"voice": "priya",
"phoneNumber": "+14155550134",
"language": null,
"summariseCalls": true,
"detectMachines": false,
"recordCalls": true,
"maxCallSeconds": 300,
"ringSeconds": 30,
"pastConversations": "quiet",
"unavailableMessage": null,
"unavailableMessageNote": null,
"callStartUrl": null,
"thinking": true,
"thinkingLines": [],
"thinkingDelayMs": 900,
"thinkingRepeatMs": 2500,
"thinkingAtTurnEnd": false,
"turnSilenceSeconds": null,
"turnDetection": null,
"reaskAfterSeconds": null,
"recordDoNotCall": true,
"interruptWords": 3,
"neverInterrupt": false,
"earlyAnswers": true,
"holdShortSpeech": true,
"greetingUninterruptible": false,
"ambience": null,
"ambienceVolume": 0.15,
"endCallOnFinish": false,
"nudgeAfterSeconds": null,
"nudges": 1,
"nudgePhrase": null,
"endAfterSilenceSeconds": null,
"endPhrases": [],
"callInstructions": null
},
"byok": "workspace",
"collectFields": [
{
"name": "budget",
"type": "number",
"description": "Budget in dollars",
"choices": null
},
{
"name": "interest",
"type": "text",
"description": null,
"choices": [
"Hot",
"Warm",
"Cold"
]
}
],
"webKey": "pk_9fQ2xLm7Rt4vWb8KcN3hYd6sJ1pZ",
"createdAt": "2026-09-17T09:39:31.204Z"
}
],
"nextCursor": "MjAyNi0wOS0xN1QwOTozOTozMS4yMDRafDVjNGE1ZjkzLTJiMWUtNGQ3YS05ZjYwLThlMmQxYzNiNGE3MQ"
}Last updated November 2026 · Found a problem? Email support@katexs.com
