Get Eval Run

Path parameters

idstringRequired

Headers

AuthorizationstringRequired

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

Response

statusenum
This is the status of the eval run. When an eval run is created, the status is 'running'. When the eval run is completed, the status is 'ended'.
Allowed values:
endedReasonenum
This is the reason for the eval run to end. When the eval run is completed normally i.e end of mock conversation, the status is 'mockConversation.done'. When the eval fails due to an error like Chat error or incorrect configuration, the status is 'error'. When the eval runs for too long, due to model issues or tool call issues, the status is 'timeout'. When the eval run is cancelled by the user, the status is 'cancelled'. When the eval run is cancelled by Vapi for any reason, the status is 'aborted'.
Allowed values:
targetobject
This is the target that will be run against the eval
idstring
orgIdstring
createdAtstringformat: "date-time"
startedAtstringformat: "date-time"
endedAtstringformat: "date-time"
resultslist of objects
This is the results of the eval or suite run. The array will have a single item for an eval run, and multiple items each corresponding to the an eval in a suite run in the same order as the evals in the suite.
typeenum

This is the type of the run. Currently it is fixed to eval.

Allowed values:
evalobject or null
This is the transient eval that will be run
endedMessagestring or null
This is the ended message when the eval run ended for any reason apart from mockConversation.done
evalIdstring or null
This is the id of the eval that will be run.