latestOpenAPI 3.0.32026-08-20146131.7 MB

672b1916ba61

Policies

List policy controls

Lists wallet and API-key control targets in one paginated inventory. Every target, profile, binding, and evaluation is scoped to the authenticated organization and exact project.

get/v1/policies

Query parameters

target'wallet' | 'api_key' | 'all'

Control-target family to return.

Example:all

Control-target family to return.

status'default_allow' | 'draft' | 'active' | 'disabled'

Optional computed control status.

Example:active

Optional computed control status.

querystring

Case-insensitive substring match on wallet display name or API-key label.

Example:Treasury

Case-insensitive substring match on wallet display name or API-key label.

pageinteger

Page number (1-based).

Example:1

Page number (1-based).

pageSizeinteger

Items per page (max 100).

Example:25

Items per page (max 100).

Headers

x-project-idstring

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Example:prj_example

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Response

Policy-control inventory

Example response

{
  "data": {
    "controls": [
      {
        "updatedAt": "2025-01-01T00:00:00.000Z",
        "activatedAt": "2025-01-01T00:00:00.000Z",
        "latestEvaluation": {
          "evaluatedAt": "2025-01-01T00:00:00.000Z"
        }
      }
    ]
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}