Skip to main content
POST
/
v1
/
preflight
/
check
Check fitness for action
curl --request POST \
  --url https://pnbr.io/v1/preflight/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subject": {
    "type": "<string>",
    "id": "<string>"
  },
  "purpose": "<string>",
  "required": [
    "<string>"
  ],
  "optional": [
    "<string>"
  ]
}
'

Authorizations

Authorization
string
header
required

A pnbr- API key. Project-scoped keys make project_id implicit; org-scoped keys require it.

Body

application/json
subject
object
purpose
string
required
string[]
optional
string[]

Response

200

A Verdict (disposition + findings).