Skip to main content
GET
List Server Policy Revisions

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Scopes

openid

Issue an OIDC ID token identifying the caller.

profile

Read the caller's basic profile claims.

email

Read the caller's email address.

Query Parameters

mcp_server_id
string
required

MCP server to scope revisions to

limit
integer
default:20

Max items per page

Required range: 1 <= x <= 100
cursor
string | null

Opaque cursor from a previous response's next_cursor

since
string<date-time> | null

Inclusive lower bound on revised_at

Response

Successful Response

Cursor-paged page of policy revisions scoped to one MCP server (BCP-4458).

Backs GET /admin/v2/policy-revisions — one source instead of the per-policy fan-out the client used to do. No total/pages: this is keyset, not offset, pagination, so there is deliberately no COUNT.

data
PolicyRevisionSummary · object[]
required
next_cursor
string | null

Opaque cursor for the next page; null when there are no more results.