cURL
curl --request PUT \ --url https://api.vogent.ai/api/eval_configs/{id}/records/{recordId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "systemPrompt": "<string>", "maxTurns": 123, "agentInputs": "<string>" } '
{ "id": "<string>", "recordType": "DIAL", "dialId": "<string>", "prompt": { "id": "<string>", "systemPrompt": "<string>", "maxTurns": 123, "createdAt": "2023-11-07T05:31:56Z", "name": "<string>", "description": "<string>", "agentInputs": "<string>" } }
Updates an AI evaluation record. Only available for prompt-type records.
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.
ID of the eval record.
The name of the prompt.
The description of the prompt.
The system prompt.
The maximum number of conversation turns.
JSON object of key-value pairs injected as agent variables.
Successful operation
The type of evaluation record.
DIAL
PROMPT
Show child attributes