Evaluation runs
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
POST |
Create environments evaluation runs
Create a new evaluation run.
This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.
Required API key scopes
evaluation:writeRequest parameters
- evaluation_idstring
- target_event_idstring
- timestampstring
- eventstringDefault:
$ai_generation - distinct_idstringnull
Example request
POST /api /environments /:environment_id /evaluation_runsExample response
Status 200
Create evaluation runs
Create a new evaluation run.
This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.
Required API key scopes
evaluation:writeRequest parameters
- evaluation_idstring
- target_event_idstring
- timestampstring
- eventstringDefault:
$ai_generation - distinct_idstringnull
Example request
POST /api /projects /:project_id /evaluation_runs