Skip to main content
GET
Get Workflow

Overview

Retrieve complete details about a specific workflow by its ID, including execution status, parameters, and error information if applicable.

Path Parameters

string
required
The unique identifier (UUID) of the workflow to retrieve.

Response

string
required
Unique identifier (UUID) for the workflow.
string
required
UUID of the user who owns this workflow.
string
required
The workflow’s name.
string
required
Current status of the workflow.Possible values: accepted, uploaded, queued, running, completed, cancelled, invalid, failed
string
UUID of the user-owned runner executing this workflow (null if using managed runner).
string
UUID of the managed runner executing this workflow (null if using user-owned runner).
string[]
required
Array of tags associated with the workflow.
object
required
The ComfyUI workflow definition as a JSON object.
array
required
Array of parameter tuples [parameter_name, parameter_value] used in this workflow execution.
string
ComfyUI prompt ID assigned when the workflow is queued (null if not yet queued).
integer
Position in the runner’s execution queue (null if not yet queued).
string
The ComfyUI node that caused the failure (only present if status is failed).
string
Type of exception that occurred (only present if status is failed).
string
Detailed error message (only present if status is failed).
string
required
ISO 8601 timestamp when the workflow was created.
string
required
ISO 8601 timestamp when the workflow was last updated.
string
ISO 8601 timestamp when execution started (null if not yet started).
string
ISO 8601 timestamp when execution completed (null if not yet completed).

Example Response (Completed)

Example Response (Failed)

Error Responses

error
Unauthorized - invalid or missing authentication token.
error
Not Found - workflow with the specified ID does not exist or does not belong to your account.

Notes

  • Use this endpoint to get complete workflow details including execution parameters
  • Error information is only present when status is failed
  • Either user_runner_id or managed_runner_id will be set, never both
  • The workflow_json contains the full ComfyUI workflow definition
  • Parameter values in workflow_params show the actual values used, including file paths for uploaded files
  • Use the subscribe endpoint for real-time status updates instead of polling this endpoint
  • Queue position updates as other workflows complete