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.
In the form Bearer <api_key_here>. You can find your api key in your dashboard.
ID of the eval config.
Create either a dial-based record (provide dialId) or a prompt-based record (provide prompt fields).
The type of record to create: DIAL or PROMPT.
DIAL, PROMPT The ID of an existing dial to link (required for DIAL type).
The name of the prompt (for PROMPT type).
The description of the prompt (for PROMPT type).
The system prompt (required for PROMPT type).
The maximum number of conversation turns (for PROMPT type, defaults to 20).
JSON object of key-value pairs injected as agent variables (for PROMPT type).