Images

Get job status

Fetch the current state of an async job (image generation, etc.). Same response shape as POST /v1/images/generations.

get/jobs/{id}

Request

  • Base URL: https://kymaapi.com/v1
  • URL: https://kymaapi.com/v1/jobs/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Job status

idstring
object'image.job'
status'pending' | 'processing' | 'succeeded' | 'failed' | 'refunded' | 'expired'
modelstring
created_atstring date-time
completed_atstring date-time nullable
estimated_costnumber nullable

Hold amount placed at submit time (USD), as the ledger holds it. null while the job is queued and nothing is held yet.

charged_amountnumber nullable

Final billed amount (USD) once the hold is released: what a successful job cost, 0 for a failed or refunded one. null until then.

refunded_amountnumber nullable

The part of the hold returned to your balance (USD) once it is released. null until then.

Changes

No recorded changes to this operation across all 1 revision of this API.