curl --request GET \
--url https://api.royalti.io/file/processing/{jobId} \
--header 'Authorization: Bearer <token>'{
"id": "job_abc123xyz",
"name": "royalty-text-processing",
"status": "active",
"progress": 45,
"processedOn": "2024-01-15T10:30:00Z",
"finishedOn": null,
"failedReason": null,
"data": {
"fileName": "spotify_2024-01.csv",
"royaltySource": "spotify",
"accountingPeriod": "2024-01-01",
"rowsProcessed": 45000,
"rowsTotal": 100000
}
}Get royalty processing job status
curl --request GET \
--url https://api.royalti.io/file/processing/{jobId} \
--header 'Authorization: Bearer <token>'{
"id": "job_abc123xyz",
"name": "royalty-text-processing",
"status": "active",
"progress": 45,
"processedOn": "2024-01-15T10:30:00Z",
"finishedOn": null,
"failedReason": null,
"data": {
"fileName": "spotify_2024-01.csv",
"royaltySource": "spotify",
"accountingPeriod": "2024-01-01",
"rowsProcessed": 45000,
"rowsTotal": 100000
}
}const response = await fetch('https://api.royalti.io/file/processing/example-id', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
The processing job ID returned from file confirmation
Success - Returns job details
Job ID
Job name/type
Current job status
waiting, active, completed, failed Processing progress (0-100)
0 <= x <= 100Timestamp when job started processing
Timestamp when job finished
Error message if job failed
Job-specific data and metadata