Skip to main content
POST
/
api
/
v2
/
projects
/
{project_id}
/
sessions
/
{session_id}
/
completions
/
{completion_id}
/
evaluations
Execute Evals for Completion
curl --request POST \
  --url https://api.example.com/api/v2/projects/{project_id}/sessions/{session_id}/completions/{completion_id}/evaluations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "eval_types": "all"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required
session_id
string
required
completion_id
string
required

Body

application/json
eval_types
enum<string>
default:all
Available options:
all,
llm-as-judge,
code

Response

202 - application/json

EmptyResponse()

The response is of type EmptyResponse · object.