This API gets and returns a workflow definition.
Example
Use the Query Builder to create and edit a workflow. See NerdGraph API explorer.
{ actor { account(id: 11933347) { workflowAutomation { workflow(name: "my-workflow", version: 1) { definition { name version yaml } } } } }}