Skip to main content
POST
/
comparisons
/
execute_multiple
curl -X POST "https://YOUR_BASE_URL/comparisons/execute_multiple" \
  -H "Authorization: Bearer <api-key>" \
  -H "Workspace-Id: <workspace-id>" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_run_id": "aaaaaaaa-1111-2222-3333-444444444444",
    "comparison_agent_configs": [
      {
        "id": 1,
        "configuration": {
          "name": "orders comparison",
          "source_datasource_id": "aaaaaaaa-0000-0000-0000-000000000001",
          "target_datasource_id": "bbbbbbbb-0000-0000-0000-000000000002",
          "source_dataset_id": "cccccccc-0000-0000-0000-000000000003",
          "target_dataset_id": "dddddddd-0000-0000-0000-000000000004",
          "configuration": {
            "source_columns": ["order_id", "total"],
            "target_columns": ["order_id", "total"],
            "primary_keys_source": ["order_id"],
            "primary_keys_target": ["order_id"]
          }
        }
      }
    ]
  }'
{
  "message": "Comparisons submitted for execution",
  "mapped_run_ids": {
    "1": 1043
  }
}
Authorization
string
required
Bearer token. Format: Bearer <api-key>
Workspace-Id
string
required
Your workspace UUID.
agent_run_id
string
required
UUID of the agent run this batch belongs to.
comparison_agent_configs
array
required
List of comparison configurations to execute.

Response

message
string
Status message.
mapped_run_ids
object
Map of config ID to job run ID. Use the run IDs to monitor progress via the Jobs API.
curl -X POST "https://YOUR_BASE_URL/comparisons/execute_multiple" \
  -H "Authorization: Bearer <api-key>" \
  -H "Workspace-Id: <workspace-id>" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_run_id": "aaaaaaaa-1111-2222-3333-444444444444",
    "comparison_agent_configs": [
      {
        "id": 1,
        "configuration": {
          "name": "orders comparison",
          "source_datasource_id": "aaaaaaaa-0000-0000-0000-000000000001",
          "target_datasource_id": "bbbbbbbb-0000-0000-0000-000000000002",
          "source_dataset_id": "cccccccc-0000-0000-0000-000000000003",
          "target_dataset_id": "dddddddd-0000-0000-0000-000000000004",
          "configuration": {
            "source_columns": ["order_id", "total"],
            "target_columns": ["order_id", "total"],
            "primary_keys_source": ["order_id"],
            "primary_keys_target": ["order_id"]
          }
        }
      }
    ]
  }'
{
  "message": "Comparisons submitted for execution",
  "mapped_run_ids": {
    "1": 1043
  }
}