Skip to main content
GET
Get Policies Summary

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.

Response

200 - application/json

Successful Response

Summary counts of policies by status.

active
integer
default:0
draft
integer
default:0
inactive
integer
default:0
archived
integer
default:0
total
integer
default:0