---
title: "Checkpoint job"
method: POST
path: "/v2/slurm/checkpoint/job"
tags: ["Actions (Slurm)"]
---

# Checkpoint job

`POST /v2/slurm/checkpoint/job`

## Request body

- CheckpointSlurmJob
  - `action_id` string, nullable
  - `job_id` string, nullable
  - `job_name` string, nullable
  - `kind` 'simple' | 'rootfs' | 'rootfsonly'
  - `reason` 'heartbeat' | 'manual'

## Response `200`

Returns the id for the task

## Other responses

- `404` — Failed to find checkpointable resource
- `500` — Failed to connect/fetch from jobs table from database

---

[API](https://skmtc.dev/cedana/apis/cedana-api.md) · [All operations](https://skmtc.dev/cedana/apis/cedana-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cedana/cedana-api/revisions/f1a3fa319485/schema)
