// Documentation
Documentation
APPNEUROX documentation: platform concepts, the TypeScript SDK, the v1 API reference, copyable examples and security notes for early-access teams.
- Concepts
- SDK guide
- API reference
Concepts
One platform API
Every shared module lives behind https://api.appneurox.com/v1, served by one edge Worker on D1, R2, Queues and Durable Objects. Products call it over HTTP; no domain logic runs in the caller, so every app sees the same users, tenants, invoices and audit trail.
Tenants and credentials
Requests carry a Bearer access token and an x-tenant-id header. Access tokens last at most 15 minutes; refresh tokens are single-use. Keep tokens on the server. They must never reach a browser.
Idempotent writes
Every write sends an idempotency-key header. The SDK creates one per call; pass your own to retry the same write safely. Writes are never retried automatically.
Revisions
Single-record reads return a revision in the ETag. Send it back as If-Match when updating; a stale revision fails with 409 REVISION_CONFLICT so you can re-read and merge.
Errors
Failures carry status, code, requestId and body. Platform codes such as ACCESS_DENIED, TENANT_REQUIRED and REVISION_CONFLICT pass through; codes raised by the SDK itself start with PLATFORM_.
Lists and pagination
List endpoints are cursor-based. The SDK's paginate() helper walks every page for you.
Ready to start?
Build on shared modules instead of rebuilding them.
Start with the quickstart, or tell us about your product and we will map it to platform modules.