Skip to main content
PUT
/
eval_configs
/
{id}
/
records
/
{recordId}
Update Eval Record
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>"
  }
}

Authorizations

Authorization
string
header
required

In the form Bearer <api_key_here>. You can find your api key in your dashboard.

Path Parameters

id
string
required

ID of the eval config.

recordId
string
required

ID of the eval record.

Body

application/json
name
string

The name of the prompt.

description
string

The description of the prompt.

systemPrompt
string

The system prompt.

maxTurns
integer

The maximum number of conversation turns.

agentInputs
string

JSON object of key-value pairs injected as agent variables.

Response

Successful operation

id
string
required
recordType
enum<string>
required

The type of evaluation record.

Available options:
DIAL,
PROMPT
dialId
string | null
prompt
object