---
title: "Changes to Trace Usage"
method: POST
path: "/trace/usage"
---

# Changes to Trace Usage

`POST /trace/usage`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 31 revisions.

- **2026-10-16** `dd89fadfe4e4`: 27 info
- **2026-01-29** `13059f956116`: 1 info

## Changes

- **2026-10-16** `dd89fadfe4e4`: 27 info
  - the endpoint scheme security `HTTPBasic` was removed from the API
  - added `#/components/schemas/LtOperation, #/components/schemas/LteOperation` to the `query/anyOf[subschema #1: Query]/$expr` request property `anyOf` list
  - added `#/components/schemas/SizeOperation, #/components/schemas/LtOperation, #/components/schemas/LteOperation` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #1: AndOperation]/$and/items/` request property `anyOf` list
  - added `subschema #1` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #1: AndOperation]/$and/items/anyOf[subschema #6: NotOperation -> subschema #7: NotOperation]/$not` request property 'prefixItems' list
  - added `subschema #1` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #3: NotOperation]/$not` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #1: AndOperation]/$and/items/anyOf[subschema #10: InOperation -> subschema #13: InOperation]/$in` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #1: AndOperation]/$and/items/anyOf[subschema #7: EqOperation -> subschema #8: EqOperation]/$eq` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #1: AndOperation]/$and/items/anyOf[subschema #8: GtOperation -> subschema #9: GtOperation]/$gt` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #1: AndOperation]/$and/items/anyOf[subschema #9: GteOperation -> subschema #11: GteOperation]/$gte` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #4: EqOperation]/$eq` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #5: GtOperation]/$gt` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #6: GteOperation -> subschema #7: GteOperation]/$gte` request property 'prefixItems' list
  - added `subschema #1, subschema #2` to the `query/anyOf[subschema #1: Query]/$expr/anyOf[subschema #7: InOperation -> subschema #9: InOperation]/$in` request property 'prefixItems' list
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
  - the response property `call_usage` became required for the status `200`
  - the response property `call_usage/additionalProperties/additionalProperties/completion_tokens` became required for the status `200`
  - the response property `call_usage/additionalProperties/additionalProperties/completion_tokens_total_cost` became required for the status `200`
  - the response property `call_usage/additionalProperties/additionalProperties/prompt_tokens` became required for the status `200`
  - the response property `call_usage/additionalProperties/additionalProperties/prompt_tokens_total_cost` became required for the status `200`
  - the response property `call_usage/additionalProperties/additionalProperties/requests` became required for the status `200`
  - the response property `call_usage/additionalProperties/additionalProperties/total_tokens` became required for the status `200`
  - added the required property `call_usage/additionalProperties/additionalProperties/cache_creation_input_tokens` to the response with the `200` status
  - added the required property `call_usage/additionalProperties/additionalProperties/cache_creation_input_tokens_total_cost` to the response with the `200` status
  - added the required property `call_usage/additionalProperties/additionalProperties/cache_read_input_tokens` to the response with the `200` status
  - added the required property `call_usage/additionalProperties/additionalProperties/cache_read_input_tokens_total_cost` to the response with the `200` status
  - added the required property `unfinished_call_ids` to the response with the `200` status
- **2026-01-29** `13059f956116`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/wandb/apis/fastapi/docs/trace/usage/post.md) - [API](https://skmtc.dev/wandb/apis/fastapi.md) - [Page](https://skmtc.dev/wandb/apis/fastapi/changes/trace/usage/post)
