Skip to main content
POST
Start a new evaluation run

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Path Parameters

agentId
string
required
Maximum string length: 64

Body

application/json
file_id
string
required

Storage file_id containing the evaluation inputs.

Maximum string length: 128
name
string
Maximum string length: 256
criteria
string

Free-text grading criteria.

Maximum string length: 4096
judge_model
string

LLM-as-judge model. Default gpt-4o.

Maximum string length: 128

Response

Evaluation accepted (status running).

id
string
status
string
Example:

"running"

name
string
createdAt
string<date-time>