---
title: "Set an interactive training job checkpoint's TTL"
method: PUT
path: "/v1/training/jobs/{job_id}/checkpoints/{kind}/{name}/ttl"
tags: ["training"]
---

# Set an interactive training job checkpoint's TTL

`PUT /v1/training/jobs/{job_id}/checkpoints/{kind}/{name}/ttl`

## Request

- Base URL: `https://api.fastino.ai`
- URL: `https://api.fastino.ai/v1/training/jobs/{job_id}/checkpoints/{kind}/{name}/ttl`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Keep the checkpoint for `ttl_seconds` from now (1 hour to 10 years), or until deleted when null.

## Path parameters

- `job_id` string, required
- `kind` 'weights' | 'sampler_weights', required
- `name` string, required

## Request body

- SetTtlRequest: ``PUT .../checkpoints/{kind}/{name}/ttl``: ``ttl_seconds`` is required (null: keep until deleted).
  - `ttl_seconds` integer, nullable, required: Seconds to keep the checkpoint from now (1 hour to 10 years), or null to keep it until deleted.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-15** `ef285860f952`: 1 breaking
  - the request property `ttl_seconds` became required
- **2026-10-15** `eef86c1497c1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/changes/v1/training/jobs/:job_id/checkpoints/:kind/:name/ttl/put.md)

---

[API](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api.md) - [All operations](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/revisions/81465e18c1d2?raw)
