POST
/
agents
/
{agent_id}
/
evaluate
curl --request POST \
  --url https://api.contextual.ai/v1/agents/{agent_id}/evaluate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'metrics[]=[
  "equivalence"
]' \
  --form 'evalset_name=<string>' \
  --form 'llm_model_id=<string>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

Agent ID of the agent to evaluate

Body

multipart/form-data

Response

200
application/json
Successful Response

Response from Launch Evaluation request