Skip to main content
GET
Get Workflow
Returns full details for a single workflow, including its input schema if the workflow has been published.

Parameters

string
required
Unique identifier for the workflow. This is the _id value returned by the List Workflows endpoint.
string
required
Bearer token. Format: Bearer slat_<your-token>.

Response

Returns 200 OK with the workflow details.
string
required
Unique identifier for the workflow.
string
required
Display name of the workflow.
string
Description of what the workflow does.
string
required
Current status. One of: draft, published.
string
required
Unique UUID for the workflow.
string[]
Tags assigned to the workflow.
number
required
The active published version number. 0 if no version has been published.
number
required
Total number of published versions.
object[]
Input fields required to run the workflow. Only present for published workflows. Each object describes one input parameter.
string
Type of output the workflow produces. Only present for published workflows.
string
Emoji icon for the workflow.
string
Color label for the workflow.
string
Documentation or notes for the workflow.
string
required
Timestamp when the workflow was created. ISO 8601 format.
string
required
Timestamp of the last update. ISO 8601 format.

Example

Response

Use the inputSchema to discover what inputs to pass when creating a workflow run. The variableName field maps directly to the keys in the inputs object.

Status codes

What’s next