cURL
curl --request POST \ --url https://api.vogent.ai/api/eval_configs/{id}/runs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "versionedPromptId": "<string>", "callAgentId": "<string>", "evalRecordIds": [ "<string>" ] } '
{ "id": "<string>", "status": "PENDING", "callAgentId": "<string>", "versionedPromptId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "aggregateResult": { "numFailing": 123, "numPassing": 123 } }
Starts a new evaluation run for an AI evaluation configuration. Optionally specify specific record IDs to evaluate.
In the form Bearer <api_key_here>. You can find your api key in your dashboard.
Bearer <api_key_here>
ID of the eval config.
The ID of the versioned prompt to use for this eval run.
The ID of the call agent to evaluate.
Optional list of specific eval record IDs to run. If omitted, all records in the config are evaluated.
Successful operation
The status of an evaluation run.
PENDING
RUNNING
SUCCESS
FAILED
CANCELLED
Show child attributes