---
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`

## Request

- Base URL: `https://api.narrative-sports.com`
- URL: `https://api.narrative-sports.com/v1/tasks/{task_id}/extend-life`
- Auth: HTTP bearer

## 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.dev/narrative-sports/apis/narrative-sports-api.md) - [All operations](https://skmtc.dev/narrative-sports/apis/narrative-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/narrative-sports/apis/narrative-sports-api/revisions/bab6af886f8e?raw)
