task v2 api doc (#1573)

This commit is contained in:
Shuchang Zheng
2025-01-16 11:58:36 -08:00
committed by GitHub
parent 7fe979062a
commit 0d0c4f5626
4 changed files with 107 additions and 1 deletions

View File

@@ -241,3 +241,10 @@ workflow_definition:
- SKYVERN_DOWNLOAD_DIRECTORY
```
## Update Workflows (YAML)
`PUT api.skyvern.com/api/v1/workflows/{workflow_permanent_id}`
Workflows are versioned. Each time you create a new workflow or update the workflow, you will get a new workflow_id and but the workflow_permanent_id will remain the same.
The update workflow API payload should be exactly the same as the create workflow API payload, a YAML.