Launch Week 02 wrapped — explore all five launches

Evaluate Trace

POSThttps://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"
}'
200
{
  "success": true,
  "data": {
    "id": "TRACE-ID"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • traceUuidstringRequired

    The UUID of the trace you wish to evaluate.

Request body

  • 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

    Show 1 propertyHide 1 property
    • idstring

      This is the id of the trace, not to be confused with the UUID of the trace.

  • deprecatedboolean

    This is true if this endpoint is deprecated.

Built byConfident AI