Browse API

Freeze a Job Run

Guardedly freeze or unfreeze a Run outside ordinary retention.

POST/api/v0/projects/<key>/jobs/<job>/runs/<run>/freeze

Freeze

POST https://repopack.com/api/v0/projects/<key>/jobs/<job>/runs/<run>/freeze
Authorization: Bearer <token>

This requires job.manage. The first request returns a human confirmation challenge (428), pinned to the Run's current frozen_at. After approval, the response is the updated Run presentation. A missing Job or Run returns 404; lack of manager authority returns 403; an incompatible state or changed freeze state returns 409 with job_run_freeze_conflict. Freezing retains a Run outside ordinary retention; it does not freeze the Job or publish a Release.

Unfreeze

Use DELETE on the same URL with the same bearer authorization. It also requires confirmation pinned to the prior freeze state. Unfreezing removes only the manual freeze and schedules retention; an independent Release hold remains. If no other hold applies, old Run records, logs and artifacts may subsequently be removed. Observe the guarded action and inspect the Run instead of assuming the request can be safely repeated. Retain Runs explains the lifecycle.