Skip to main content
GET
Get a workflow
Returns a workflow the API key user can view. The response includes the draft graph, the published graph when one exists, version history, and execution limits.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Required scopes

This endpoint requires the WORKFLOW_API scope (Workflow Read API).

Parameters

Example

Response format

Success response (200 OK)

workflow matches the object on Workflow API Overview. Secret-like fields are redacted. Sending that redacted graph back through update keeps the stored secrets.

Error handling

Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.

Authorizations

Authorization
string
header
required

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Query Parameters

workflowId
string<uuid>
required

UUID of the workflow.

Response

Workflow returned successfully