Publish a workflow as a REST API
writ_expose_workflow_apiIdempotent
Publishes a saved workflow through Writ's managed REST gateway (the same resource as the app's REST endpoint switch). The returned POST URL waits for the workflow and returns its JSON result. Repeated calls reuse the existing endpoint.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional name for the endpoint. | |
| workflow | No | ||
| workflow_id | No | ||
| wait_timeout | No | Deprecated alias of timeout_seconds. | |
| timeout_seconds | No | Managed run timeout. Defaults to 120, or 300 for AI navigation workflows. |