Run Task
Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
Executes a Windmill script or flow synchronously. Server handles polling internally.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
task_id
The unique identifier (path) of the task. Example: ‘f/public/databricks_describe_table’
arguments
Arguments to pass to the task
task_type
Type: ‘script’ or ‘flow’
Allowed values:
Response
Successful Response
success
Whether execution succeeded
error
Error message if failed
error_type
Error type: ‘timeout’, ‘execution_error’, ‘not_found’, ‘validation_error’
job_id
Windmill job ID for debugging
result
The task result
