---
title: "Changes to upload a new agent session"
method: POST
path: "/api/agent_sessions"
---

# Changes to upload a new agent session

`POST /api/agent_sessions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 86 revisions.

- **2026-10-01** (v1) `dace1b9a8248`: 1 info
- **2026-07-13** (v1) `7db6ba099285`: 2 breaking
- **2026-05-28** (v1) `6550ad7be94f`: 2 info
- **2026-05-07** (v1) `5407fa6a8633`: 1 info
- **2026-03-19** (v1) `8dae809f0fde`: 4 breaking, 1 warning, 3 info
- **2026-03-03** (v1) `c9e7662755c2`: 1 info
- **2023-01-10** (v1) `754f8b25f815`: 1 breaking

## Changes

- **2026-10-01** (v1) `dace1b9a8248`: 1 info
  - added the new `antigravity_cli` enum value to the request property `tool_name`
- **2026-07-13** (v1) `7db6ba099285`: 2 breaking
  - removed the media type `application/json` for the response with the status `401`
  - removed the media type `application/json` for the response with the status `422`
- **2026-05-28** (v1) `6550ad7be94f`: 2 info
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `422`
- **2026-05-07** (v1) `5407fa6a8633`: 1 info
  - added the new `opencode` enum value to the request property `tool_name`
- **2026-03-19** (v1) `8dae809f0fde`: 4 breaking, 1 warning, 3 info
  - added the new required request property `curated_data`
  - removed the enum value `aider` of the request property `tool_name`
  - removed the enum value `auto` of the request property `tool_name`
  - removed the enum value `copilot_chat` of the request property `tool_name`
  - removed the request property `body`
  - added the new optional request property `s3_key`
  - added the new `github_copilot` enum value to the request property `tool_name`
  - added the new `pi` enum value to the request property `tool_name`
- **2026-03-03** (v1) `c9e7662755c2`: 1 info
  - endpoint added
- **2023-01-10** (v1) `754f8b25f815`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/forem/apis/forem-api-v1/docs/api/agent_sessions/post.md) - [API](https://skmtc.dev/forem/apis/forem-api-v1.md) - [Page](https://skmtc.dev/forem/apis/forem-api-v1/changes/api/agent_sessions/post)
