Workflow Run Event
Viewing v1, superseded by v2
Sent when a workflow run finishes, fails or is canceled.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Delivered when a workflow run reaches a terminal state.
object
Unique event id, repeated in the webhook-id header.
Workflow_run.succeeded, workflow_run.failed or workflow_run.cancelled.
When the event was raised (RFC 3339).
Identical to the body of GET on the workflow run.
object
Unique identifier for this workflow run.
Current status: pending, running, success, failure, or canceled.
Suggested polling interval in seconds. Present while PENDING or RUNNING.
Status of each step composing the workflow run.
object
The name of the workflow step
The execution status of the step: pending, running, success, failure, or canceled.
The error details if any
Machine-readable error code if the step failed.
Estimated Creative Units price. Present when available.
Completion timestamp. Present only on SUCCESS.
Actual Creative Units price charged. Present only on SUCCESS.
Generated assets. Present only on SUCCESS.
object
Unique identifier of the generated object.
Type of generated object: file or asset.
File ID — pass directly as input to forge or workflow runs without re-uploading.
Download URL for the asset.
MIME type, e.g. image/png or video/mp4.
Image preview URL.
Width in pixels.
Height in pixels.
Duration in seconds for video assets.
File size in bytes.
What an engine needs beyond the image to build a resource from a file. Each kind is null when absent.
object
Where a game tile’s sprite sits on its grid, in the sprite’s own pixels from its top-left corner.
object
The outline of one grid cell seen from straight above.
How the cell is turned to the camera: DIAMOND or ALIGNED for a square, POINTY_TOP or FLAT_TOP for a hexagon.
Camera tilt in degrees above the ground plane; 90 is straight down.
Quarter turn of the camera around the tile, in degrees clockwise seen from above: 0, 90, 180, or 270. A hexagon is only drawn facing 0.
Cells the footprint covers across (the base’s right-hand edge) at facing 0.
Cells the footprint covers deep (the base’s left-hand edge) at facing 0.
Wall height in cell sides: 0 is a flat ground tile, 1 a cube on a square.
Width in pixels of one cell’s base outline in the sprite.
Height in pixels of one cell’s base outline in the sprite.
The point the tile is placed by: the bottom center of the cell it stands on (the front cell of a footprint wider than one).
object
Pixels right of the sprite’s left edge.
Pixels down from the sprite’s top edge.
The center of the anchor’s cell. Godot and Unity pin a tile here rather than at the anchor.
object
Pixels right of the sprite’s left edge.
Pixels down from the sprite’s top edge.
The footprint’s whole base outline, clockwise on screen from the anchor’s vertex or edge.
object
Pixels right of the sprite’s left edge.
Pixels down from the sprite’s top edge.
What the tile shows. Every facing of one subject shares it, so a tileset can group them.
How well the drawing stands on the grid once fitted, from 0 to 1. Null on an older tile.
True when the drawing did not settle on the grid and may not sit exactly on its cell. Check its placement before using it.
The insets a 9-slice draws a UI element by, in the image’s own pixels in from each edge.
The corners are drawn at their own size, the edges repeat along their length, and the center repeats both ways.
object
Pixels in from the left edge.
Pixels in from the top edge.
Pixels in from the right edge.
Pixels in from the bottom edge.
DETECTED when measured off the pixels, USER when a person set the insets.
The frame grid a sprite sheet was packed on, in the sheet’s own pixels from its top-left corner.
Cells start margin pixels in from the sheet’s edges with spacing pixels between them.
object
Cells across.
Cells down.
Width of one cell in pixels.
Height of one cell in pixels.
Pixels between the sheet’s edges and the outer cells.
Pixels between neighboring cells.
The frames, in play order: left to right, then top to bottom, unless the list orders them otherwise.
One frame’s rect on the sheet, in the sheet’s own pixels from its top-left corner.
object
The frame’s cell in reading order over the whole grid (left to right, then top to bottom). Cells that hold no frame are left out, so indexes can skip.
The frame’s left edge on the sheet, in pixels.
The frame’s top edge on the sheet, in pixels.
The frame’s width in pixels.
The frame’s height in pixels.
object
Pixels right of the sprite’s left edge.
Pixels down from the sprite’s top edge.
Named animations over the frames. When empty, play the sheet as one animation named default over every frame in frames order, at 12 fps, looping.
object
The animation’s name.
Frame indexes (frames[].index), in play order.
Frames per second.
Whether the animation restarts after its last frame.
The layers of a layered file, back to front, so drawing each visible PNG at its left and top, in order, rebuilds the image (blend modes and clipping aside).
One layer of a layered file, such as the PSD image.split_layers returns.
object
The layer’s name in the file.
group, pixel, shape, type, smartobject or psdimage.
Download URL of the layer’s pixels as a PNG at the layer’s own size. Null when it has none.
X of the layer’s top-left corner on the canvas, in pixels.
Y of the layer’s top-left corner on the canvas, in pixels.
Width of the layer’s PNG, in pixels.
Height of the layer’s PNG, in pixels.
The layer’s own visibility; a hidden group hides every layer in it.
The layer’s own opacity, 0 (transparent) to 255 (opaque).
Index in layers of the group that holds this layer; a group’s members follow it. Null at the top level.
How a parallax split’s layers scroll. Its layers pair, in order, with top-level layers (group null).
object
True when every layer repeats left to right at the canvas width.
One entry per layer, farthest first.
object
The layer’s name.
Share of the camera’s movement the layer moves by: 1 moves with the camera, as the playfield does, and 0 stays put, as a sky at infinity does.
Error message. Present only on FAILURE.
Machine-readable error code. Present only on FAILURE. Balance-related values: BlueprintInsufficientBalanceError (the workspace ran out of Creative Units — top up and resubmit), BlueprintBalanceUnavailableError (the balance could not be verified, retry later) and BlueprintUsageLimitExceededError (the member who started the run is past their usage limit: ask a workspace admin for more, or wait for it to reset). A run stopped by a refused generation reports BlueprintInvalidRuntimeValueError; refusals says who refused it and why.
Every generation this run started that a guardrail or the provider refused, oldest first. Present only on FAILURE, and empty when no generation was refused.
object
The generation that was refused.
Machine-readable refusal code: INPUT_GUARDRAIL_VIOLATION (a guardrail the workspace or project set blocked it, and nothing reached the provider), CONTENT_POLICY_VIOLATION (the provider’s content policy), PROMPT_INTELLECTUAL_PROPERTY (the provider refused protected IP) or NO_MEDIA_GENERATED (the provider returned no output: a passing provider failure, a silent refusal of the prompt, or an input the model found nothing in; run it again before rewriting the prompt). A provider refusal of the prompt can be rewritten without the names it refuses with POST .../inferences/{id}/prompt-rewrite.
Every guardrail that blocked the generation. Empty unless code is INPUT_GUARDRAIL_VIOLATION.
object
ID of the guardrail rule that blocked the generation.
The rule’s name as it read when it judged the request.
copyright_infringement, ip_trademark_infringement or artist_style_mimicry for the guardrails Layer ships, custom for a rule the workspace wrote itself.
Why the rule judged the request a violation. May be empty.
What a job’s GET reports about the callback attached to it.
The URL is echoed so a caller can tell which of its endpoints a run was aimed at; the rest is how the delivery went, which is the only place a failed delivery is visible.
object
The callback URL this run was submitted with.
Pending until a delivery settles, then delivered or failed.
How many delivery attempts have been made.
When the last attempt was made.
HTTP status the receiver returned on the last attempt, if it responded.
Why the last attempt did not succeed. Null once delivered.
Whatever you sent as webhook.metadata.
object
Responses
Section titled “ Responses ”Successful Response
Examplegenerated
exampleValidation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}