List immutable policy versions
GET
/v1/authorization/policy-versionsLists content-addressed policy snapshots for a resource. Restricted to its owner and organization administrators.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
None.
Query parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| resourceType | query | string | Yes | — |
| resourceId | query | string | Yes | — |
| limit | query | integer | No | — |
Header parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| X-Computer-Agents-Organization | header | string | No | Active organization context. If omitted, the authenticated user's personal organization is used. |
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Immutable policy version historyapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| data | object[] | Yes | — |
| data[].id | string | Yes | Unique identifier. |
| data[].organizationId | string | Yes | — |
| data[].resourceType | string | Yes | — |
| data[].resourceId | string | Yes | — |
| data[].version | integer | Yes | — |
| data[].policy | object | Yes | — |
| data[].policyHash | string | Yes | — |
| data[].createdByUserId | string | No | — |
| data[].supersedesPolicyVersionId | string | No | — |
| data[].createdAt | string | Yes | ISO 8601 timestamp. |
| data[].activatedAt | string | No | — |
403Policy history access denied
None.