List the project's stored policies

The organization's baseline, the project's policy, its named policies and its default for sandboxes with no policy, top layer first.

GET/v1/policies

The organization's baseline, the project's policy, its named policies and its default for sandboxes with no policy, top layer first.

A key with the permissions:read scope.

Request

curl "https://api.pod.mapier.ai/v1/policies?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.
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of policies.

200
{
  "data": [
    {
      "id": "example",
      "name": "example",
      "layer": "organisation",
      "version": 1,
      "mode": "enforce",
      "log_only_until": null,
      "rule_count": 0,
      "sandboxes": 0,
      "updated_at": "2026-11-23T12:00:00.000Z",
      "updated_by": "example",
      "preset": null
    }
  ],
  "next_cursor": null
}
FieldTypeAlwaysWhat it is
dataPolicySummary[]Yes
next_cursorstring | nullYes

Errors

The refusals this call is known for: invalid, unauthorized, forbidden. 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.