---
title: "Changes to Fail Task"
method: POST
path: "/tasks/{task_id}/fail"
---

# Changes to Fail Task

`POST /tasks/{task_id}/fail`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 32 revisions.

- **2026-08-14** `d52fab9681ed`: 1 info
- **2026-07-26** `2a1299ef19fa`: 10 info

## Changes

- **2026-08-14** `d52fab9681ed`: 1 info
  - added the optional property `artifact_spec` to the response with the `200` status
- **2026-07-26** `2a1299ef19fa`: 10 info
  - added the optional property `cli` to the response with the `200` status
  - added the optional property `closed_at` to the response with the `200` status
  - added the optional property `completed_at` to the response with the `200` status
  - added the optional property `max_output_tokens` to the response with the `200` status
  - added the optional property `max_retries` to the response with the `200` status
  - added the optional property `max_turns` to the response with the `200` status
  - added the optional property `meta_messages` to the response with the `200` status
  - added the optional property `retry_count` to the response with the `200` status
  - added the optional property `retry_delay_s` to the response with the `200` status
  - added the optional property `terminal_reason` to the response with the `200` status

---

[Operation](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/docs/tasks/:task_id/fail/post.md) - [API](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server.md) - [Page](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/changes/tasks/:task_id/fail/post)
