List end users

List end users

GET/v1/end_users

A key with the end_users:read scope.

Request

curl "https://api.pod.mapier.ai/v1/end_users" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
refquerystringNoOnly the end user with this ref.
projectquerystringNoOnly this project. A key sees only its own.
tagquerystringNoOnly end users with this tag.
statequery"active" | "suspended"NoOnly end users in this state. Deleted ones are never listed.
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of end users, newest first.

200
{
  "data": [
    {
      "id": "enu_3ahrz6dmv29gqy5ckt18fp",
      "project": "prj_3ahrz6dmv29gqy5ckt18fp",
      "ref": "example",
      "trust_domain": "organisation",
      "created_at": "2026-11-23T12:00:00.000Z",
      "limits": {
        "max_sandboxes": {
          "value": 0,
          "from": "end_user"
        },
        "max_awake": {
          "value": 0,
          "from": "end_user"
        }
      },
      "spend_cap": {
        "amount_cents": null,
        "on_reach": "refuse",
        "from": "end_user",
        "currency": "example",
        "period": "example",
        "spent_cents": null,
        "reached": false
      },
      "display_name": null,
      "metadata": {},
      "tags": ["example"],
      "state": "active",
      "suspended_at": null,
      "policy": {
        "wakes_per_hour": null,
        "idle_s": null,
        "max_size": null,
        "max_vcpu": null
      },
      "tokens_valid_after": null
    }
  ],
  "next_cursor": null
}
FieldTypeAlwaysWhat it is
dataEndUser[]Yes
next_cursorstring | nullYes

Errors

The refusals this call is known for: invalid. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.endUsers.list()
Pythonpod.end_users.list()