← All contracts
OHN-33 Developer and Partner Portal
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source in the repository
modules/OHN-33/api/openapi.json- Servers
https://opeshealthnetwork.com/api/ohn/v1
- Authentication
bearer: http bearer
Download the contract (JSON)
Contracts are written in English.
Controlled partner onboarding, client credentials, sandbox, scope approval, usage and versioned contracts. Default-deny; every POST needs an Idempotency-Key; mutations use expected_version. A client secret is returned once and never stored, logged or replayed. Tokens come from the platform gateway (purpose partner_portal and organization_id are claims); the reference synthetic sign-in is not part of this contract.
Operations
Other operations
GET/health/ohn-33Health (public)
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | ok | — |
503 | database unavailable | — |
GET/developer/appsList applications (cursor)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
cursor | query | string | no | |
state | query | string | no | |
environment | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/appsOHN-33-API-001 Register a partner application (F001, W001)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/apps/{id}Application with credentials inventory and sandbox tenant
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/apps/{id}/historyWorkflow history of the application, its scope requests and rotations
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/apps/{id}/trust-verifyVerify partner trust (W001 registration_submitted -> trust_verified)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/apps/{id}/scope-requestsList scope requests of an application
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/apps/{id}/scope-requestsRequest additional scopes (W002)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/scope-requests/{id}/reviewLeast-privilege review: may only narrow (W002)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/scope-requests/{id}/decideApprove (twice, two different reviewers) or deny (W002)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/scope-requests/{id}/deployDeploy a dual-approved scope request (W002; production patient scopes need a passing conformance run)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/apps/{id}/credentials/issueIssue client credentials via OHN-38; the secret is returned once (W001 scopes_approved -> credentials_issued)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/apps/{id}/credentialsCredential inventory (hints only, never secrets)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/apps/{id}/rotateOHN-33-API-002 Rotate a client credential (F002, W003); the new secret is returned once
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/apps/{id}/rotationsList rotations of an application
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/rotations/{id}/confirmConfirm consumers moved to the new credential (W003)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/rotations/{id}/retireRevoke the old credential after confirmation and the grace window (W003)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/apps/{id}/sandbox/enableEnable the sandbox tenant (W001 credentials_issued -> sandbox_enabled)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/sandboxSandbox monitor
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/conformance-runsList conformance runs
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
cursor | query | string | no | |
app | query | string (uuid) | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/conformance-runsRun a sandbox conformance suite via OHN-46 (F003). Evidence only, never certification
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/usageOHN-33-API-003 Partner API usage and quota (cursor)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
cursor | query | string | no | |
app | query | string (uuid) | no | |
operation | query | string | no | |
period_from | query | string | no | |
period_to | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/usage/recordsRecord daily usage (metering feed)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/contractsOHN-33-API-004 Versioned API contracts (cursor)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
cursor | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/contracts/syncSync the contract catalogue from OHN-21
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/examplesSynthetic integration examples
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/dashboardDeveloper dashboard
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/auditCredential audit (append-only; no secret material)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
cursor | query | string | no | |
app | query | string (uuid) | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/policyPortal policy
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/policyWrite the portal policy (versioned)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/code-lists/{list}Read a controlled code list (environment, scope)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
list | path | "environment" | "scope" | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/code-lists/{list}Upsert a controlled code list
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
list | path | "environment" | "scope" | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/maintenance/drain-outboxDrain the outbox (delivers nothing without a configured sink)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/report-catalogReport catalogue
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/reports/{reportId}Run report OHN-33-R001..R003
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
reportId | path | "OHN-33-R001" | "OHN-33-R002" | "OHN-33-R003" | yes | |
cursor | query | string | no | |
partner | query | string (uuid) | no | |
period_from | query | string | no | A real calendar day; a malformed value is reported as "Invalid calendar date" |
period_to | query | string | no | |
environment | query | string | no | |
scope | query | string | no | |
status | query | string | no | |
version | query | string (uuid) | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
POST/developer/reports/{reportId}/exportCreate a signed, single-use, 5-minute CSV/PDF export
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
reportId | path | string | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | Version conflict, idempotency key reuse, separation of duties or illegal transition | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
GET/developer/exports/{token}Download an export (owner only, single use)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
token | path | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | text/csv
application/pdf
|
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed or typed refusal | — |
429 | Rate limited | — |
503 | Dependency unavailable (nothing stored) | — |
Schemas
Receipt
| Name | Type | Required | Description |
|---|
receipt_id | string (uuid) | no | |
committed_at | string | no | |
aggregate_id | string (uuid) | no | |
version | integer | no | |
status | "committed" | "denied" | no | |
RegisterApp
| Name | Type | Required | Description |
|---|
organization_id | string (uuid) | yes | |
application_name | string | yes | |
redirect_uris | array of string | yes | |
requested_scopes | array of string | yes | |
environment | string | yes | |
contact_email | string (email) | yes | |
Step
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
reason | string | yes | |
ScopeRequest
| Name | Type | Required | Description |
|---|
requested_scopes | array of string | yes | |
justification | string | yes | |
ScopeReview
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
granted_scopes | array of string | yes | |
reason | string | yes | |
ScopeDecide
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
decision | "approve" | "deny" | yes | |
reason | string | yes | |
Rotate
| Name | Type | Required | Description |
|---|
client_id | string (uuid) | yes | |
rotation_reason | string | yes | |
effective_at | string (date-time) | yes | |
grace_window_minutes | integer | yes | |
PolicyWrite
| Name | Type | Required | Description |
|---|
max_redirect_uris | integer | yes | |
allow_loopback_redirect_in_sandbox | boolean | yes | |
credential_max_age_days | integer | yes | |
dormant_days | integer | yes | |
daily_quota | integer | yes | |
max_grace_window_minutes | integer | yes | |
conformance_validity_days | integer | yes | |
approval_reference | string | yes | |
expected_version | integer | no | |
reason | string | yes | |
Application
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
application_name | string | no | |
redirect_uris | array of string | no | |
requested_scopes | array of string | no | |
approved_scopes | array of string | no | |
environment | string | no | |
contact_email | string | no | |
state | "registration_submitted" | "trust_verified" | "scopes_approved" | "credentials_issued" | "sandbox_enabled" | no | |
trust_verified | boolean | no | |
version | integer | no | |
ScopeRequestView
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
app_id | string (uuid) | no | |
kind | "initial" | "escalation" | no | |
requested_scopes | array of string | no | |
granted_scopes | array of string | no | |
state | "requested" | "least_privilege_review" | "approval_pending" | "dual_approved" | "denied" | "deployed" | no | |
approvals | integer | no | |
version | integer | no | |
CredentialView
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
app_id | string (uuid) | no | |
client_id | string | no | |
kind | "sandbox" | "production" | no | |
status | "active" | "retiring" | "revoked" | no | |
secret_hint | string | no | Last four characters only |
retire_not_before | string | null | no | |
downstream_revocation | string | no | |
RotationView
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
app_id | string (uuid) | no | |
old_credential_id | string (uuid) | no | |
new_credential_id | string (uuid) | no | |
state | "new_credential_issued" | "consumers_confirmed" | "old_revoked" | no | |
grace_window_minutes | integer | no | |
version | integer | no | |
RunView
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
app_id | string (uuid) | no | |
status | "passed" | "failed" | no | |
pass_count | integer | no | |
fail_count | integer | no | |
result_scope | object | no | States the suite and environment; certification is always false |
AppList
| Name | Type | Required | Description |
|---|
items | array of Application | no | |
next_cursor | string | null | no | |
History
| Name | Type | Required | Description |
|---|
items | array of object | no | |
IssueResult
| Name | Type | Required | Description |
|---|
application | Application | no | |
credential | CredentialView | no | |
client_secret | string | no | Shown once; never stored, logged or replayed (idempotent replays return [redacted]) |
secret_shown_once | boolean | no | |
receipt | Receipt | no | |
SandboxList
| Name | Type | Required | Description |
|---|
items | array of object | no | |
RunList
| Name | Type | Required | Description |
|---|
items | array of RunView | no | |
next_cursor | string | null | no | |
UsageList
| Name | Type | Required | Description |
|---|
quota_per_day | integer | null | no | |
quota_state | "configured" | "not_configured" | no | |
items | array of object | no | |
next_cursor | string | null | no | |
Recorded
| Name | Type | Required | Description |
|---|
receipt | Receipt | no | |
ContractList
| Name | Type | Required | Description |
|---|
items | array of object | no | |
next_cursor | string | null | no | |
Synced
| Name | Type | Required | Description |
|---|
synced | integer | no | |
receipt | Receipt | no | |
ExampleList
| Name | Type | Required | Description |
|---|
items | array of object | no | |
Dashboard
| Name | Type | Required | Description |
|---|
kpis | object | no | |
status_distribution | object | no | |
policy_configured | boolean | no | |
trend | array of object | no | |
exceptions | array of object | no | |
CredentialAuditList
| Name | Type | Required | Description |
|---|
items | array of object | no | |
next_cursor | string | null | no | |
PolicyView
| Name | Type | Required | Description |
|---|
configured | boolean | no | |
version | integer | no | |
config | object | null | no | |
PolicyResult
| Name | Type | Required | Description |
|---|
version | integer | no | |
receipt | Receipt | no | |
CodeList
| Name | Type | Required | Description |
|---|
list | string | no | |
items | array of object | no | |
Drained
| Name | Type | Required | Description |
|---|
delivered | integer | no | |
pending | integer | no | |
ReportCatalog
| Name | Type | Required | Description |
|---|
reports | array of object | no | |
Report
| Name | Type | Required | Description |
|---|
report_id | string | no | |
title | string | no | |
columns | array of string | no | |
rows | array of object | no | |
summary | object | no | |
state | "rendered" | "no_authorized_data" | no | |
next_cursor | string | null | no | |
ExportResult
| Name | Type | Required | Description |
|---|
export_id | string (uuid) | no | |
report_id | string | no | |
format | string | no | |
rows | integer | no | |
expires_at | string | no | |
single_use | boolean | no | |
download_path | string | no | |
receipt | Receipt | no | |
UsageRecords.records.item defined inline
| Name | Type | Required | Description |
|---|
app_id | string (uuid) | yes | |
operation | string | yes | |
day | string (date) | yes | |
requests | integer | yes | |
denials | integer | yes | cannot exceed requests |
p95_latency_ms | integer | yes | |
CodeListWrite.entries.item defined inline
| Name | Type | Required | Description |
|---|
code | string | yes | |
label_en | string | yes | |
label_fr | string | yes | |
active | boolean | no | |
restricted | boolean | no | marks a scope that reaches patient data |
ExportCommand.filters defined inline
| Name | Type | Required | Description |
|---|
partner | string (uuid) | no | |
period_from | string (date) | no | |
period_to | string (date) | no | |
environment | string | no | |
scope | string | no | |
status | string | no | |
version | string (uuid) | no | |