Query Task Status
AI-generatedSummary
Retrieve the status of a previously submitted Flux (Kie.ai) task by its Task ID.
Inputs
- Task ID (required) — The unique identifier of the Flux task to query.
Output shape
a single JSON object containing detailed information about the task status and results, including nested fields parsed for easy access.
The output includes the full task record with fields such as state (e.g., success, fail), result URLs, and other metadata as returned by the Kie.ai API. Errors during the query will throw an error unless 'continue on fail' is enabled. This operation does not support waiting/polling; it returns the current status snapshot immediately.
Examples
Example 1: Query the status of an image generation task to check if it has completed and retrieve results.
Set the 'Task ID' input parameter to the task identifier returned when the image generation job was initiated.