curl --request GET \
--url https://control.ergoly.ai/api/v1/workers \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://control.ergoly.ai/api/v1/workers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://control.ergoly.ai/api/v1/workers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f",
"organizationId": "0d4c9f2e-4b8a-4a5b-9e21-6f9c2a1b7d30",
"slug": "rowan",
"displayName": "Rowan",
"description": "Answers support questions in the shared customer channels.",
"roleTitle": "Support engineer",
"status": "active",
"lastError": null,
"quarantined": false,
"quarantineReason": null,
"quarantinedAt": null,
"slack": {
"appId": "A0A1B2C3D4E",
"teamId": "T0A1B2C3D4E",
"teamName": "Northwind",
"botUserId": "U0A1B2C3D4E",
"installedScopes": "app_mentions:read,channels:history,chat:write,files:read",
"eventsUrl": "https://foreman.ergoly.ai/api/foreman/northwind/rowan/slack/events"
},
"overrides": {
"thinkingStatusText": null,
"thinkingTimeoutMs": null,
"routingErrorEmoji": null
},
"createdAt": "2026-02-11T14:03:22.000Z",
"updatedAt": "2026-03-04T09:14:02.000Z"
}
],
"page": {
"limit": 50,
"hasMore": true,
"nextCursor": "MjAyNi0wMy0wNFQwOToxNDowMi4wMDBafDhmMWMyZDNlLTlhNGItNGM1ZC04ZTZmLTFhMmIzYzRkNWU2Zg"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}List workers
Newest first. Deleted Workers are excluded; their eworks and scheduled jobs are excluded everywhere else for the same reason.
curl --request GET \
--url https://control.ergoly.ai/api/v1/workers \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://control.ergoly.ai/api/v1/workers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://control.ergoly.ai/api/v1/workers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f",
"organizationId": "0d4c9f2e-4b8a-4a5b-9e21-6f9c2a1b7d30",
"slug": "rowan",
"displayName": "Rowan",
"description": "Answers support questions in the shared customer channels.",
"roleTitle": "Support engineer",
"status": "active",
"lastError": null,
"quarantined": false,
"quarantineReason": null,
"quarantinedAt": null,
"slack": {
"appId": "A0A1B2C3D4E",
"teamId": "T0A1B2C3D4E",
"teamName": "Northwind",
"botUserId": "U0A1B2C3D4E",
"installedScopes": "app_mentions:read,channels:history,chat:write,files:read",
"eventsUrl": "https://foreman.ergoly.ai/api/foreman/northwind/rowan/slack/events"
},
"overrides": {
"thinkingStatusText": null,
"thinkingTimeoutMs": null,
"routingErrorEmoji": null
},
"createdAt": "2026-02-11T14:03:22.000Z",
"updatedAt": "2026-03-04T09:14:02.000Z"
}
],
"page": {
"limit": 50,
"hasMore": true,
"nextCursor": "MjAyNi0wMy0wNFQwOToxNDowMi4wMDBafDhmMWMyZDNlLTlhNGItNGM1ZC04ZTZmLTFhMmIzYzRkNWU2Zg"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}Authorizations
An organization-scoped API key, minted in control under Settings → API keys. Every failure to authenticate answers one identical 401: "Provide a valid organization-scoped API key or an active session." Each operation names the one scope it is filed under, <resource>:<read|write>, where the resource is the first path segment after /api/v1/; a key minted today carries all 22 of them. Scopes are RECORDED — on the key and on every audit row — and are not yet enforced: no request is refused for want of one.
Query Parameters
Page size. Defaults to 50, clamped at 200. A value that is not a positive integer is a 400.
Opaque keyset cursor from the previous page's page.nextCursor. A cursor this API did not issue is a 400, never a silent page one.

