curl --request GET \
--url https://api.example.com/workflows/{workflow_id}/definition \
--cookie fastapiusersauth={
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "<string>"
}Get the latest version of a workflow definition.
curl --request GET \
--url https://api.example.com/workflows/{workflow_id}/definition \
--cookie fastapiusersauth={
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "<string>"
}wf_[0-9a-zA-Z]+Successful Response
A workflow definition.
This is the underlying representation/snapshot of a workflow in the system, which can directly execute in the runner.
Was this page helpful?