---
title: "Changes to Code interpreter sessions"
method: GET
path: "/organization/usage/code_interpreter_sessions"
---

# Changes to Code interpreter sessions

`GET /organization/usage/code_interpreter_sessions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 25 of 397 revisions.

- **2026-10-19** `0f7c2aa03117`: 1 info
- **2026-10-06** `e2f8d8cbc41f`: 3 info
- **2026-10-02** `b2c8331f902e`: 1 info
- **2026-10-02** `773c1a070e6e`: 3 info
- **2026-09-30** `aa991e72ea0d`: 1 info
- **2026-09-25** `d86203de41ae`: 2 info
- **2026-09-08** `bb9b3b410112`: 2 info
- **2026-09-03** `9430b00d75b4`: 1 info
- **2026-08-21** `a85b8a1274f0`: 1 info
- **2026-08-14** `6ac2618eefd7`: 1 info
- **2026-08-05** `ab0c5306e390`: 1 breaking, 9 info
- **2026-07-17** `241fb501b372`: 9 info
- **2026-07-15** `4065aec90c5d`: 1 breaking, 9 info
- **2026-05-15** `5b751bfbf149`: 1 info
- **2026-05-13** `74cbcf73838f`: 2 breaking, 2 info
- **2026-05-07** `737fbb7f6f17`: 1 info
- **2026-05-01** `72f65c459c35`: 2 breaking, 1 info
- **2026-04-30** `d23a9a441bbb`: 1 info
- **2026-04-28** `fa32d6e7d961`: 1 info
- **2026-04-10** `7c540cce6eb3`: 3 info
- **2025-02-11** `96060afbb5b9`: 1 breaking, 1 info
- **2024-12-16** `a13c92573be7`: 2 info
- **2024-12-06** `d2da47e1b545`: 31 breaking
- **2024-12-04** `1865e3dab5ac`: 1 breaking
- **2024-12-04** `223e7c033ac6`: 1 info

## Changes

- **2026-10-19** `0f7c2aa03117`: 1 info
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cache_write_30m_tokens` to the response with the `200` status
- **2026-10-06** `e2f8d8cbc41f`: 3 info
  - added the optional property `error/anyOf[#/components/schemas/Error]/misalignment/review_target` to the response with the `403` status
  - added the optional property `error/misalignment/review_target` to the response with the `400` status
  - added the optional property `error/misalignment/review_target` to the response with the `429` status
- **2026-10-02** `b2c8331f902e`: 1 info
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/CostsResult]/user_id` to the response with the `200` status
- **2026-10-02** `773c1a070e6e`: 3 info
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/CostsResult]/api_source` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/api_source` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageWebSearchCallsResult]/api_source` to the response with the `200` status
- **2026-09-30** `aa991e72ea0d`: 1 info
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cache_write_12h_tokens` to the response with the `200` status
- **2026-09-25** `d86203de41ae`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
- **2026-09-08** `bb9b3b410112`: 2 info
  - added the non-success response with the status `429`
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/CostsResult]/quantity_unit` to the response with the `200` status
- **2026-09-03** `9430b00d75b4`: 1 info
  - added the optional property `error/misalignment` to the response with the `429` status
