Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

API Overview

Optra Prism exposes two backend services with REST APIs.

ServicePurpose
IngestReceives OTLP telemetry (logs, metrics, traces)
Prism EngineQueries telemetry, runs PRISM Score v3.0, intelligence, insights
ServiceBase URL
Ingesthttps://ingest.prism.optra-ai.com
EngineInternal (private)

The engine is not exposed to the public internet — the dashboard reaches it over internal networking, and a small set of engine endpoints (/v1/telemetry/logs, /v1/insights/report, /v1/insights/report/generate) are proxied through the ingest service for plugin and external callers.

SectionWhat’s in it
Authenticationgck_* API keys and headers
IngestOTLP write endpoints (POST /v1/logs, /v1/metrics, /v1/traces)
TelemetryRead telemetry via DataFusion over S3 Parquet
PRISM Score v3.0The new scoring surface — one number: % of sessions that crushed their goal
Intelligence (v2.1)Older Speed / Skill / Efficiency endpoints, kept during the v3.0 calibration window
Insights & ReportsGenerated reports, session summaries, daily summaries (both v2.1 and v3.0)

PRISM Score v3.0 is the new default. The v2.1 endpoints under Intelligence keep working while we calibrate — use the v3.0 endpoints for new integrations.

All endpoints return JSON, but the response shape varies per endpoint — there is no uniform envelope. For example, /v1/intelligence/worst-prompts returns { "prompts": [...], "total": N }, while /v1/score_v3/score returns a ScoreResponse object directly. See the individual endpoint pages for concrete shapes.

Errors use a consistent shape in both services:

{
"code": 401,
"message": "Invalid API key"
}

Common (both services):

CodeMeaning
200Success
400Bad request (validation error)
401Unauthorized (missing or invalid API key)
500Internal server error

Ingest-only:

CodeMeaning
413Payload too large (OTLP body exceeds limit)
503Service unavailable — NATS backpressure; response includes Retry-After: 5