ExportJob

Object

Represents a long-running export job.

#

Fields


completedAt
DateTime

When the job reached a terminal state.

createdAt
DateTime!

When the job was created.

errorMessage
String

A human-readable error message if the job has failed.

fileSizeBytes
Long

The size of the generated file in bytes.

fileUrl
String

A pre-signed URL pointing to the generated CSV file. Available once the job has succeeded.

id
ID!

The unique identifier of the export job.

kind
ExportJobKind!

The kind of data the job exports.

Possible enum values
  • PRODUCTS

    Exports product catalog data.

  • TRANSLATIONS

    Exports translatable content.

requestedByEmail
String!

The email address the result was delivered to.

requestedByName
String

The display name of the requester, if available.

requestedByUserId
String!

The identifier of the user who requested the export.

rowCount
Long

The number of rows in the generated file.

startedAt
DateTime

When processing started.

status
ExportJobStatus!

The current status of the job.

Possible enum values
  • FAILED

    The export stopped without producing a successful result.

  • PENDING

    The export is queued and has not started.

  • RUNNING

    The export is currently being generated.

  • SUCCEEDED

    The export completed successfully.

#

Queries


Retrieves an export job by its identifier.

#

Mutations


Starts a product export job. The CSV result is delivered to the requester’s email once complete.

Starts a translation export job. The CSV result is delivered to the requester’s email once complete.