Query the record
Rows of the record, newest first, written by the servers that made each decision.
GET/v1/records
Rows of the record, newest first, written by the servers that made each decision. Rows are visible within 10 seconds of the decision and kept 90 days. Query strings are stored with their values removed, and bodies are not recorded.
A key with the permissions:records scope.
Request
curl "https://api.pod.mapier.ai/v1/records?project=example" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
sandbox | query | string | No | |
verdict | query | "allow" | "ask" | "deny" | No | |
action | query | "read" | "write" | "net" | "use" | "msg" | No | |
policy | query | string | No | |
from | query | string | No | Rows at or after this time. |
to | query | string | No | Rows before this time. |
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of rows, newest first.
{
"data": [
{
"id": "example",
"at": "2026-11-23T12:00:00.000Z",
"sandbox": "example",
"action": "read",
"thing": "example",
"verdict": "allow",
"log_only": false,
"rule": null,
"policy": null,
"policy_version": null,
"ask": null,
"approver": null,
"claimed_agent": null,
"enforcement_point": "egress",
"reason": "example",
"end_user": null,
"destination": {
"address": "example",
"port": 0,
"protocol": "tcp"
},
"bytes_out": 0,
"bytes_in": 0,
"duration_ms": 0,
"name_looked_up": "example",
"site": "example",
"method": "example",
"path": "example",
"status": 1,
"tool": "example",
"read": false,
"taken_over": false,
"folder": "example",
"mode": "read",
"sender_domain": "example",
"receiver_domain": "example",
"claimed_site": "example",
"claimed_session": "example",
"claimed_tool_call": "example",
"claimed_reason": "example",
"claimed_program": "example",
"seq": 0,
"prev_hash": "example",
"hash": "example"
}
],
"next_cursor": null
}| Field | Type | Always | What it is |
|---|---|---|---|
data | RecordRow[] | Yes | |
next_cursor | string | null | Yes |
Errors
The refusals this call is known for: invalid, unauthorized, forbidden, rate_limited. 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.