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

NameInTypeRequiredWhat it is
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden.
sandboxquerystringNo
verdictquery"allow" | "ask" | "deny"No
actionquery"read" | "write" | "net" | "use" | "msg"No
policyquerystringNo
fromquerystringNoRows at or after this time.
toquerystringNoRows before this time.
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of rows, newest first.

200
{
  "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
}
FieldTypeAlwaysWhat it is
dataRecordRow[]Yes
next_cursorstring | nullYes

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.