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
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
ref | query | string | No | Only the end user with this ref. |
project | query | string | No | Only this project. A key sees only its own. |
tag | query | string | No | Only end users with this tag. |
state | query | "active" | "suspended" | No | Only end users in this state. Deleted ones are never listed. |
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of end users, newest first.
{
"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
}| Field | Type | Always | What it is |
|---|---|---|---|
data | EndUser[] | Yes | |
next_cursor | string | null | Yes |
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
| Client | Call |
|---|---|
| TypeScript | pod.endUsers.list() |
| Python | pod.end_users.list() |