Rensei docs

List A2A Cedar policies for a project in the authenticated org.

Returns the authenticated org's A2A Cedar policies for a project (project scope is encoded in the policy name prefix). Bearer-reachable read for human principals (user token or browser session) with at least the auditor org role; rsk_* API keys and BYOA OAuth-agent tokens carry no org role and are rejected 403. Strictly org-scoped.

GET
/api/factory/a2a/policies

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Query Parameters

projectId*string

The project whose A2A policies to list (required).

Response Body

application/json

curl -X GET "https://example.com/api/factory/a2a/policies?projectId=string"
{
  "policies": [
    {
      "id": "string",
      "orgId": "string",
      "projectId": "string",
      "name": "string",
      "cedarText": "string",
      "enabled": true,
      "templateId": "string",
      "templateInputs": {
        "property1": null,
        "property2": null
      },
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}
Empty
Empty
Empty