API overview
Authentication, ingest endpoints and where to find the full OpenAPI spec.
Core exposes a JSON API under /v1. The complete contract is the OpenAPI document in the repository: apps/core/openapi.yaml.
Authentication
| Caller | Credential |
|---|---|
| Console and admin API | Sign in with the admin account, then use the session token. |
| Apps sending logs, metrics or traces | An ingest key: Authorization: Bearer orion_ik_.... Write-only, for one app. |
| Nodes | A per-Node token issued at registration. |
An ingest key cannot read logs or touch monitors, and a Node token cannot ingest as an app.
Common endpoints
| Endpoint | Purpose |
|---|---|
GET /health | Liveness. |
GET /v1/diagnostics/core-worker | Whether the worker is alive. |
POST /v1/ingest/logs | Send logs (JSON, array or NDJSON). |
POST /v1/ingest/otlp/v1/logs | Send logs over OTLP/HTTP. |
POST /v1/ingest/otlp/v1/metrics | Send metrics over OTLP/HTTP. |
POST /v1/ingest/otlp/v1/traces | Send traces over OTLP/HTTP. |
GET /v1/logs | Search logs. |
GET /v1/logs/stream | Live tail over Server-Sent Events. |
GET /v1/incidents/{id}/logs | Logs around an incident. |
GET /v1/traces | Search traces. GET /v1/traces/{trace_id} returns one trace with its spans. |
See Send logs for payloads, limits and status codes, and Connect OpenTelemetry for metrics, traces and gRPC.
Was this page helpful? Thanks, noted.