Get Workflow
Retrieve a workflow by ID or name, including full node configuration, edges, and version details. By default, the latest version is returned.Documentation Index
Fetch the complete documentation index at: https://promptlayer-add-demo-projects.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Behavior Notes
- Use
versionto retrieve a specific version number. - Use
labelto retrieve the version currently assigned to a release label. versionandlabelare mutually exclusive.
Related
Authorizations
Path Parameters
The agent ID or name.
Query Parameters
Specific version number to retrieve. Mutually exclusive with label.
Release label name to retrieve (e.g. 'prod', 'staging'). Mutually exclusive with version.
Response
Agent retrieved successfully
true
Unique identifier for the agent
Name of the agent
Version number
Unique identifier for this version
Full node definitions including configuration and dependencies
Connections between nodes with optional conditionals
Commit message for this version
Input variable names mapped to their types
Release labels attached to this version
ISO 8601 timestamp of when this version was created

