curl -X POST "https://YOUR_BASE_URL/jobs/comparison/details" \
-H "Authorization: Bearer <api-key>" \
-H "Workspace-Id: <workspace-id>" \
-H "Content-Type: application/json" \
-d '[1042, 1043]'
{
"data": [
{
"run_id": 1042,
"comparison_id": "eeeeeeee-0000-0000-0000-000000000005",
"comparison_name": "orders table comparison",
"status": "SUCCESS",
"failure_reason": null,
"started_at": "2025-01-15T10:00:02Z",
"finished_at": "2025-01-15T10:01:45Z",
"result": {
"diff_status": "MISMATCH",
"diff_reasons": ["Row count mismatch", "Column value differences in total"],
"time_taken": 103.2
}
}
],
"meta": {}
}
Retrieve details for a list of comparison jobs by their job IDs.
curl -X POST "https://YOUR_BASE_URL/jobs/comparison/details" \
-H "Authorization: Bearer <api-key>" \
-H "Workspace-Id: <workspace-id>" \
-H "Content-Type: application/json" \
-d '[1042, 1043]'
{
"data": [
{
"run_id": 1042,
"comparison_id": "eeeeeeee-0000-0000-0000-000000000005",
"comparison_name": "orders table comparison",
"status": "SUCCESS",
"failure_reason": null,
"started_at": "2025-01-15T10:00:02Z",
"finished_at": "2025-01-15T10:01:45Z",
"result": {
"diff_status": "MISMATCH",
"diff_reasons": ["Row count mismatch", "Column value differences in total"],
"time_taken": 103.2
}
}
],
"meta": {}
}
Bearer <api-key>Show data[]
PENDING, STARTED, SUCCESS, FAILURE, REVOKED.curl -X POST "https://YOUR_BASE_URL/jobs/comparison/details" \
-H "Authorization: Bearer <api-key>" \
-H "Workspace-Id: <workspace-id>" \
-H "Content-Type: application/json" \
-d '[1042, 1043]'
{
"data": [
{
"run_id": 1042,
"comparison_id": "eeeeeeee-0000-0000-0000-000000000005",
"comparison_name": "orders table comparison",
"status": "SUCCESS",
"failure_reason": null,
"started_at": "2025-01-15T10:00:02Z",
"finished_at": "2025-01-15T10:01:45Z",
"result": {
"diff_status": "MISMATCH",
"diff_reasons": ["Row count mismatch", "Column value differences in total"],
"time_taken": 103.2
}
}
],
"meta": {}
}