Agents

What the App owns, and the id everything else is keyed on.

Listing them

GET /v1/agents — every agent in the key's App that has not been deleted.

bash
curl https://api.tigerbase.cloud/v1/agents \
  -H "Authorization: Bearer $TIGERBASE_KEY"
200 OK
[
  {
    "publicId": "a1b2c3d4…",
    "name": "Returns Desk",
    "isActive": true,
    "createdAt": "2026-10-01T09:12:44.000Z"
  },
  {
    "publicId": "e5f6a7b8…",
    "name": "Bookings",
    "isActive": false,
    "createdAt": "2026-08-14T16:03:10.000Z"
  }
]

What comes back

publicIdThe agent's stable public id. Every other method takes this — it is not the database id and it does not change.
nameAs set in the dashboard.
isActiveWhether it is answering. Inactive agents are included: one that is switched off is still yours, and hiding it would make it look deleted.
createdAtAn ISO timestamp.

TipKeep the publicId, not the name

Names change in the dashboard; the publicId does not. Store the id in your configuration and look the name up when you need to show it.

NoteDeliberately not the whole record

The agent's own credentials — its publishable key, its secret hash, its integration key — are not returned. A read scope is not a licence to collect other credentials, and a key that could read them would effectively hold every key the App has.

Scope

Needs read. Without it the call throws forbidden_scope — the key is valid, it simply was not granted this.

Cancelling

typescript
const controller = new AbortController();
setTimeout(() => controller.abort(), 5_000);

const agents = await tigerbase.agents({ signal: controller.signal });

Every method takes a signal. An aborted call throws aborted, which is not a failure — you asked for it, and treating it as an error puts a red banner on screen every time a page navigates away mid-request.