ImportJob
ObjectRepresents a long-running import job.
Fields
- DateTime
completedAt When the job reached a terminal state.
- DateTime!
createdAt When the job was created.
- String
errorMessage A human-readable error message if the job aborted.
- String
errorReportUrl A URL pointing to the CSV report listing failed rows.
- ID!
id The unique identifier of the import job.
- ImportJobKind!
kind The kind of data the job imports.
Possible enum valuesTRANSLATIONSImports translated content.
- String!
requestedByEmail The email address the result was delivered to.
- String
requestedByName The display name of the requester, if available.
- String!
requestedByUserId The identifier of the user who requested the import.
- Long
rowsFailed The number of rows that failed to import.
- Long
rowsProcessed The number of rows successfully imported.
- Long
rowsTotal The total number of rows read from the CSV.
- String
sourceFileName The original filename of the uploaded CSV.
- Long
sourceFileSizeBytes The size of the uploaded CSV in bytes.
- DateTime
startedAt When processing started.
- ImportJobStatus!
status The current status of the job.
Possible enum valuesFAILEDThe import stopped without a successful result.
PARTIALLY_FAILEDThe import completed, but one or more entries could not be processed.
PENDINGThe import is queued and has not started.
RUNNINGThe import is currently being processed.
SUCCEEDEDEvery 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.