Python SDK
traces
Run evaluators on a trace
Run evaluation on a trace.
Body (optional):
- mode: “deterministic” (default, free) or “llm_judge” (costs budget)
- evaluator: Named evaluator to run server-side (e.g. “relevance”, “factuality”, “toxicity”). Requires a paid plan — no free tier.
- context: Optional context string for RAG evaluators (factuality).
POST
Python SDK
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Path Parameters
Cookies
Body
application/json
The body is of type Payload · object.
Response
Successful Response
The response is of type Response Evaluate Trace Api V1 Traces Trace Id Evaluate Post · object.