Skip to main content
POST
/
api
/
v1
/
evals
/
trace
Trace
curl --request POST \
  --url https://platform.composo.ai/api/v1/evals/trace \
  --header 'API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "trace": {
    "root_agent_instance_id": "<string>",
    "agent_instance_by_id": {}
  },
  "model_core": "align-20250529",
  "evaluation_criteria": "<string>"
}'
{
  "request_id": "<string>",
  "results_by_agent_name": {}
}

Authorizations

API-Key
string
header
required

Body

application/json

Request model for a trace based evaluation of LLM responses against specified criteria.

trace
object
required

A Multi Agent Trace object representing the full trace of agent interactions.

evaluation_criteria
string
required

Criteria used for evaluation. Begins with one of the following: Reward agents, Penalize agents, Agent passes if, Agent fails if

model_core
enum<string>

The model core for reward evaluation. Defaults to align-20250503 if not specified.

Available options:
align-20250529,
align-lightning-20250731

Response

Successful Response

Response model for multi-agent trace evaluations.

request_id
string
required

Unique identifier for the evaluation request.

results_by_agent_name
object
required

Mapping of Agent Name to their respective trace results.

I