Overview
Get detailed information about a specific sync job, including status, timing, and entity processing statistics.
Path Parameters
Unique UUID identifier of the sync jobExample: “770e8400-e29b-41d4-a716-446655440002”
Response
Unique UUID identifier of the sync job
UUID of the sync configuration this job belongs to
Name of the sync (populated from join query)
Current job status: created, pending, in_progress, completed, failed, or cancelled
Whether this job was triggered by a schedule (true) or manually (false)
Number of new entities created
Number of existing entities updated
Number of entities removed
Number of entities that were checked but required no changes
Number of entities skipped due to filtering rules
Detailed breakdown of entities processed by type or category
When the job began active processing (ISO 8601)
When the job finished successfully (ISO 8601)
When the job failed (ISO 8601)
Detailed error message if the job failed
Sync configuration used for this job
Additional metadata about the sync
When the job was created (ISO 8601)
When the job was last modified (ISO 8601)
Email of the user who created the job (for manually triggered jobs)
Email of the user who last modified the job
Example Request
curl "https://api.airweave.ai/v1/sync/jobs/770e8400-e29b-41d4-a716-446655440002" \
-H "Authorization: Bearer YOUR_API_KEY"
Example Response
{
"id": "770e8400-e29b-41d4-a716-446655440002",
"sync_id": "660e8400-e29b-41d4-a716-446655440001",
"sync_name": "GitHub Repositories Sync",
"organization_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"scheduled": true,
"entities_inserted": 45,
"entities_updated": 12,
"entities_deleted": 3,
"entities_kept": 120,
"entities_skipped": 0,
"entities_encountered": {
"GitHubRepositoryEntity": 180
},
"started_at": "2024-03-20T10:00:00Z",
"completed_at": "2024-03-20T10:05:32Z",
"failed_at": null,
"error": null,
"sync_config": null,
"sync_metadata": {},
"created_at": "2024-03-20T09:59:45Z",
"modified_at": "2024-03-20T10:05:32Z",
"created_by_email": null,
"modified_by_email": null
}
Error Responses
Sync job with the specified ID does not exist or does not belong to your organization
Missing or invalid authentication