- **2026-08-21** `a85b8a1274f0`: 1 info
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/CostsResult]/quantity_unit` to the response with the `200` status
- **2026-08-14** `6ac2618eefd7`: 1 info
  - added the non-success response with the status `429`
- **2026-08-05** `ab0c5306e390`: 1 breaking, 9 info
  - added `#/components/schemas/UsageFileSearchCallsResult, #/components/schemas/UsageWebSearchCallsResult` to the `data/items/results/items/` response property `oneOf` list for the response status `200`
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cache_write_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cached_audio_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cached_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cached_text_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_text_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_uncached_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/output_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/output_text_tokens` to the response with the `200` status
- **2026-07-17** `241fb501b372`: 9 info
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_cache_write_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_cached_audio_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_cached_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_cached_text_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_text_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/input_uncached_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/output_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/UsageCompletionsResult]/output_text_tokens` to the response with the `200` status
- **2026-07-15** `4065aec90c5d`: 1 breaking, 9 info
  - added `#/components/schemas/UsageFileSearchCallsResult, #/components/schemas/UsageWebSearchCallsResult` to the `data/items/results/items/` response property `oneOf` list for the response status `200`
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cache_write_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cached_audio_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cached_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_cached_text_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_text_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_uncached_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/output_image_tokens` to the response with the `200` status
  - added the optional property `data/items/results/items/oneOf[#/components/schemas/UsageCompletionsResult]/output_text_tokens` to the response with the `200` status
- **2026-05-15** `5b751bfbf149`: 1 info
  - added `#/components/schemas/UsageFileSearchCallsResult, #/components/schemas/UsageWebSearchCallsResult` to the `data/items/results/items/` response property `anyOf` list for the response status `200`
- **2026-05-13** `74cbcf73838f`: 2 breaking, 2 info
  - response property `next_page` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - removed the required property `data/items/result` from the response with the `200` status
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API
  - added the required property `data/items/results` to the response with the `200` status
- **2026-05-07** `737fbb7f6f17`: 1 info
  - added the optional property `data/items/results/items/anyOf[#/components/schemas/CostsResult]/quantity` to the response with the `200` status
- **2026-05-01** `72f65c459c35`: 2 breaking, 1 info
  - response property `next_page` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - removed the required property `data/items/result` from the response with the `200` status
  - added the required property `data/items/results` to the response with the `200` status
- **2026-04-30** `d23a9a441bbb`: 1 info
  - added the optional property `data/items/result/items/anyOf[#/components/schemas/CostsResult]/api_key_id` to the response with the `200` status
- **2026-04-28** `fa32d6e7d961`: 1 info
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API
- **2026-04-10** `7c540cce6eb3`: 3 info
  - added `#/components/schemas/UsageCompletionsResult, #/components/schemas/UsageEmbeddingsResult, #/components/schemas/UsageModerationsResult, #/components/schemas/UsageImagesResult, #/components/schemas/UsageAudioSpeechesResult, #/components/schemas/UsageAudioTranscriptionsResult, #/components/schemas/UsageVectorStoresResult, #/components/schemas/UsageCodeInterpreterSessionsResult, #/components/schemas/CostsResult` to the `data/items/result/items/` response property `anyOf` list for the response status `200`
  - added discriminator to `data/items/result/items/` response property for the response status `200`
  - removed `#/components/schemas/UsageCompletionsResult, #/components/schemas/UsageEmbeddingsResult, #/components/schemas/UsageModerationsResult, #/components/schemas/UsageImagesResult, #/components/schemas/UsageAudioSpeechesResult, #/components/schemas/UsageAudioTranscriptionsResult, #/components/schemas/UsageVectorStoresResult, #/components/schemas/UsageCodeInterpreterSessionsResult, #/components/schemas/CostsResult` from the `data/items/result/items/` response property `oneOf` list for the response status `200`
- **2025-02-11** `96060afbb5b9`: 1 breaking, 1 info
  - removed the required property `data/items/result/items/oneOf[#/components/schemas/UsageCodeInterpreterSessionsResult]/sessions` from the response with the `200` status
  - added the optional property `data/items/result/items/oneOf[#/components/schemas/UsageCodeInterpreterSessionsResult]/num_sessions` to the response with the `200` status
- **2024-12-16** `a13c92573be7`: 2 info
  - added the optional property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/input_audio_tokens` to the response with the `200` status
  - added the optional property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/output_audio_tokens` to the response with the `200` status
- **2024-12-06** `d2da47e1b545`: 31 breaking
  - the response property `data/items/result/items/oneOf[#/components/schemas/CostsResult]/line_item` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/CostsResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioSpeechesResult]/api_key_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioSpeechesResult]/model` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioSpeechesResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioSpeechesResult]/user_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioTranscriptionsResult]/api_key_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioTranscriptionsResult]/model` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioTranscriptionsResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageAudioTranscriptionsResult]/user_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageCodeInterpreterSessionsResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/api_key_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/batch` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/model` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageCompletionsResult]/user_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageEmbeddingsResult]/api_key_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageEmbeddingsResult]/model` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageEmbeddingsResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageEmbeddingsResult]/user_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageImagesResult]/api_key_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageImagesResult]/model` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageImagesResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageImagesResult]/size` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageImagesResult]/source` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageImagesResult]/user_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageModerationsResult]/api_key_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageModerationsResult]/model` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageModerationsResult]/project_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageModerationsResult]/user_id` became nullable for the status `200`
  - the response property `data/items/result/items/oneOf[#/components/schemas/UsageVectorStoresResult]/project_id` became nullable for the status `200`
- **2024-12-04** `1865e3dab5ac`: 1 breaking
  - the `data/items/result/items/oneOf[#/components/schemas/CostsResult]/amount/value` response's property type changed from `float` to `number` for status `200`
- **2024-12-04** `223e7c033ac6`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/openai/apis/openapi/docs/organization/usage/code_interpreter_sessions/get.md) - [API](https://skmtc.dev/openai/apis/openapi.md) - [Page](https://skmtc.dev/openai/apis/openapi/changes/organization/usage/code_interpreter_sessions/get)
