Runs

Update run status

Updates the status of an existing run (e.g., RUNNING, COMPLETED, FAILED).

post/api/runs/status/update

Request

  • Base URL
    https://pluto-api.trainy.ai
  • Auth
    HTTP bearer

Request body

runIdnumber required

Numeric ID of the run

status'RUNNING' | 'COMPLETED' | 'FAILED' | 'TERMINATED' | 'CANCELLED' required

New status

statusMetadatastring nullable

Status metadata as JSON string

loggerSettingsstring nullable

Logger settings to merge

statusUpdatedinteger nullable

Status-change timestamp in epoch milliseconds (backfill/migration). When omitted, the server stamps now(). Migration tooling replaying a finished run should pass the run's original finish time so its Duration reflects the historical run length, not time-since-import.

Example request

{
  "runId": 123,
  "status": "COMPLETED"
}

Response

Status updated successfully

successboolean required

Changes

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