Create Eval Config Record

Creates a new record for an AI evaluation configuration. Either provide a dialId to link an existing dial, or provide prompt fields to create a prompt-based record.

post/eval_configs/{id}/records

Request

  • Base URL
    https://api.vogent.ai/api
  • Auth
    HTTP bearer

Path parameters

idstring required

ID of the eval config.

Request body

recordType'DIAL' | 'PROMPT' required

The type of evaluation record.

dialIdstring

The ID of an existing dial to link (required for DIAL type).

namestring

The name of the prompt (for PROMPT type).

descriptionstring

The description of the prompt (for PROMPT type).

systemPromptstring

The system prompt (required for PROMPT type).

maxTurnsinteger

The maximum number of conversation turns (for PROMPT type, defaults to 20).

agentInputsstring

JSON object of key-value pairs injected as agent variables (for PROMPT type).

Response

Successful operation

idstring required
recordType'DIAL' | 'PROMPT' required

The type of evaluation record.

dialIdstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.