Core HTTP reference
Prefer the TypeScript SDK — SDK introduction and source of truth cover the same surface with typed helpers. Use this hub for curl, other languages, or debugging.
/v1/...). JSON request and response bodies; standard HTTP status codes.
Walkthrough: Integrate the API.
Authentication
| Credential | Header / param | Use case |
|---|---|---|
| API key | Authorization: Bearer ak_live_... | Server, CLI, scripts |
| Share token | ?t=... or body field | Public receptor and trace flows |
- TypeScript SDK
- curl
Resources vs invoke routes
Errors
| Code | Status | Retryable |
|---|---|---|
AUTH_REQUIRED | 401 | No |
FORBIDDEN | 403 | No |
NOT_FOUND | 404 | No |
VALIDATION_ERROR | 400 | No |
RATE_LIMIT | 429 | Yes |
INTERNAL_SERVER_ERROR | 5xx | Yes |
Pagination
List endpoints acceptlimit and offset. The SDK provides paginate() helpers — SDK resources.
Streaming
Invoke withstream: true, then GET /v1/jobs/:jobId/stream (SSE). See Jobs, streaming, and errors.
Health
GET /v1/health (or GET /health) returns service status. With an API key, the response includes workspace context when available:
{ "status": "healthy", "version": "..." }. fromApiKey() uses GET /v1/session/context for bootstrap, not health.
OpenAPI
openapi.json — OpenAPI 3.1 subset aligned with@auvy-synapse/client (no dashboard-only or internal routes).
Core endpoints (this reference)
Receptors
Triggers and share links.
Neurons
Agents: CRUD and invoke.
Pathways
Workflows: CRUD and execute.
Reflexes
Tool bundles.
Jobs
Status, stream, cancel, input.
Traces
Conversation threads and messages.
Public
Share-token flows.
Resources
Catalog, browse, search, trees.
Assets and Artifacts
Files and editable documents.