Run Task
Run a task and wait for the result.
Executes a serverless function script or flow synchronously. Server handles polling internally.
When Tool Studio is disabled in the environment, returns HTTP 403 with
detail.code ENVIRONMENT_FEATURE_DISABLED and detail.key task_studio_toolkit
before creating or running a job. This restriction also applies to administrators.
A task the workspace Tool Registry holds for approval returns HTTP 403 with
detail.code tool_requires_approval before running: an API call carries no
approval. Run it from a chat session or behind an automation’s approval gate.
Authentication
Headers
Request
The unique identifier (path) of the task. Example: ‘f/public/databricks_describe_table’
Type: ‘script’ or ‘flow’
Response
Error type: ‘timeout’, ‘execution_error’, ‘not_found’, ‘validation_error’
