Welcome
Fortro Engine exposes REST endpoints consumed by the ALV wallet, Issuer dashboard, and Verifier portal. This section summarizes the top-level concepts before diving into endpoint details.Auth & DID
Challenge-based DID login, JWT issuance, and session renewal.
Wallet
Holder credential management, presentation approvals, consent APIs.
Issuer
Schema, template, offer, and credential issuance endpoints.
Verifier
Presentation request lifecycle, polling, and verification results.
Base URLs
/api/*. For example, the health check resides at GET https://api.sphyre.tech/api/health.
Authentication
Every request must include a JWT issued after the DID challenge/response flow:X-Issuer-DID header. JWTs expire after JWT_EXPIRATION seconds (default 86400); refresh via POST /api/auth/login.
Rate Limiting & Errors
- Standard rate limit: 120 requests/minute per DID (subject to change). Exceeding limits returns HTTP 429 with
Retry-After. - Errors follow the unified
AppErrorschema:
Generating API Reference
- Export the latest OpenAPI spec from the backend (e.g.,
scripts/export_openapi.shonce available). - Place the spec at
docs/api-reference/openapi.jsonto power interactive playgrounds. - For custom MDX pages, follow the structure under
docs/api-reference/auth/*.
Legacy sample files (Plant Store) were replaced. Ensure no references to unrelated sample endpoints remain.