For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
    • Data Models
    • API Conventions
  • Data Models
  • Evals
      • POSTRun LLM Evals
      • POSTEvaluate Span
      • POSTEvaluate Trace
      • POSTEvaluate Thread
  • Legacy
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
EvalsEvaluate

Evaluate Trace

POST
https://api.confident-ai.com/v1/evaluate/traces/:traceUuid
POST
/v1/evaluate/traces/:traceUuid
$curl -X POST https://api.confident-ai.com/v1/evaluate/traces/traceUuid \
> -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>" \
> -H "Content-Type: application/json" \
> -d '{
> "metricCollection": "Collection Name"
>}'
200Successful
1{
2 "success": true,
3 "data": {
4 "id": "TRACE-ID"
5 },
6 "deprecated": false
7}
Was this page helpful?
Previous

Evaluate Thread

Next
Built with

Path parameters

traceUuidstringRequired
The UUID of the trace you wish to evaluate.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

This endpoint expects an object.
metricCollectionstringRequired

The name of the single-turn metric collection to evaluate the trace.

Response

Successful response from evaluate trace API
successboolean
This is true if the trace was successfully evaluated.
dataobject
deprecatedboolean
This is true if this endpoint is deprecated.