Skip to main content
POST
/
comparisons
/
{comparison_id}
/
execute
curl -X POST "https://YOUR_BASE_URL/comparisons/eeeeeeee-0000-0000-0000-000000000005/execute" \
  -H "Authorization: Bearer <api-key>" \
  -H "Workspace-Id: <workspace-id>"
{
  "message": "Comparison execution started",
  "run_id": 1042,
  "celery_task_id": "7f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c"
}
Authorization
string
required
Bearer token. Format: Bearer <api-key>
Workspace-Id
string
required
Your workspace UUID.
comparison_id
string
required
UUID of the comparison to execute.
celery_task_id
string
If provided, the running job with this task ID is terminated before a new execution starts.
enable_priority
boolean
default:"false"
If true, the job is placed at the front of the execution queue.
translation_iteration_no
integer
Translation iteration number. Used when executing as part of a translation workflow.
translation_run_id
string
Translation run ID. Used when executing as part of a translation workflow.
current_event_key
string
Event key for tracking the execution in an agent workflow.

Response

message
string
Status message.
run_id
integer
The job ID. Use this to monitor progress via the Jobs API.
celery_task_id
string
The background task ID assigned to this execution.
curl -X POST "https://YOUR_BASE_URL/comparisons/eeeeeeee-0000-0000-0000-000000000005/execute" \
  -H "Authorization: Bearer <api-key>" \
  -H "Workspace-Id: <workspace-id>"
{
  "message": "Comparison execution started",
  "run_id": 1042,
  "celery_task_id": "7f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c"
}