Base URL
All endpoints in this section are served from the following base URL.Authentication
Every endpoint requires your Lyzr API key in thex-api-key header.
X-Webhook-Secret header in place of an API key when the workflow has a webhook trigger configured. See Execute Workflow for details.
Typical flow
A common integration follows four steps. First, create a workflow with Create Workflow or build it visually in Studio; the workflow graph itself is a JSON document described in the flow_data reference. Second, start a run with Execute Workflow, which returns anexecution_id immediately. Third, track progress by polling Get Execution Status or by subscribing to the live event stream. Fourth, if the workflow contains a human-in-the-loop node, resolve the pending request with Resolve Approval so the run can continue.
Access control
Workflows are owned by the API key that created them and can be shared with other users atread, write, or execute access levels. List endpoints return resources you own plus resources shared with you. Destructive operations such as deleting a workflow or removing its shares are restricted to the owner.