Batch poll job statuses
POST
/api/v1/jobs/batch-status
const url = 'https://dashboard.justcrawl.io/api/v1/jobs/batch-status';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"jobIds":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/jobs/batch-status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "jobIds": [ "example" ] }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
jobIds
required
Array<string>
Example generated
{ "jobIds": [ "example" ]}Responses
Section titled “ Responses ”Array of job statuses
Media type application/json
object
jobs
Array<object>
object
id
string format: uuid
status
string
url
string
workflowId
string format: uuid
version
integer
providerId
string
statusCode
integer
latencyMs
integer
errorType
string
errorMessage
string
scheduleId
string format: uuid
createdAt
string format: date-time
completedAt
string format: date-time
Example
{ "jobs": [ { "status": "queued" } ]}