---
title: "Changes to Complete Task"
method: POST
path: "/api/v1/tasks/{task_id}/complete"
---

# Changes to Complete Task

`POST /api/v1/tasks/{task_id}/complete`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 32 revisions.

- **2026-10-16** `a77a7697426e`: 2 info
- **2026-08-14** `d52fab9681ed`: 1 info
- **2026-07-26** `2a1299ef19fa`: 1 breaking, 13 info

## Changes

- **2026-10-16** `a77a7697426e`: 2 info
  - added the new optional request property `agent_branch`
  - added the new optional request property `agent_sha`
- **2026-08-14** `d52fab9681ed`: 1 info
  - added the optional property `artifact_spec` to the response with the `200` status
- **2026-07-26** `2a1299ef19fa`: 1 breaking, 13 info
  - removed the media type `application/json` for the response with the status `422`
  - added the new optional request property `payload`
  - the request property `result_summary` became optional
  - the `result_summary` request property default value `` was added
  - 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/api/v1/tasks/:task_id/complete/post.md) - [API](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server.md) - [Page](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/changes/api/v1/tasks/:task_id/complete/post)
