Start a workflow execution. Returns immediately with a run ID. Poll with GET /workspaces//workflows//runs/ for results.
Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.
Input values matching the workflow's input schema.
Existing session ID. Takes precedence over session_name if both are provided.
Session name. Creates a new session if not found in the workspace. Ignored if session_id is set.
Successful Response
Unique identifier for this workflow run.
Current run status: PENDING or RUNNING.
pending, running, success, failure, cancelled Estimated price in Creative Units.
Suggested polling interval in seconds.
Timestamp of when the run was created.
Session ID the run was added to, if a session was specified.