Workflows

Run Workflow

Submit a workflow for asynchronous execution. Returns a job_id to poll for status and results.

post/workflows/run

Request

  • Base URL: https://ai.hatz.ai/v1
  • URL: https://ai.hatz.ai/v1/workflows/run
  • Auth: API key in header X-API-Key

Request body

app_idstring uuid required

The unique identifier of the workflow to run

inputsobject required

User inputs for the workflow. Key-value pairs where keys are variable_name from the workflow's input fields.

is_draft_appboolean

Whether to run the draft version of the workflow

Response

Successful Response

statusstring required

The status of the workflow job

job_idstring required

The unique identifier of the job run

Changes

No recorded changes to this operation across all 1 revision of this API.