Docs menu · Types and HTTP

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

MethodPathSummary
POST/api/mobile/v1/projects/ensureCreate or return an organization project by stable slug
GET/api/mobile/v1/projects/{projectId}/capture-keyRead one same-organization project capture key
GET/api/mobile/v1/observations/projectsList authorized projects
GET/api/mobile/v1/observations/projects/{projectId}/errorsList project errors
GET/api/mobile/v1/observations/errors/{errorId}Get an error
GET/api/mobile/v1/observations/errors/{errorId}/occurrencesList error occurrences
GET/api/mobile/v1/observations/errors/{errorId}/runsList recent error runs
GET/api/mobile/v1/observations/runs/{runId}Get a run
GET/api/mobile/v1/observations/runs/{runId}/activityList recent run activity
GET/healthReturn ingest service health.
POST/v0/batchSubmit a batch of incident events.
POST/v0/eventsSubmit a batch of product events.
POST/v0/events/queryQuery bounded product-event aggregates.
POST/v0/source-mapsUpload a React Native source map artifact.
POST/v0/logsingestLogs
POST/v0/logs/queryqueryLogs

SDKs use the generated types and their own endpoint configuration. For a live request, verify the installed SDK, target origin, and server generation together.

Built from agent-platform at cc6e915.