Reference
API reference
Generated from the running application. Every path, method, and parameter below exists in this build. Requests carry a server credential as a Bearer token; browser credentials can only submit evidence.
Contract metadata
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/meta | Meta |
Credential identity
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/credential | Credential identity |
Protected actions and policies
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/actions | List actions |
POST | /api/v1/actions | Create action |
DELETE | /api/v1/actions/{action_id} | Archive action |
GET | /api/v1/actions/{action_id} | Get action |
PATCH | /api/v1/actions/{action_id} | Update action |
GET | /api/v1/actions/{action_id}/policy-versions | List policy versions |
POST | /api/v1/actions/{action_id}/policy-versions | Create policy version |
POST | /api/v1/actions/{action_id}/policy-versions/{version}/activate | Activate policy version |
Subjects
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/subjects | List subjects |
POST | /api/v1/subjects | Create subject |
DELETE | /api/v1/subjects/{subject_id} | Delete subject |
GET | /api/v1/subjects/{subject_id} | Get subject |
POST | /api/v1/subjects/{subject_id}/adaptation/freeze | Freeze adaptation |
POST | /api/v1/subjects/{subject_id}/enrollments/complete | Complete enrollment |
POST | /api/v1/subjects/{subject_id}/export | Export subject |
POST | /api/v1/subjects/{subject_id}/passkeys/register/complete | Passkey register complete |
POST | /api/v1/subjects/{subject_id}/passkeys/register/options | Passkey register options |
POST | /api/v1/subjects/{subject_id}/passkeys/registration-grants | Create passkey registration grant |
DELETE | /api/v1/subjects/{subject_id}/passkeys/{passkey_id} | Revoke passkey |
POST | /api/v1/subjects/{subject_id}/recovery | Begin recovery |
POST | /api/v1/subjects/{subject_id}/research-consent | Research consent |
POST | /api/v1/subjects/{subject_id}/revoke | Revoke subject |
Browser credentials
| Method | Path | Purpose |
|---|---|---|
POST | /api/v1/client-tokens | Create client token |
Sessions and evidence
| Method | Path | Purpose |
|---|---|---|
POST | /api/v1/sessions | Create session |
GET | /api/v1/sessions/{session_id}/assessment | Session assessment |
POST | /api/v1/sessions/{session_id}/end | End session |
POST | /api/v1/sessions/{session_id}/evidence | Submit evidence |
GET | /api/v1/sessions/{session_id}/status | Session status |
Authorization
| Method | Path | Purpose |
|---|---|---|
POST | /api/v1/authorize | Authorize |
Authorizations and outcomes
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/authorizations/{authorization_id} | Get authorization |
POST | /api/v1/authorizations/{authorization_id}/outcome | Report outcome |
POST | /api/v1/authorizations/{authorization_id}/review | Review authorization |
Challenges
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/challenges/{challenge_id} | Get challenge |
POST | /api/v1/challenges/{challenge_id}/cancel | Cancel challenge |
POST | /api/v1/challenges/{challenge_id}/complete | Complete challenge |
POST | /api/v1/challenges/{challenge_id}/passkey/options | Challenge passkey options |
Proofs
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/proofs/{jti}/status | Proof status |
Evaluations
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/evaluations | List evaluations |
POST | /api/v1/evaluations | Create evaluation |
POST | /api/v1/evaluations/{evaluation_id}/close | Close evaluation |
GET | /api/v1/evaluations/{evaluation_id}/report | Evaluation report |
Activity
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/activity | Activity |
Public keys
| Method | Path | Purpose |
|---|---|---|
GET | /.well-known/graypass-proof-keys.json | Proof jwks |
Verify
| Method | Path | Purpose |
|---|---|---|
POST | /api/v1/verify | Verify |
Machine-readable contract
The OpenAPI document for this build is published at /docs/openapi.json and served live at GET /api/v1/openapi.json. Capability states and reason codes are published at GET /api/v1/meta. Proof verification keys are published at GET /.well-known/graypass-proof-keys.json.
Generated from the API contract in contracts/ and the source in docs/. The build fails if this page disagrees with the running API.