Skip to content
Woolf Help Center home
InboxAsk a human

⏳ 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

jobId

String!

ID of the job, as returned by bulkUploadActivity.

Response Fields

Field

Type

Description

id

String!

Unique identifier of the job.

status

JobStatus!

Current job status (PENDING, PROCESSING, COMPLETED, FAILED).

kind

JobKind

Type of job (BULK_ACTIVITY_IMPORT).

fileName

String

Name of the uploaded file.

fileKind

String

Type of the uploaded file.

url

JobFileInfo

Location of the uploaded input file.

resultsUrl

JobFileInfo

Location of the results file, once processing has produced one.

assets

[Asset!]!

Assets attached to the job.

created

DateTime!

Timestamp when the job was created.

updated

DateTime!

Timestamp when the job was last updated.

successCount

Int

Number of records processed successfully.

errorCount

Int

Number of records that failed.

JobFileInfo Fields

Field

Type

Description

path

String

Storage path of the file.

downloadUrl

String

URL to download the file.

headers

Json

Headers to include when requesting the file, if any.

Note: Instead of polling jobDetails, you can subscribe to the ACTIVITY_UPLOAD_FINISHED webhook event to be notified when a bulk upload finishes. See Webhooks.

🚀 Request (Try It)