curl --request POST \
--url https://api.runflow.io/v1/evaluations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"generated_image_url": "<string>",
"task_type": "<string>",
"task_description": "<string>",
"generation_prompt": "<string>",
"evaluation_instructions": "<string>",
"input_attributes": {},
"reference_images": [
{
"url": "<string>",
"kind": "<string>",
"description": "<string>"
}
],
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_ref": "<string>",
"job_class": "standard",
"callback_url": "<string>"
}
'import requests
url = "https://api.runflow.io/v1/evaluations"
payload = {
"generated_image_url": "<string>",
"task_type": "<string>",
"task_description": "<string>",
"generation_prompt": "<string>",
"evaluation_instructions": "<string>",
"input_attributes": {},
"reference_images": [
{
"url": "<string>",
"kind": "<string>",
"description": "<string>"
}
],
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_ref": "<string>",
"job_class": "standard",
"callback_url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
generated_image_url: '<string>',
task_type: '<string>',
task_description: '<string>',
generation_prompt: '<string>',
evaluation_instructions: '<string>',
input_attributes: {},
reference_images: [{url: '<string>', kind: '<string>', description: '<string>'}],
run_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
client_ref: '<string>',
job_class: 'standard',
callback_url: '<string>'
})
};
fetch('https://api.runflow.io/v1/evaluations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runflow.io/v1/evaluations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'generated_image_url' => '<string>',
'task_type' => '<string>',
'task_description' => '<string>',
'generation_prompt' => '<string>',
'evaluation_instructions' => '<string>',
'input_attributes' => [
],
'reference_images' => [
[
'url' => '<string>',
'kind' => '<string>',
'description' => '<string>'
]
],
'run_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'client_ref' => '<string>',
'job_class' => 'standard',
'callback_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runflow.io/v1/evaluations"
payload := strings.NewReader("{\n \"generated_image_url\": \"<string>\",\n \"task_type\": \"<string>\",\n \"task_description\": \"<string>\",\n \"generation_prompt\": \"<string>\",\n \"evaluation_instructions\": \"<string>\",\n \"input_attributes\": {},\n \"reference_images\": [\n {\n \"url\": \"<string>\",\n \"kind\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"client_ref\": \"<string>\",\n \"job_class\": \"standard\",\n \"callback_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runflow.io/v1/evaluations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"generated_image_url\": \"<string>\",\n \"task_type\": \"<string>\",\n \"task_description\": \"<string>\",\n \"generation_prompt\": \"<string>\",\n \"evaluation_instructions\": \"<string>\",\n \"input_attributes\": {},\n \"reference_images\": [\n {\n \"url\": \"<string>\",\n \"kind\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"client_ref\": \"<string>\",\n \"job_class\": \"standard\",\n \"callback_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runflow.io/v1/evaluations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"generated_image_url\": \"<string>\",\n \"task_type\": \"<string>\",\n \"task_description\": \"<string>\",\n \"generation_prompt\": \"<string>\",\n \"evaluation_instructions\": \"<string>\",\n \"input_attributes\": {},\n \"reference_images\": [\n {\n \"url\": \"<string>\",\n \"kind\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"client_ref\": \"<string>\",\n \"job_class\": \"standard\",\n \"callback_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_type_code": "<string>",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_type": "<string>",
"task_description": "<string>",
"generation_prompt": "<string>",
"generated_image_url": "<string>",
"input_attributes": {},
"evaluation_instructions": "<string>",
"reference_images": [
{}
],
"overall_passed": true,
"weighted_pass_rate": 123,
"override_reason": "<string>",
"top_issues": [
"<string>"
],
"top_strengths": [
"<string>"
],
"check_summary": {},
"analysis_modules_executed": 123,
"primary_action_code": "<string>",
"parent_evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attempt_number": 123,
"superseded_at": "2023-11-07T05:31:56Z",
"eval_duration_ms": 123,
"feedback_is_positive": true,
"feedback_reason": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"client_ref": "<string>",
"submitted_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"callback_url": "<string>",
"cost": "<string>",
"links": {},
"judges": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"passed": true,
"confidence": 123,
"weight": 123,
"reasoning": "<string>",
"evidence": [
"<string>"
],
"sub_point_results": {},
"sub_points_evaluated": 123,
"created_at": "2023-11-07T05:31:56Z",
"issues": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_judge_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"subcategory": "<string>",
"detail": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
],
"gate_failures": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"output_key": "<string>",
"module": "<string>",
"reason": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"action": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primary_action": "<string>",
"failure_summary": "<string>",
"improved_prompt": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_version": "<string>",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": {},
"output": {},
"context": {},
"duration_ms": 123,
"cost": "<string>",
"cost_breakdown": {},
"nodes_total": 123,
"nodes_completed": 123,
"resolved_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_ref": "<string>",
"jurisdiction_code": "<string>",
"flow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_id": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"callback_url": "<string>",
"metadata": {},
"has_logs": true,
"has_node_runs": true,
"links": {},
"failure_code": "<string>",
"failure_message": "<string>",
"feedback_is_positive": true,
"feedback_reason": "<string>",
"source_chat_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_evaluation_summary": {
"passed": true,
"status_code": "<string>",
"score": 0.5
},
"node_runs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state_code": "<string>",
"input": {},
"output": {},
"input_signature": "<string>",
"preview_type": "<string>",
"preview_value": "<string>",
"duration_ms": 123,
"cost": "<string>",
"retry_count": 123,
"error_message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
],
"logs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"level_code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"meta": {},
"run": null
}
],
"model": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_creator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"version": "<string>",
"is_public": true,
"is_open_source": true,
"icon_url": "<string>",
"cover_url": "<string>",
"category_code": "<string>",
"status_code": "<string>",
"family_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"family_variant_code": "<string>",
"param_count": "<string>",
"architecture": "<string>",
"license_code": "<string>",
"max_resolution": "<string>",
"lora_support": true,
"fine_tuning": true,
"supports_streaming": true,
"paper_url": "<string>",
"github_url": "<string>",
"is_official": true,
"availability_status": "<string>",
"seo": {},
"notable_features": [
"<unknown>"
],
"content": "<string>",
"pricing_note": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"default_behavior_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"is_required": true,
"default_value": {},
"sort_order": 123,
"is_featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"outputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"examples": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"input": {},
"output": {},
"status_code": 123,
"cost": "<string>",
"start_type": "<string>",
"timing": {},
"duration_ms": 123,
"total_ms": 123,
"thumbnail_url": "<string>",
"category_code": "<string>",
"is_featured": true,
"is_public": true,
"sort_order": 123,
"ran_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"faq_entries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"answer": "<string>",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pricing": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricing_model_code": "<string>",
"rule_effect_code": "<string>",
"model_input_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"match_value": null,
"dimension_code": "<string>",
"min_value": "<string>",
"max_value": "<string>",
"price": "<string>",
"currency_code": "<string>",
"unit_code": "<string>",
"multiplier_label": "<string>",
"description": "<string>",
"sort_order": 123,
"disabled_at": "2023-11-07T05:31:56Z",
"measurement_source": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"related_links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"related_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z"
}
]
},
"comfyui_workflow": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"workflow_json": {},
"version": "<string>",
"is_public": true,
"status_code": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment": {},
"models": {},
"custom_nodes": {},
"graph": {},
"resources": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category_code": "<string>",
"gpu_current_tier_code": "<string>",
"inputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"default_behavior_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"is_required": true,
"default_value": {},
"sort_order": 123,
"comfyui_node_id": "<string>",
"comfyui_field_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"outputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"sort_order": 123,
"comfyui_node_id": "<string>",
"comfyui_field_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"gpu_explicit_models": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gpu_model_code": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
},
"model": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_creator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"version": "<string>",
"is_public": true,
"is_open_source": true,
"icon_url": "<string>",
"cover_url": "<string>",
"category_code": "<string>",
"status_code": "<string>",
"family_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"family_variant_code": "<string>",
"param_count": "<string>",
"architecture": "<string>",
"license_code": "<string>",
"max_resolution": "<string>",
"lora_support": true,
"fine_tuning": true,
"supports_streaming": true,
"paper_url": "<string>",
"github_url": "<string>",
"is_official": true,
"availability_status": "<string>",
"seo": {},
"notable_features": [
"<unknown>"
],
"content": "<string>",
"pricing_note": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"default_behavior_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"is_required": true,
"default_value": {},
"sort_order": 123,
"is_featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"outputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"examples": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"input": {},
"output": {},
"status_code": 123,
"cost": "<string>",
"start_type": "<string>",
"timing": {},
"duration_ms": 123,
"total_ms": 123,
"thumbnail_url": "<string>",
"category_code": "<string>",
"is_featured": true,
"is_public": true,
"sort_order": 123,
"ran_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"faq_entries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"answer": "<string>",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pricing": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricing_model_code": "<string>",
"rule_effect_code": "<string>",
"model_input_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"match_value": null,
"dimension_code": "<string>",
"min_value": "<string>",
"max_value": "<string>",
"price": "<string>",
"currency_code": "<string>",
"unit_code": "<string>",
"multiplier_label": "<string>",
"description": "<string>",
"sort_order": 123,
"disabled_at": "2023-11-07T05:31:56Z",
"measurement_source": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"related_links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"related_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z"
}
]
},
"parent_evaluation": null
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}Submit an image for quality evaluation
Create a quality evaluation for an image generated anywhere — no Runflow run required (pass run_id to associate one of your runs). Asynchronous: returns 202 with a pending evaluation; poll GET /v1/evaluations/{id} or supply a callback_url for a signed terminal webhook. Admission requires credits covering the job class’s price (see GET /v1/evaluations/job-classes); the quoted price is frozen at submission and charged when the evaluation completes (or fails after processing started). Optional Idempotency-Key header makes retries safe.
curl --request POST \
--url https://api.runflow.io/v1/evaluations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"generated_image_url": "<string>",
"task_type": "<string>",
"task_description": "<string>",
"generation_prompt": "<string>",
"evaluation_instructions": "<string>",
"input_attributes": {},
"reference_images": [
{
"url": "<string>",
"kind": "<string>",
"description": "<string>"
}
],
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_ref": "<string>",
"job_class": "standard",
"callback_url": "<string>"
}
'import requests
url = "https://api.runflow.io/v1/evaluations"
payload = {
"generated_image_url": "<string>",
"task_type": "<string>",
"task_description": "<string>",
"generation_prompt": "<string>",
"evaluation_instructions": "<string>",
"input_attributes": {},
"reference_images": [
{
"url": "<string>",
"kind": "<string>",
"description": "<string>"
}
],
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_ref": "<string>",
"job_class": "standard",
"callback_url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
generated_image_url: '<string>',
task_type: '<string>',
task_description: '<string>',
generation_prompt: '<string>',
evaluation_instructions: '<string>',
input_attributes: {},
reference_images: [{url: '<string>', kind: '<string>', description: '<string>'}],
run_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
client_ref: '<string>',
job_class: 'standard',
callback_url: '<string>'
})
};
fetch('https://api.runflow.io/v1/evaluations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runflow.io/v1/evaluations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'generated_image_url' => '<string>',
'task_type' => '<string>',
'task_description' => '<string>',
'generation_prompt' => '<string>',
'evaluation_instructions' => '<string>',
'input_attributes' => [
],
'reference_images' => [
[
'url' => '<string>',
'kind' => '<string>',
'description' => '<string>'
]
],
'run_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'client_ref' => '<string>',
'job_class' => 'standard',
'callback_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runflow.io/v1/evaluations"
payload := strings.NewReader("{\n \"generated_image_url\": \"<string>\",\n \"task_type\": \"<string>\",\n \"task_description\": \"<string>\",\n \"generation_prompt\": \"<string>\",\n \"evaluation_instructions\": \"<string>\",\n \"input_attributes\": {},\n \"reference_images\": [\n {\n \"url\": \"<string>\",\n \"kind\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"client_ref\": \"<string>\",\n \"job_class\": \"standard\",\n \"callback_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runflow.io/v1/evaluations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"generated_image_url\": \"<string>\",\n \"task_type\": \"<string>\",\n \"task_description\": \"<string>\",\n \"generation_prompt\": \"<string>\",\n \"evaluation_instructions\": \"<string>\",\n \"input_attributes\": {},\n \"reference_images\": [\n {\n \"url\": \"<string>\",\n \"kind\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"client_ref\": \"<string>\",\n \"job_class\": \"standard\",\n \"callback_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runflow.io/v1/evaluations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"generated_image_url\": \"<string>\",\n \"task_type\": \"<string>\",\n \"task_description\": \"<string>\",\n \"generation_prompt\": \"<string>\",\n \"evaluation_instructions\": \"<string>\",\n \"input_attributes\": {},\n \"reference_images\": [\n {\n \"url\": \"<string>\",\n \"kind\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"client_ref\": \"<string>\",\n \"job_class\": \"standard\",\n \"callback_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_type_code": "<string>",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_type": "<string>",
"task_description": "<string>",
"generation_prompt": "<string>",
"generated_image_url": "<string>",
"input_attributes": {},
"evaluation_instructions": "<string>",
"reference_images": [
{}
],
"overall_passed": true,
"weighted_pass_rate": 123,
"override_reason": "<string>",
"top_issues": [
"<string>"
],
"top_strengths": [
"<string>"
],
"check_summary": {},
"analysis_modules_executed": 123,
"primary_action_code": "<string>",
"parent_evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attempt_number": 123,
"superseded_at": "2023-11-07T05:31:56Z",
"eval_duration_ms": 123,
"feedback_is_positive": true,
"feedback_reason": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"client_ref": "<string>",
"submitted_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"callback_url": "<string>",
"cost": "<string>",
"links": {},
"judges": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"passed": true,
"confidence": 123,
"weight": 123,
"reasoning": "<string>",
"evidence": [
"<string>"
],
"sub_point_results": {},
"sub_points_evaluated": 123,
"created_at": "2023-11-07T05:31:56Z",
"issues": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_judge_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"subcategory": "<string>",
"detail": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
],
"gate_failures": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"output_key": "<string>",
"module": "<string>",
"reason": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"action": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primary_action": "<string>",
"failure_summary": "<string>",
"improved_prompt": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_version": "<string>",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": {},
"output": {},
"context": {},
"duration_ms": 123,
"cost": "<string>",
"cost_breakdown": {},
"nodes_total": 123,
"nodes_completed": 123,
"resolved_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_ref": "<string>",
"jurisdiction_code": "<string>",
"flow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_id": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"callback_url": "<string>",
"metadata": {},
"has_logs": true,
"has_node_runs": true,
"links": {},
"failure_code": "<string>",
"failure_message": "<string>",
"feedback_is_positive": true,
"feedback_reason": "<string>",
"source_chat_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_evaluation_summary": {
"passed": true,
"status_code": "<string>",
"score": 0.5
},
"node_runs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state_code": "<string>",
"input": {},
"output": {},
"input_signature": "<string>",
"preview_type": "<string>",
"preview_value": "<string>",
"duration_ms": 123,
"cost": "<string>",
"retry_count": 123,
"error_message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
],
"logs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"level_code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"meta": {},
"run": null
}
],
"model": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_creator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"version": "<string>",
"is_public": true,
"is_open_source": true,
"icon_url": "<string>",
"cover_url": "<string>",
"category_code": "<string>",
"status_code": "<string>",
"family_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"family_variant_code": "<string>",
"param_count": "<string>",
"architecture": "<string>",
"license_code": "<string>",
"max_resolution": "<string>",
"lora_support": true,
"fine_tuning": true,
"supports_streaming": true,
"paper_url": "<string>",
"github_url": "<string>",
"is_official": true,
"availability_status": "<string>",
"seo": {},
"notable_features": [
"<unknown>"
],
"content": "<string>",
"pricing_note": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"default_behavior_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"is_required": true,
"default_value": {},
"sort_order": 123,
"is_featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"outputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"examples": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"input": {},
"output": {},
"status_code": 123,
"cost": "<string>",
"start_type": "<string>",
"timing": {},
"duration_ms": 123,
"total_ms": 123,
"thumbnail_url": "<string>",
"category_code": "<string>",
"is_featured": true,
"is_public": true,
"sort_order": 123,
"ran_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"faq_entries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"answer": "<string>",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pricing": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricing_model_code": "<string>",
"rule_effect_code": "<string>",
"model_input_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"match_value": null,
"dimension_code": "<string>",
"min_value": "<string>",
"max_value": "<string>",
"price": "<string>",
"currency_code": "<string>",
"unit_code": "<string>",
"multiplier_label": "<string>",
"description": "<string>",
"sort_order": 123,
"disabled_at": "2023-11-07T05:31:56Z",
"measurement_source": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"related_links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"related_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z"
}
]
},
"comfyui_workflow": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"workflow_json": {},
"version": "<string>",
"is_public": true,
"status_code": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment": {},
"models": {},
"custom_nodes": {},
"graph": {},
"resources": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category_code": "<string>",
"gpu_current_tier_code": "<string>",
"inputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"default_behavior_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"is_required": true,
"default_value": {},
"sort_order": 123,
"comfyui_node_id": "<string>",
"comfyui_field_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"outputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"sort_order": 123,
"comfyui_node_id": "<string>",
"comfyui_field_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"gpu_explicit_models": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comfyui_workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gpu_model_code": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
},
"model": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_creator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"version": "<string>",
"is_public": true,
"is_open_source": true,
"icon_url": "<string>",
"cover_url": "<string>",
"category_code": "<string>",
"status_code": "<string>",
"family_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"family_variant_code": "<string>",
"param_count": "<string>",
"architecture": "<string>",
"license_code": "<string>",
"max_resolution": "<string>",
"lora_support": true,
"fine_tuning": true,
"supports_streaming": true,
"paper_url": "<string>",
"github_url": "<string>",
"is_official": true,
"availability_status": "<string>",
"seo": {},
"notable_features": [
"<unknown>"
],
"content": "<string>",
"pricing_note": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"default_behavior_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"is_required": true,
"default_value": {},
"sort_order": 123,
"is_featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"outputs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"variable_type_code": "<string>",
"validator_code": "<string>",
"validator_attrs": {},
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"examples": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"input": {},
"output": {},
"status_code": 123,
"cost": "<string>",
"start_type": "<string>",
"timing": {},
"duration_ms": 123,
"total_ms": 123,
"thumbnail_url": "<string>",
"category_code": "<string>",
"is_featured": true,
"is_public": true,
"sort_order": 123,
"ran_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"faq_entries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"answer": "<string>",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pricing": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricing_model_code": "<string>",
"rule_effect_code": "<string>",
"model_input_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"match_value": null,
"dimension_code": "<string>",
"min_value": "<string>",
"max_value": "<string>",
"price": "<string>",
"currency_code": "<string>",
"unit_code": "<string>",
"multiplier_label": "<string>",
"description": "<string>",
"sort_order": 123,
"disabled_at": "2023-11-07T05:31:56Z",
"measurement_source": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"related_links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"related_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sort_order": 123,
"created_at": "2023-11-07T05:31:56Z"
}
]
},
"parent_evaluation": null
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
The image to evaluate: a public https:// URL, a runflow://assets/{uuid} reference from POST /v1/asset-uploads, or a data:image/... URI (materialized into a hosted asset).
12000000What kind of generation produced the image, e.g. headshot or image_generation.
1 - 100Longer description of the generation task, used to plan the evaluation.
4000The prompt that produced the image — strongly recommended for prompt-adherence judging.
10000Free-text rubric: what the evaluator should prioritize or ignore.
4000Structured generation attributes (e.g. {"style": "corporate"}) shown to the evaluator.
Reference images for identity/garment comparison (max 4).
4Show child attributes
Show child attributes
Optional: associate this evaluation with one of your Runflow runs. The submitted image does not need to be the run's output (e.g. a post-processed export). Platform auto-evaluation of the run's own output is unaffected.
Your correlation label, echoed in responses and callbacks. Not an idempotency key.
255Evaluation job class — see GET /v1/evaluations/job-classes for active classes and per-class prices. Currently only standard.
50HTTPS endpoint to receive a signed evaluation.completed / evaluation.failed callback when the evaluation terminates.
2048Response
Successful Response
pending, running, completed, failed platform, api ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$invalid_media, dispatch_failed, processing_failed, timed_out standard, quick Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response shape.
Show child attributes
Show child attributes
Response shape.
Show child attributes
Show child attributes