Get the status and results of a workflow run.
Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.
Successful Response
Unique identifier for this workflow run.
Current status: pending, running, success, failure, or cancelled.
pending, running, success, failure, cancelled Suggested polling interval in seconds. Present while PENDING or RUNNING.
Status of each step composing the workflow run.
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.
Error message. Present only on FAILURE.
Machine-readable error code. Present only on FAILURE.