Submit eval
Submit a flow or agent eval. Hosted targets support overrides and multi-model requests; delegated external agents support one baseline config without overrides and not /eval/stream.
Authentication
AuthorizationBearer
API key or Clerk session token
Request
This endpoint expects an object.
agent
Version selector for an agentId target. Supply at most one of alias or versionId; the run resolves it once and every case executes that version.
evalConfig
evalConfigs
inputs
Flow input variables applied to every record execution, as on POST /batch/flow: they override same-named record metadata at the top level and leave _record.metadata unchanged. Flow targets only.
Response
Eval submitted
OR
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error