---
title: "Changes to Update provider session ID and harness metadata for a task"
method: PUT
path: "/api/tasks/{id}/session"
---

# Changes to Update provider session ID and harness metadata for a task

`PUT /api/tasks/{id}/session`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 104 revisions.

- **2026-09-03** `0f5503f5cd28` — 2 warning, 1 info
- **2026-09-02** `09d5eb030093` — 2 info
- **2026-08-31** `6f2d2fbe2599` — 1 warning
- **2026-08-07** `06cac6a7c5bc` — 2 info

## Changes

- **2026-09-03** `0f5503f5cd28` — 2 warning, 1 info
  - added the new `acp` enum value to the `provider` response property for the response status `200`
  - added the new `acp` enum value to the `routingAffinity/harnessProvider` response property for the response status `200`
  - added the new `acp` enum value to the request property `anyOf[subschema #2]/provider`
- **2026-09-02** `09d5eb030093` — 2 info
  - added the optional property `routingAffinity/leadOnly` to the response with the `200` status
  - added the optional property `routingAffinityInvalid` to the response with the `200` status
- **2026-08-31** `6f2d2fbe2599` — 1 warning
  - added the new `draft` enum value to the `status` response property for the response status `200`
- **2026-08-07** `06cac6a7c5bc` — 2 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `404`

---

[Operation](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/docs/api/tasks/:id/session/put.md) · [API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [Page](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/tasks/:id/session/put)
