update webhook_url docstring (#2587)

This commit is contained in:
Shuchang Zheng
2025-06-03 15:33:34 -07:00
committed by GitHub
parent b818255ca7
commit 8acefa1fe2
3 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ slug: running-tasks/webhooks-faq
Task runtimes can exceed default HTTP timeouts; we recommend using webhook notifications to inform you when the run is complete.
To set up webhook callback:
- Set [webhook_url in Run Task](api-reference/api-reference/agent/run-task#request.body.webhook_url) to receive the update when the task is done.
- Set [webhook_url in Run Workflow](https://docs.skyvern.com/api-reference/api-reference/agent/run-workflow#request.body.webhook_url) to receive the update when a workflow run is done.
- Set [webhook_url in Run Task](/api-reference/api-reference/agent/run-task#request.body.webhook_url) to receive the update when the task is done.
- Set [webhook_url in Run Workflow](/api-reference/api-reference/workflows/run-workflow#request.body.webhook_url) to receive the update when a workflow run is done.
To fetch the status of a run:
- Use the [Get Run](/api-reference/api-reference/agent/get-run) endpoint for the status of a task or workflow run