Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.20.2"
".": "5.20.3"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-94b1e3cb0bdc616ff0c2f267c33dadd95f133b1f64e647aab6c64afb292b2793.yml
openapi_spec_hash: 2395319ac9befd59b6536ae7f9564a05
config_hash: 930dac3aa861344867e4ac84f037b5df
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-d30ff992a48873c1466c49f3c01f2ec8933faebff23424748f8d056065b1bcef.yml
openapi_spec_hash: e933ec43b46f45c348adb78840e5808d
config_hash: bf45940f0a7805b4ec2017eecdd36893
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.20.3 (2025-09-15)

Full Changelog: [v5.20.2...v5.20.3](https://github.com/openai/openai-node/compare/v5.20.2...v5.20.3)

### Chores

* **api:** docs and spec refactoring ([05b4498](https://github.com/openai/openai-node/commit/05b44987c699f7683b8706c8de363165150e5f31))

## 5.20.2 (2025-09-12)

Full Changelog: [v5.20.1...v5.20.2](https://github.com/openai/openai-node/compare/v5.20.1...v5.20.2)
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openai/openai",
"version": "5.20.2",
"version": "5.20.3",
"exports": {
".": "./index.ts",
"./helpers/zod": "./helpers/zod.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openai",
"version": "5.20.2",
"version": "5.20.3",
"description": "The official TypeScript library for the OpenAI API",
"author": "OpenAI <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions src/resources/chat/completions/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1946,9 +1946,12 @@ export interface ChatCompletionUpdateParams {

export interface ChatCompletionListParams extends CursorPageParams {
/**
* A list of metadata keys to filter the Chat Completions by. Example:
* Set of 16 key-value pairs that can be attached to an object. This can be useful
* for storing additional information about the object in a structured format, and
* querying for objects via API or the dashboard.
*
* `metadata[key1]=value1&metadata[key2]=value2`
* Keys are strings with a maximum length of 64 characters. Values are strings with
* a maximum length of 512 characters.
*/
metadata?: Shared.Metadata | null;

Expand Down
8 changes: 6 additions & 2 deletions src/resources/conversations/conversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,12 @@ export interface ConversationCreateParams {
items?: Array<ResponsesAPI.ResponseInputItem> | null;

/**
* Set of 16 key-value pairs that can be attached to an object. Useful for storing
* additional information about the object in a structured format.
* Set of 16 key-value pairs that can be attached to an object. This can be useful
* for storing additional information about the object in a structured format, and
* querying for objects via API or the dashboard.
*
* Keys are strings with a maximum length of 64 characters. Values are strings with
* a maximum length of 512 characters.
*/
metadata?: Shared.Metadata | null;
}
Expand Down
35 changes: 25 additions & 10 deletions src/resources/evals/runs/runs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,11 @@ export namespace RunCreateResponse {
model?: string | null;

/**
* Optional reasoning effort parameter. This is a query parameter used to select
* responses.
* Constrains effort on reasoning for
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
* effort can result in faster responses and fewer tokens used on reasoning in a
* response.
*/
reasoning_effort?: Shared.ReasoningEffort | null;

Expand Down Expand Up @@ -1052,8 +1055,11 @@ export namespace RunRetrieveResponse {
model?: string | null;

/**
* Optional reasoning effort parameter. This is a query parameter used to select
* responses.
* Constrains effort on reasoning for
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
* effort can result in faster responses and fewer tokens used on reasoning in a
* response.
*/
reasoning_effort?: Shared.ReasoningEffort | null;

Expand Down Expand Up @@ -1523,8 +1529,11 @@ export namespace RunListResponse {
model?: string | null;

/**
* Optional reasoning effort parameter. This is a query parameter used to select
* responses.
* Constrains effort on reasoning for
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
* effort can result in faster responses and fewer tokens used on reasoning in a
* response.
*/
reasoning_effort?: Shared.ReasoningEffort | null;

Expand Down Expand Up @@ -2005,8 +2014,11 @@ export namespace RunCancelResponse {
model?: string | null;

/**
* Optional reasoning effort parameter. This is a query parameter used to select
* responses.
* Constrains effort on reasoning for
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
* effort can result in faster responses and fewer tokens used on reasoning in a
* response.
*/
reasoning_effort?: Shared.ReasoningEffort | null;

Expand Down Expand Up @@ -2426,8 +2438,11 @@ export namespace RunCreateParams {
model?: string | null;

/**
* Optional reasoning effort parameter. This is a query parameter used to select
* responses.
* Constrains effort on reasoning for
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
* effort can result in faster responses and fewer tokens used on reasoning in a
* response.
*/
reasoning_effort?: Shared.ReasoningEffort | null;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '5.20.2'; // x-release-please-version
export const VERSION = '5.20.3'; // x-release-please-version