AI Eval
Start an eval run
Changed onCreate and start a new run against an existing prompt set. The run enqueues run_config.repeat_count agentic jobs per prompt (default 1) and begins executing immediately. Returns the newly created run with its initial per-execution result rows.
post/api/v1/ai/eval/runs
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/ai/eval/runs
- AuthHTTP bearer
Request body
Example request
{
"description": "Re-running after switching to gpt-4o for query generation",
"prompt_set_id": "550e8400-e29b-41d4-a716-446655440000",
"run_config": {
"branch_id": "440e8400-e29b-41d4-a716-446655440006",
"llm": {
"model": "claude-sonnet-5",
"provider": "bedrock",
"thinking": "medium"
},
"repeat_count": 1
}
}Response
Run created and jobs enqueued.
Example response
{
"job_count": 12,
"run": {
"cost_basis": "CREDITS",
"created_at": "2025-01-15T10:00:00.000Z",
"id": "660e8400-e29b-41d4-a716-446655440001",
"llm": {
"model": "claude-sonnet-5",
"provider": "bedrock",
"thinking": "medium"
},
"model_id": "880e8400-e29b-41d4-a716-446655440003",
"prompt_set_id": "550e8400-e29b-41d4-a716-446655440000",
"repeat_count": 1,
"results": [
{
"agentic_job": {
"conversation_id": "770e8400-e29b-41d4-a716-446655440002",
"id": "990e8400-e29b-41d4-a716-446655440004",
"state": "COMPLETE"
},
"ai_timing_ms": 4121,
"cost": 0.0021,
"eval_prompt_id": "bb0e8400-e29b-41d4-a716-446655440007",
"expectation": "The top product by revenue should be Aniseed Syrup.",
"id": "aa0e8400-e29b-41d4-a716-446655440005",
"prompt": "What are the top 5 products by revenue?",
"query_count": 4,
"query_timing_ms": 1800,
"score": 0.9,
"scoring_cost": 0.0004,
"timing_ms": 4321,
"tool_timing_ms": 200
}
],
"run_number": 3,
"status": "RUNNING"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- info
added the new optional request property
/ - info
added the required property
/to the response with the status
- info