---
title: "Extend Task Life"
method: POST
path: "/v1/tasks/{task_id}/extend-life"
tags: ["Tasks"]
---

# Extend Task Life

`POST /v1/tasks/{task_id}/extend-life`

## Path parameters

- `task_id` string, required

## Request body

- ExtendLifeRequest
  - `max_life_hours` number, required

## Response `200`

Success

- ExtendLifeResponse
  - `success` 'success' | 'failure', required
  - `task_id` string, required
  - `status` string, required
  - `max_life_hours` number, nullable
  - `previous_max_life_hours` number, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/narrative-sports/apis/narrative-sports-api.md) · [All operations](https://skmtc.net/narrative-sports/apis/narrative-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/narrative-sports/narrative-sports-api/versions/6a222f10647c/schema)
