Idempotently accept the exact current Supanova product legal policy.
POST /api/v1/me/legal-acceptance. Idempotently accept the exact current Supanova product legal policy.
Request
POST /api/v1/me/legal-acceptance
Authentication is required. Supported credentials: a signed-in customer session token in Authorization: Bearer …. This route does not accept customer API keys.
Parameters
| Name | In | Type | Required | Constraints | Description |
|---|---|---|---|---|---|
X-Service-Act-As | header | string | No | min length: 3; max length: 512 | Service-principal path only (local and devnet stages; refused by configuration on mainnet). With an OAuth client-credentials bearer token from the validator, names the allow-listed Party the client acts as. Missing: 400 SERVICE_ACT_AS_REQUIRED; not allow-listed: 403 SERVICE_PARTY_NOT_ALLOWED. Ignored for customer session tokens. |
X-Request-Id | header | string | No | min length: 8; max length: 128; pattern: ^[A-Za-z0-9._:-]+$ | Optional client correlation identifier. The server always generates a separate authoritative request ID and retains a valid supplied value only as secondary audit correlation metadata. |
Request body
A body is required.
Content type: application/json
Type: object.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
accepted | true | Yes | — | — |
documents | array of unspecified · Schema 1 | Yes | min items: 3; max items: 3 | — |
policyId | "supanova-product-access-legal" | Yes | — | — |
policySetDigest | "sha256:b07f64b9f408addf88588d529535451f0421aadaecc665a5e461406597ce77b2" | Yes | — | — |
policyVersion | "1" | Yes | — | — |
Additional fields are not allowed.
cURL
Create request.json using the request-body schema. The example sends the file bytes unchanged.
curl --fail-with-body --silent --show-error \
--request POST \
--url "https://launch-api.supanova.app/api/v1/me/legal-acceptance" \
--header "Authorization: Bearer $SUPANOVA_SESSION_TOKEN" \
--header "Content-Type: application/json" \
--data-binary @request.jsonResponses
200
The durable, server-timestamped acceptance status.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Type: object.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
accepted | boolean | Yes | — | — |
acceptedAt | one or more variants · Schema 2 | Yes | — | — |
mode | string | Yes | allowed: "persistent", "simulated" | — |
policy | object · Schema 3 | Yes | — | — |
Additional fields are not allowed.
400
The request is malformed or failed validation. Codes: VALIDATION_FAILED, AMBIGUOUS_CREDENTIALS, SERVICE_ACT_AS_REQUIRED.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
401
Credentials are missing, malformed, expired or revoked. Codes: AUTHENTICATION_REQUIRED, INVALID_AUTHORIZATION_HEADER, INVALID_ACCESS_TOKEN, SESSION_REVOKED.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
403
The credential may not call this route. Codes: ACCOUNT_RESTRICTED, ANONYMOUS_ACCOUNT_NOT_ALLOWED, API_KEY_ROUTE_NOT_ALLOWED, SERVICE_PARTY_NOT_ALLOWED, SERVICE_PRINCIPAL_NOT_ALLOWED, SIGNUP_NOT_INVITED.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
413
The request body exceeds the size limit.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
429
The caller exceeded an IP or principal request budget.
| Header | Type | Description |
|---|---|---|
Retry-After | integer | Whole seconds to wait before retrying a rate-limited request. |
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
503
A dependency is unavailable or the feature is not enabled on this deployment. Codes: AUTHENTICATION_UNAVAILABLE, AUTHORIZATION_UNAVAILABLE.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
default
Machine-readable API error. The HTTP status identifies the error class.
| Header | Type | Description |
|---|---|---|
X-Request-Id | string | Server-generated request correlation identifier to retain for support and reconciliation. |
Content type: application/json
Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.
Nested schemas
Field links above lead to the complete nested object, array, and variant definitions below. Required fields are scoped to their containing object.
Schema 1
Request body.documents
Type: array of unspecified.
min items: 3; max items: 3
Tuple positions (in order):
Schema 2
Response 200.acceptedAt
Type: one or more variants.
At least one of these variants must match:
- Variant 1: string. format:
date-time; pattern:^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$ - Variant 2: null.
Schema 3
Response 200.policy
Type: object.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
documents | array of unspecified · Schema 1 | Yes | min items: 3; max items: 3 | — |
effectiveAt | "2026-08-04T00:00:00.000Z" | Yes | — | — |
id | "supanova-product-access-legal" | Yes | — | — |
legalApproval | "required-before-connected-release" | Yes | — | — |
reacceptance | "material-version-only" | Yes | — | — |
setDigest | "sha256:b07f64b9f408addf88588d529535451f0421aadaecc665a5e461406597ce77b2" | Yes | — | — |
updatedAt | "2026-08-12T00:00:00.000Z" | Yes | — | — |
version | "1" | Yes | — | — |
Additional fields are not allowed.
Schema 4
Request body.documents position 1
Type: object.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
action | "agree" | Yes | — | — |
digest | "sha256:ae3001c9110291ba6d97fe27343218a23ec93427ac7f7654e45e77b3fe08523d" | Yes | — | — |
slug | "terms" | Yes | — | — |
Additional fields are not allowed.
Schema 5
Request body.documents position 2
Type: object.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
action | "acknowledge" | Yes | — | — |
digest | "sha256:5cdce14744e77bd382a30b10469918d64b556c62af995ab1c84601304446ab5f" | Yes | — | — |
slug | "privacy" | Yes | — | — |
Additional fields are not allowed.
Schema 6
Request body.documents position 3
Type: object.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
action | "acknowledge" | Yes | — | — |
digest | "sha256:3d54b4c54d38211c9cb5b5789e97607bd7c49157f7cff5928d2e348c66d04c84" | Yes | — | — |
slug | "risk" | Yes | — | — |
Additional fields are not allowed.
Source contract
This page is generated from the checked-in customer OpenAPI snapshot. Download JSON, download YAML, or compare the live API reference. Snapshot provenance records the retrieval date and checksum.