Types and HTTP
Source-generated ingest and observation paths, with the canonical OpenAPI contract.
Availability: Source contract
The canonical wire contract is the Dancer OpenAPI document. @happycatlabs/dancer-types generates TypeScript bindings from it; the package is configured for restricted npm access. This reference shows the current source paths. A source path is not proof that a specific deployment has enabled it.
Use /v0/batch for incident batches, /v0/events for bounded product events, and the documented observation routes for authorized reads. App project keys permit telemetry submission; they do not authorize observation queries. See the full OpenAPI document for request and response schemas.
Source paths
| Method | Path | Summary |
|---|---|---|
| POST | /api/mobile/v1/projects/ensure | Create or return an organization project by stable slug |
| GET | /api/mobile/v1/projects/{projectId}/capture-key | Read one same-organization project capture key |
| GET | /api/mobile/v1/observations/projects | List authorized projects |
| GET | /api/mobile/v1/observations/projects/{projectId}/errors | List project errors |
| GET | /api/mobile/v1/observations/errors/{errorId} | Get an error |
| GET | /api/mobile/v1/observations/errors/{errorId}/occurrences | List error occurrences |
| GET | /api/mobile/v1/observations/errors/{errorId}/runs | List recent error runs |
| GET | /api/mobile/v1/observations/runs/{runId} | Get a run |
| GET | /api/mobile/v1/observations/runs/{runId}/activity | List recent run activity |
| GET | /health | Return ingest service health. |
| POST | /v0/batch | Submit a batch of incident events. |
| POST | /v0/events | Submit a batch of product events. |
| POST | /v0/events/query | Query bounded product-event aggregates. |
| POST | /v0/source-maps | Upload a React Native source map artifact. |
| POST | /v0/logs | ingestLogs |
| POST | /v0/logs/query | queryLogs |
SDKs use the generated types and their own endpoint configuration. For a live request, verify the installed SDK, target origin, and server generation together.