Poll batches job

Poll the asynchronous job created when deleting a batch. <Info>This endpoint and the SDK method `client.batches.poll_job()` are maintained for backward compatibility, but they are an outdated way to check job status. Prefer the functionally identical [poll file operation job status](/api-sdk/api-reference/jobs/job-status) endpoint and its SDK method `client.jobs.status()`.</Info>

Authentication

AuthorizationBearer
Bearer HTTP authentication.

Path parameters

job_idstringRequired

The job ID returned by a Delete batch request.

Headers

IB-ContextstringOptional

Typically your organization ID. See Authorization and context identification for details.

Response

Request successful
stateenumOptional
The status of the job.
messagestringOptional
Job status message.