Swap

  • Base schema for all async processing jobs

    • createdAt
      Type: stringFormat: date-time

      When the job was created

    • customPrompt
      Type: string | null

      Custom prompt used for generation

    • errorMessage
      Type: string | null

      Error message if the job failed

    • id
      Type: stringFormat: uuid

      Unique identifier for the job

    • inputImageUrls
      Type: array string[]

      URLs of the input images

    • outputUrls
      Type: array string[]

      URLs of the output assets

    • status
      Type: string ยท JobStatusenum

      Status of an async processing job

      values
      • PENDING
      • PROCESSING
      • COMPLETED
      • FAILED
    • updatedAt
      Type: stringFormat: date-time

      When the job was last updated