AI data health checks
Counts LLM spans with no model price, no agent identity, zero duration, or no session id in a trace stream and window. Pass include_samples=true for sample trace ids per failing check. Results are cached for about a minute; pass refresh=true to recompute.
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Organization ID
Query parameters
Trace stream to check.
Window start, microseconds.
Window end, microseconds.
Only spans of this agent name (gen_ai_agent_name); ignored when agent_id is set.
Only spans of this agent id (gen_ai_agent_id). Agents that emit only an id are listed with the id as their name, so the id is the filter that matches their spans.
Only spans of this environment (gen_ai_agent_env).
Only spans of this agent version (gen_ai_agent_version).
Skip the short server-side cache.
Also return up to three recent trace ids per failing check; off by default, one query each.
Response
Data health checks
Changes
No recorded changes to this operation across all 1 revision of this API.