---
title: "Changes to Stats Runs"
method: POST
path: "/api/v1/runs/stats"
---

# Changes to Stats Runs

`POST /api/v1/runs/stats`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 48 revisions.

- **2026-05-27** `a0acb3a6a101` — 20 breaking

## Changes

- **2026-05-27** `a0acb3a6a101` — 20 breaking
  - response property `anyOf[subschema #1: RunStats]/completion_cost` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #1: RunStats]/cost_p50` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #1: RunStats]/cost_p99` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #1: RunStats]/prompt_cost` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #1: RunStats]/total_cost` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #2]/additionalProperties/completion_cost` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #2]/additionalProperties/cost_p50` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #2]/additionalProperties/cost_p99` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #2]/additionalProperties/prompt_cost` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - response property `anyOf[subschema #2]/additionalProperties/total_cost` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - the `anyOf[subschema #1: RunStats]/completion_cost/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #1: RunStats]/cost_p50/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #1: RunStats]/cost_p99/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #1: RunStats]/prompt_cost/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #1: RunStats]/total_cost/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #2]/additionalProperties/completion_cost/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #2]/additionalProperties/cost_p50/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #2]/additionalProperties/cost_p99/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #2]/additionalProperties/prompt_cost/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`
  - the `anyOf[subschema #2]/additionalProperties/total_cost/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `number`/`` for status `200`

---

[Operation](https://skmtc.dev/langchain-ai/apis/langsmith/docs/api/v1/runs/stats/post.md) · [API](https://skmtc.dev/langchain-ai/apis/langsmith.md) · [Page](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/runs/stats/post)
