---
title: "Kill Task"
method: POST
path: "/v1/tasks/{task_id}/kill"
tags: ["Tasks"]
---

# Kill Task

`POST /v1/tasks/{task_id}/kill`

## Request

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

## Path parameters

- `task_id` string, required

## Request body

- BodyKillTaskV1TasksTaskIdKillPost
  - `wait_for_renders` boolean

## Response `200`

Success

- KillTaskResponse
  - `success` 'success' | 'failure', required
  - `task_id` string, required
  - `status` string, required
  - `instance_terminated` boolean

## 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)
