⏳ Get Job Details
The jobDetails query returns the status and results of an asynchronous job, such as a bulk activity import started with bulkUploadActivity. Use the jobId returned when the job was created.
Parameters
Parameter | Type | Description |
|---|---|---|
| String! | ID of the job, as returned by |
Response Fields
Field | Type | Description |
|---|---|---|
| String! | Unique identifier of the job. |
| JobStatus! | Current job status ( |
| JobKind | Type of job ( |
| String | Name of the uploaded file. |
| String | Type of the uploaded file. |
| JobFileInfo | Location of the uploaded input file. |
| JobFileInfo | Location of the results file, once processing has produced one. |
| [Asset!]! | Assets attached to the job. |
| DateTime! | Timestamp when the job was created. |
| DateTime! | Timestamp when the job was last updated. |
| Int | Number of records processed successfully. |
| Int | Number of records that failed. |
JobFileInfo Fields
Field | Type | Description |
|---|---|---|
| String | Storage path of the file. |
| String | URL to download the file. |
| Json | Headers to include when requesting the file, if any. |
Note: Instead of polling
jobDetails, you can subscribe to theACTIVITY_UPLOAD_FINISHEDwebhook event to be notified when a bulk upload finishes. See Webhooks.