Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
evaluations
Start a new evaluation run
curl --request POST \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/evaluations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_id": "<string>"
}
'
{
  "id": "<string>",
  "status": "running",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

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>