---
title: "Changes to Store session cost record"
method: POST
path: "/api/session-costs"
---

# Changes to Store session cost record

`POST /api/session-costs`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 105 revisions.

- **2026-09-03** `0f5503f5cd28` — 1 info
- **2026-08-07** `06cac6a7c5bc` — 2 info
- **2026-08-06** `89ca53f117ce` — 4 warning, 3 info

## Changes

- **2026-09-03** `0f5503f5cd28` — 1 info
  - added the new `acp` enum value to the request property `provider`
- **2026-08-07** `06cac6a7c5bc` — 2 info
  - added the media type `application/json` for the response with the status `201`
  - added the media type `application/json` for the response with the status `400`
- **2026-08-06** `89ca53f117ce` — 4 warning, 3 info
  - the `cacheReadTokens` request property's min was set to `0.00`
  - the `cacheWriteTokens` request property's min was set to `0.00`
  - the `inputTokens` request property's min was set to `0.00`
  - the `outputTokens` request property's min was set to `0.00`
  - added the new optional request property `cacheWrite1hTokens`
  - added the new optional request property `cacheWrite5mTokens`
  - added the new optional request property `models`

---

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