Skip to content

cancel_run

Cancel a pending or running model execution. Returns: run_id (str) — cancelled run UUID; status (str) — always ‘cancelled’; project_name (str) — project name; message (str) — confirmation message.

NameTypeRequiredDefaultDescription
project_nameAnnotated[str, Field(description='Name of the project the run belongs to.')]Yes
run_idAnnotated[str, Field(description='Full UUID of the run to cancel. Must be in pending or running state.')]Yes

Returns a structured object. Top-level fields:

  • run_id (string)
  • status (string)
  • project_name (string)
  • message (string)

See the response example below for the full payload shape.

{
"name": "cancel_run",
"arguments": {
"project_name": "forecasts",
"run_id": "66666666-6666-6666-6666-666666666666"
}
}
{
"run_id": "66666666-6666-6666-6666-666666666666",
"status": "cancelled",
"project_name": "forecasts",
"message": "Run cancelled successfully."
}
  • Module: Execution
  • Requires authentication via API token or Auth0 JWT.