Skip to content
API Reference

Dashboard API ​

The dashboard reads from a JSON API under /api on the backend (port 3010). You normally don't call these directly — the UI does — but they're useful for scripting, exports, or integrations. This is an overview; the backend source is the full contract.

All responses are JSON. Time filters (from / to) accept ISO datetimes.

Browse and try every endpoint in the API explorer (Swagger UI).

Traces & spans ​

In development

Traces endpoints are still under development and not production-ready.

EndpointPurpose
GET /api/traces?from&toOne row per trace (query, status, tokens, latency, model, …)
GET /api/trace/:traceId/summaryFull trace: query, response, tools, spans
GET /api/spans?traceId&type&from&toFlat span list (capped)
GET /api/spans/:idA single span
GET /api/errorsERROR spans only

Summary, models & cost ​

EndpointPurpose
GET /api/summary?from&toKPIs + top agents + top MCP tools
GET /api/models?from&toPer-model requests + input/output tokens
GET /api/cost-daily?days (or ?from&to)Per-day, per-model, per-service tokens (for the spend chart)
GET /api/tokensDaily token usage per agent (7 days)

Evaluation ​

In development

Evaluation endpoints are still under development and not production-ready.

EndpointPurpose
GET/POST /api/datasets, DELETE /api/datasets/:idManage datasets
GET/POST /api/datasets/:id/recordsDataset records
GET /api/judges, POST /api/judges, PUT/DELETE /api/judges/:idManage LLM judges
POST /api/datasets/:id/evaluateStart an async evaluation run
GET /api/eval-runs, GET /api/eval-runs/:id/resultsPoll runs + results
POST /api/traces/:traceId/evaluateSynchronous quick-eval of one trace

AI Core proxy ​

/aicore/* proxies to a configured SAP AI Core destination (used by Judges, Reporting, and Detect Issues for LLM inference). Configure the destination + resource group on the dashboard's Settings page. Returns 503 if AI Core isn't configured.

Full contract

For exact request/response shapes, status codes, and query parameters, see the backend server/server.ts and the app's README / PRD in the repository.

Boidra — multi-agent AI systems in the SAP ecosystem.