Skip to main content
GET
Compare 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.

Path Parameters

policy_id
string
required

Query Parameters

from
string
required
to
string
required

Response

Successful Response

before
PolicyRevisionCompareSide · object
required
after
PolicyRevisionCompareSide · object
required
changes
Changes · object
required
categories
string[]
resolved_refs
Resolved Refs · object
rule_titles
Rule Titles · object