Documentation
API documentation
Develop against the shipped OrdinateDB surface
Overview
OrdinateDB exposes stored time-series data, its asset model, operational records, and administration workflows through APIs. Use them to integrate applications, automate management, read historical or live data, and build custom collectors.
Choose REST for request-and-response workflows, Server-Sent Events (SSE) for model-resolved live reads, WebSocket for direct live series updates, and gRPC for collector ingestion. This source-derived reference covers OrdinateDB v1 at revision 996452a.
- REST operations
- 142
- Resource areas
- 14
- Contract
- OpenAPI 3.1.0
Quick example
Start by checking that your installation is alive and discovering how it accepts human sign-in. Both calls are anonymous.
Health and authentication mode
export ORDINATE_URL="http://localhost:8080"
curl "$ORDINATE_URL/v1/healthz"
# ok
curl "$ORDINATE_URL/v1/auth/methods"
# {"auth_mode":"enforced","login_methods":["local","oidc"]}The example output illustrates the documented shape; the actual mode and methods come from your server. Continue with authentication, then use the endpoint index.
Reference
Start with authentication and wire conventions, then choose the transport or operation that matches your integration.
Authentication
Discover the configured mode, establish a human session, or use a scoped service token.
Wire conventions
Time, ranges, errors, pagination, idempotency, capabilities, scope, and provenance.
REST endpoints
142 shipped operations with parameters, schemas, outputs, and examples.
Live streaming
Series WebSocket and resolved-read Server-Sent Events, including lag recovery.
gRPC ingest
The bidirectional collector write stream and source-URI resolution service.
OpenAPI contract
Download the exact OpenAPI 3.1 document used to build this reference.
Related topics
- Getting started — understand the main OrdinateDB concepts before choosing an API workflow.
- Authentication — establish a session or service credential for protected operations.
Source: docs/api/openapi-v1.json at 996452ace6c6da41e50d12750eb8c2279fdda2d2. The downloadable snapshot is available at /api/openapi-v1.json.