Ugrás a fő tartalomhoz

Szerezzen ügynököt

GET/api/v1/workflow/fetch/{workflow_id}

Get a single workflow by ID. If a draft version exists, returns the draft content for editing. Otherwise returns the published version's content.

cURL példa

curl -X GET \
  'http://localhost:8000/api/v1/workflow/fetch/{workflow_id}' \
  -H 'Authorization: Bearer <API_KEY>'

Paraméterek

NévHelyTípusLeírás
workflow_idkötelezőpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/WorkflowResponse"
}
404Not found
422Validation Error
application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/HTTPValidationError"
}