Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Query token usage, cost, and latency analytics for your pipeline runs.
/api/v1/analytics
Authorization: Bearer <jwt>
from
to
pipeline_id
{ "period": { "from": "2026-03-01", "to": "2026-03-28" }, "total_runs": 142, "total_tokens": 284000, "total_cost_usd": 1.24, "avg_latency_ms": 980, "by_model": [ { "model": "anthropic/claude-sonnet-4-6", "runs": 98, "tokens": 196000, "cost_usd": 0.98 } ], "by_pipeline": [ { "pipeline_id": "uuid", "pipeline_name": "Customer Support", "runs": 100, "cost_usd": 0.90 } ] }
POST /pipelines/:id/run
POST /knowledge
POST /settings/validate-key
GET /health
{ "status": "ok", "version": "1.0.0", "timestamp": "2026-03-28T00:00:00Z" }
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or expired token", "details": null } }
400
BAD_REQUEST
401
UNAUTHORIZED
403
FORBIDDEN
404
NOT_FOUND
422
VALIDATION_ERROR
429
RATE_LIMITED
500
INTERNAL_ERROR