Skip to content
Oris Docs

Compliance

POST /api/v1/oris/compliance_bundles

Assemble L4 compliance bundle

Produce a signed ComplianceBundle (v2) for an agent's transaction intent. The bundle binds L2 policy root + L3 Veris attestation + L5 non-revocation witness + Ed25519 signature into 1-2KB of wire bytes plus an AGE-sealed disclosure envelope.

Auth: Ed25519 request signing. Send Authorization, X-Request-Signature, X-Timestamp, and X-Nonce headers on every call. Nonce TTL is thirty seconds.

Request body

application/json, schema: ComplianceBundleAssembleRequest

Responses

StatusDescription
201 Successful Response
422 Validation Error

Example request

curl -X POST 'https://api.useoris.xyz/api/v1/oris/compliance_bundles' \
  -H 'Authorization: oris_sk_live_***' \
  -H 'X-Request-Signature: ***' \
  -H 'X-Timestamp: $(date +%s)' \
  -H 'X-Nonce: $(uuidgen)' \
  -H 'Content-Type: application/json' \
  -d '{...}'
POST /api/v1/oris/compliance/cohort/opt-in

Opt into the cross-tenant federated cohort

Future drift evaluations will read the global federated cohort artifact instead of the per-tenant artifact. Past contributions are unaffected.

Auth: Ed25519 request signing. Send Authorization, X-Request-Signature, X-Timestamp, and X-Nonce headers on every call. Nonce TTL is thirty seconds.

Responses

StatusDescription
200 Successful Response

Example request

curl -X POST 'https://api.useoris.xyz/api/v1/oris/compliance/cohort/opt-in' \
  -H 'Authorization: oris_sk_live_***' \
  -H 'X-Request-Signature: ***' \
  -H 'X-Timestamp: $(date +%s)' \
  -H 'X-Nonce: $(uuidgen)'
POST /api/v1/oris/compliance/cohort/opt-out

Opt out of the cross-tenant federated cohort

Future drift evaluations fall back to the per-tenant cohort artifact. Past DP-noised contributions stay in the shared table; the DP guarantee makes deletion redundant.

Auth: Ed25519 request signing. Send Authorization, X-Request-Signature, X-Timestamp, and X-Nonce headers on every call. Nonce TTL is thirty seconds.

Responses

StatusDescription
200 Successful Response

Example request

curl -X POST 'https://api.useoris.xyz/api/v1/oris/compliance/cohort/opt-out' \
  -H 'Authorization: oris_sk_live_***' \
  -H 'X-Request-Signature: ***' \
  -H 'X-Timestamp: $(date +%s)' \
  -H 'X-Nonce: $(uuidgen)'
GET /api/v1/oris/compliance/cohort/stats

Federated cohort snapshot for this tenant

Returns the live state of the federated cohort: global size, freshness, and the calling tenant's own contribution position. The global tenant count is suppressed below 2 contributing tenants to avoid leaking that a single tenant is the source.

Auth: Ed25519 request signing. Send Authorization, X-Request-Signature, X-Timestamp, and X-Nonce headers on every call. Nonce TTL is thirty seconds.

Responses

StatusDescription
200 Successful Response

Example request

curl -X GET 'https://api.useoris.xyz/api/v1/oris/compliance/cohort/stats' \
  -H 'Authorization: oris_sk_live_***' \
  -H 'X-Request-Signature: ***' \
  -H 'X-Timestamp: $(date +%s)' \
  -H 'X-Nonce: $(uuidgen)'
POST /api/v1/oris/compliance/export

Generate a SAR-grade compliance export

Produces a tamper-evident export bundle for the requested time window. Supports four output frameworks: FinCEN BSA, MiCA Title VIII, EU AI Act Annex IV, and a raw `generic` format. Retention: 7 years.

Auth: Ed25519 request signing. Send Authorization, X-Request-Signature, X-Timestamp, and X-Nonce headers on every call. Nonce TTL is thirty seconds.

Request body

application/json, schema: ExportRequest

Responses

StatusDescription
200 Successful Response
422 Validation Error

Example request

curl -X POST 'https://api.useoris.xyz/api/v1/oris/compliance/export' \
  -H 'Authorization: oris_sk_live_***' \
  -H 'X-Request-Signature: ***' \
  -H 'X-Timestamp: $(date +%s)' \
  -H 'X-Nonce: $(uuidgen)' \
  -H 'Content-Type: application/json' \
  -d '{...}'