runs

Re-run the final step of a run that stopped on it

For a run whose every step completed and which then failed on finish: re-runs finish on the SAME run id, against the artifacts already stored. No new run, no new charge. A second call while the resume is in flight answers 202 with resumed: false and the live instance_id. A resume that itself FAILED can be re-entered, up to three attempts in total (attempt says which this is); the fourth answers 409 run_finish_resume_exhausted. Any other run state is a 409 run_not_finish_resumable.

post/v1/runs/{id}/resume-finish

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/runs/{id}/resume-finish
  • Auth: one of:
    • HTTP bearer
    • API key in cookie hr_session

Path parameters

idstring required

Response

Finish re-entered, or already re-entered by an earlier call

idstring required
status'clarifying' | 'queued' | 'running' | 'paused' | 'blocked' | 'done' | 'failed' | 'aborted' required
resumedboolean required
attemptinteger
instance_idstring

Changes

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