Overview
Retrieve all sync jobs across all syncs in your organization. This provides a unified view of data synchronization activity.
Use Cases:
- Monitor all sync activity across your organization
- Track sync performance and reliability
- Identify failed syncs that need attention
- Audit data refresh operations
Query Parameters
Number of jobs to skip for pagination
Maximum number of jobs to return (1-100)
Filter by job status. Can specify multiple statuses.Valid values: created, pending, in_progress, completed, failed, cancelledExample: ?status=failed&status=in_progress
Response
Returns an array of sync job objects.
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: Job created but not queued
pending: Queued and waiting to start
in_progress: Currently running
completed: Finished successfully
failed: Encountered errors
cancelled: Manually 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 checked but unchanged
Number of entities skipped due to filters or rules
Breakdown of entities processed by type
When the job began processing (ISO 8601)
When the job finished (ISO 8601)
When the job failed (ISO 8601)
Error message if the job failed
When the job was created (ISO 8601)
When the job was last modified (ISO 8601)
Email of the user who created the job
Email of the user who last modified the job
Example Request
curl "https://api.airweave.ai/v1/sync/jobs?status=failed&limit=20" \
-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,
"created_at": "2024-03-20T09:59:45Z",
"modified_at": "2024-03-20T10:05:32Z",
"created_by_email": null,
"modified_by_email": null
}
]
Error Responses
Missing or invalid authentication
Invalid status value or pagination parameters