Documentation Index
Fetch the complete documentation index at: https://docs.lumina-org.com/llms.txt
Use this file to discover all available pages before exploring further.
Construction
.health()
to verify the API is reachable.
Sub-resources
| Property | Class | Endpoints |
|---|---|---|
lumina.products | ProductsAPI | GET /products, GET /products/:id, GET /products/:id/quote |
lumina.policies | PoliciesAPI | GET/POST /api/v1/policies, GET /policies/:prod/:id |
lumina.bonds | BondsAPI | GET /api/v1/bonds |
lumina.marketplace | MarketplaceAPI | GET /api/v1/marketplace/listings |
lumina.agent | AgentAPI | POST /api/v1/agent/onboard, GET/DELETE /api/v1/agent/keys |
lumina.webhooks | WebhooksAPI | POST/GET/DELETE /api/v1/webhooks |
lumina.sandbox | SandboxAPI | GET /sandbox/info, POST /sandbox/try |
Errors
Every non-2xx response throwsLuminaError:
LuminaError with status === 0 and code === 'network_error'.
Custom fetch (advanced)
Both Node 18+ and modern browsers shipglobalThis.fetch, which is what the
SDK uses. There’s no override hook on the client itself; if you need to
intercept requests (for instrumentation, mock-in-test, etc.) overwrite
globalThis.fetch before constructing the client.