Base URL
All API requests go to your AcuSight host under the/api prefix:
{ "success": true, "data": … } envelope.
Authentication
The API authenticates with a bearer token:GET /api/organization is the quickest way to confirm your token works.
Get your token
The dashboard keeps your session token where you can copy it in a few seconds:- Sign in at acusight.io.
- Open your browser’s developer tools —
F12, orCtrl+Shift+I(Cmd+Option+Ion Mac). - Go to the Application tab (Storage in Firefox) → Local Storage → select the
acusight.ioentry. - Copy the value of
acusight_token— that’s your token.
- They expire. The dashboard refreshes its token silently in the background, but the copy you took doesn’t — when your calls start returning
401, grab a fresh one the same way. - They are you. The token carries your identity, your role, and your org scope. Treat it like a password: don’t commit it, share it, or bake it into anything long-running.
Self-serve API keys are coming. A first-class flow for creating long-lived personal or service tokens — for CI, server-to-server jobs, and scripts — isn’t available yet. If you have a machine-to-machine integration in mind, get in touch so we can help and prioritize it.
Find the endpoints
The full, always-current list of endpoints — with parameters, request bodies, and response shapes — lives in the generated API reference. A few you’ll reach for early:Conventions
- JSON everywhere — send
Content-Type: application/jsonon writes. - Org scoping is automatic — your token determines the org; there’s no org ID to pass.
- No versioning yet — the API is unversioned today; we’ll announce a versioning scheme before any breaking changes.
Next steps
API reference
The full, generated list of endpoints with parameters and responses.
Co-Pilot & MCP
Ask questions about your data, or connect an external AI client.