Skip to main content
POST
Stores a preference pair. When response_id is given, the customer message and the actual reply are read from the stored response rather than taken from the request, so the recorded pair is authentic.

Headers

string
Optional client-generated key that makes the POST safe to retry: a repeat with the same key and body replays the original response instead of creating a duplicate.

Request body

CreateEval
string (uuid)
string
required
Minimum length: 1. Maximum length: 50000.
string
Maximum length: 50000.
string
Maximum length: 50000.
string (uuid)
string
Maximum length: 200.
string
Maximum length: 10000.
string
Maximum length: 100.
string
Maximum length: 100.

Response

object
string
required
Allowed values: 'eval'.
string (uuid)
required
string,null
required
From the stored eval_name.
string,null
required
Defaults to preference on create.
string,null
required
Defaults to pending on create.
string,null
required
string,null
required
The customer message to replay. Copied from the source response when response_id was supplied.
string,null
required
The reply the agent should have given.
string,null
required
The reply that was actually given. Copied from the source response when response_id was supplied.
string,null
required
string,null
required
string,null (uuid)
required
string,null (uuid)
required
string,null
required
Stored as a string; derived from the source response when not supplied.
string,null (date-time)
required
string,null (date-time)
required

Status codes

Access

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on September 21, 2026