Skip to main content
POST
Send one past request again on another model, and grade the answer

Authorizations

Authorization
string
header
required

Gateway API key (imp-rt-...) from POST /v1/accounts or /v1/keys.

Path Parameters

id
string
required

Body

application/json
model
string
required

The text model to replay the request on

extra_instructions
string

Text appended to the instructions the stored request carries (its system or developer message, system, or instructions), to check a prompt fix such as the edits from adviseRequests. The judge still grades against the original request.

Response

original (model, cost_usd, tokens, max_output_tokens, output), replay (id, model, cost_usd, estimated_cost_usd, tokens, output) and judge (model, score, reason, cost_usd)