Skip to main content
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.