Find the workflow to run
List your workflows to get theid of the one you want to execute.
Create a run
Trigger a run with the inputs the workflow expects. Runs are asynchronous: this returns immediately with a run record.Dry-run a workflow
PassdryRun: true in the create-run body to validate the workflow without executing side-effects. Read-only tools still run so the agent can gather context; write and destructive tools have their arguments validated against the tool schema instead of executing. Permission prompts are skipped.
POST /v1/workflow-runs/{id}/retry inherits the dryRun flag from the source run, so the retry also validates instead of executing. To execute for real, create a new run without dryRun.
Track a run to completion
Poll the run until it finishes, then read its output.Prefer events over polling for long-running workflows. A webhook trigger lets an external system both start a run and be notified when it finishes.
Run a workflow from MCP
The Metal MCP server exposes the same workflow run path to MCP-compatible assistants such as Cursor, Claude, and ChatGPT. Use it when you want an assistant to discover the workflow, inspect required inputs, launch a run, and read the output without writing API code. The usual MCP sequence is:list_workflows— find the workflow ID. For example, search for a comparable-company, comparable-deals, or conference-prep workflow by name or description.get_workflow— inspectinputSchemaandinputUiSchemaso you know which company, deal, document, folder, or other inputs the workflow expects.run_workflow— start the run with aninputobject that matches the schema.get_workflow_run— poll until the run reaches a terminal status, then read outputs, artifacts, citations, or failures.
get_workflow_run_step and complete the review with review_workflow_hitl_step when appropriate. To stop a run that is still in progress, the assistant can call cancel_workflow_run. Cancelling does not undo actions the run has already taken.
MCP access uses the signed-in Metal user’s permissions. If
list_workflows does not return the workflow, confirm that the user can see and run it in the Metal app. Built-in productized workflows such as DDQ Solver have no workflow-API or MCP run path. See Run a workflow for how MCP list_workflows relates to GET /v1/workflows.Manage runs
Trigger from external events
Instead of calling the API yourself, you can expose a webhook trigger on a workflow so an external system starts a run when something happens on its side — a new deal in your CRM, a file landing in storage, or a form submission.Next steps
Run over a list
Screen an entire set of targets in one pass.
Trigger from events
Start runs from your own systems without managing API keys.

