ImportJob

Object

Represents a long-running import 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 aborted.

errorReportUrl
String

A URL pointing to the CSV report listing failed rows.

id
ID!

The unique identifier of the import job.

kind
ImportJobKind!

The kind of data the job imports.

Possible enum values
  • TRANSLATIONS

    Imports translated 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 import.

rowsFailed
Long

The number of rows that failed to import.

rowsProcessed
Long

The number of rows successfully imported.

rowsTotal
Long

The total number of rows read from the CSV.

sourceFileName
String

The original filename of the uploaded CSV.

sourceFileSizeBytes
Long

The size of the uploaded CSV in bytes.

startedAt
DateTime

When processing started.

status
ImportJobStatus!

The current status of the job.

Possible enum values
  • FAILED

    The import stopped without a successful result.

  • PARTIALLY_FAILED

    The import completed, but one or more entries could not be processed.

  • PENDING

    The import is queued and has not started.

  • RUNNING

    The import is currently being processed.

  • SUCCEEDED

    Every import entry was processed successfully.

#

Queries


Retrieves an import job by its identifier.

#

Mutations


Starts a translation import job. The CSV is uploaded, validated, and processed asynchronously.