Evaluate

Evaluates a conversation using an evaluation prompt.

Authentication

AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).

Path parameters

idstringRequired
The ID of the conversation to evaluate.

Request

This endpoint expects an object.
prompt_idstringRequired
ID of the evaluation prompt to use.

Response

Success response
idstring
The evaluation ID.
resultenum
The evaluation result.
Allowed values:
promptobject
The evaluation prompt information.
created_atstringformat: "date-time"
When the evaluation was created.

Errors