Universal Cryptographic Identity Infrastructure API.
UCII provides cryptographic identity primitives secured by post-quantum cryptography and protected through x402 economic authorization.
Base URL: https://api.ucii.sportgen-ai.com. All /v1/ paths below are also reachable at https://ucii.sportgen-ai.com/v1/. The root paths (/, /metadata, /health, /pricing, /docs, /openapi.json) live on the API host only.
---
Endpoint: GET /
Returns:
---
Endpoint: GET /metadata
Returns machine-readable UCII capability metadata.
Includes:
---
Endpoint: GET /health — service health.
Endpoint: GET /pricing — service pricing summary.
---
Endpoint: GET /v1/x402/info
Returns:
Endpoint: GET /v1/x402/pricing — per-operation x402 prices.
Endpoint: GET /v1/x402/settlements — settlement records.
---
Endpoint: GET /v1/authorization/delegated/check-signing-key
Returns the public key the server uses to sign authorization check responses, so clients can verify every verdict.
---
Endpoint: GET /openapi.json
Interactive documentation: GET /docs (Swagger UI).
---
The core of UCII: every agent action is checked against a human-issued grant before it runs.
Endpoint: POST /v1/authorization/delegated/check
Checks one operation against an identity's active grant and returns a signed verdict. The check is free (not x402-priced) and never executes anything — it only answers allowed or denied. Requests are ML-DSA-65 signed; responses are signed with the check-signing key above. A stale, unparseable, or replayed request is rejected.
---
Endpoint: POST /v1/authorization/delegated/grant
Creates a grant for an identity. Operator path only: grants go through the protected lifecycle daemon. One active grant per identity; granting replaces any existing grant.
---
Endpoint: POST /v1/authorization/delegated/{authority_id}/revoke
Revokes a grant. The kill is instant: the very next check after revocation is denied.
---
Endpoint: POST /v1/authorization/check
Endpoint: POST /v1/authorization/execute
Direct (non-delegated) check and execute paths. The delegated flow above is the documented path.
---
These endpoints serve the customer panel. They authenticate with the human-held control secret; the authority ID alone is view-only.
Endpoint: GET /v1/authorization/delegated/authorities
---
Endpoint: GET /v1/authorization/delegated/{authority_id}
Returns the grant's status and exact allowed operations. Status responses carry no last-seen field.
---
Endpoint: POST /v1/authorization/delegated/{authority_id}/customer-revoke
Instantly revokes the grant. Revocation history is preserved as audit rows.
---
Endpoint: POST /v1/authorization/delegated/{authority_id}/replace
Replaces the grant with a new set of operations. The old grant is revoked first and the new grant gets a new authority ID. An empty operation list is rejected (revoking everything is the kill, not an empty grant), and destructive is never grantable — it stays hall-pass-only. If the new grant fails after the old one is revoked, the customer is grantless until the operator re-grants.
---
Endpoint: POST /v1/authorization/delegated/{authority_id}/hall-pass/request — request a one-time destructive grant.
Endpoint: POST /v1/authorization/delegated/{authority_id}/hall-pass/activate — activate an approved pass with its one-time key.
Endpoint: GET /v1/authorization/delegated/hall-pass/pending — list pending passes (operator).
Endpoint: POST /v1/authorization/delegated/hall-pass/{request_id}/approve — approve (operator, requires the operator secret).
Endpoint: POST /v1/authorization/delegated/hall-pass/{request_id}/deny — deny (operator).
Hall passes are free. A pass covers one exact command in a 2-hour window, is never standing, and checks do not consume it. Revoking an authority invalidates its live passes.
---
Identity creation is x402-gated (0.5 USDC). The controller authority is returned once at creation — keep it; it is not shown again. Supported identity classes:
---
Endpoint: GET /v1/identity/{identity_id}
---
UCII recovery is fixed 2-of-3 across the owner's devices: exactly 3 guardians, threshold always 2, with a fixed 24-hour delay. Recovery returns the same identity on fresh keys; the old keys are revoked at completion.
Endpoint: POST /v1/identity/guardians — register a guardian set (owner-signed).
Endpoint: POST /v1/identity/recover — open a recovery attempt (2 guardian attestations required).
Endpoint: POST /v1/identity/recover/complete — complete an attempt after the 24-hour delay. This is an explicit trigger; there is no background job.
Endpoint: POST /v1/identity/recover/object — object to an attempt. Unauthenticated by design: the owner's hard backstop during the delay is the kill switch.
Endpoint: GET /v1/identity/{identity_id}/recovery — recovery attempts and unacknowledged notifications.
---
Endpoint: POST /v1/credentials/register
Registers a cryptographic credential. Requires the X-UCII-Controller-Authority header. This endpoint is x402-priced (0.75 USDC).
---
Endpoint: GET /v1/credentials/{fingerprint}
Looks a credential up by its full SHA-256 fingerprint.
---
Endpoint: POST /v1/credentials/verify
Verifies a cryptographic credential. This endpoint is x402-priced ($0.10). A non-active credential returns verified=false without a signature check.
---
Endpoint: POST /v1/credentials/{credential_id}/revoke
Revokes a credential. This endpoint is x402-priced (0.25 USDC).
---
Endpoint: POST /v1/credentials/{credential_id}/recover
Recovers a credential. This endpoint is x402-priced (0.25 USDC).
---
Endpoint: GET /v1/demo/info — demo identity details.
Endpoint: POST /v1/demo/check — a live authorization verdict with no signup. Send {"case": "allow"} or {"case": "deny"}. The demo evaluates the grant with the real evaluator and signs the response with the real check-signing key, but skips the client-proof half — no demo secret exists anywhere, and the demo page says so plainly.
---
Pay-per-operation prices in USDC on Solana, matching the live list at GET /v1/x402/pricing. The delegated check is free. Flat-rate entitlement ($49 CAD per agent per month, or $490 per year) is the alternative for gate customers — see the buy page.
---
Endpoint: POST /v1/auth/register — create a session.
Endpoint: POST /v1/auth/login — log in.
Endpoint: POST /v1/auth/refresh — refresh a session.
Endpoint: GET /v1/auth/me — current session identity.
Endpoint: GET /v1/auth/session — session details.
Endpoint: POST /v1/auth/logout — log out.
Endpoint: POST /v1/auth/revoke — revoke a session.
---
Endpoint: GET /v1/verification/status — verification status.
---
Most UCII infrastructure operations are x402-priced. The delegated check is free, and the demo endpoints are public.