You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fddeb8f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: api_reference/openapi.transformed.yml
+36-3Lines changed: 36 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33545,7 +33545,7 @@ paths:
33545
33545
post:
33546
33546
operationId: updateAgentSession
33547
33547
summary: Update an agent session
33548
-
description: Updates session metadata, model, reasoning effort, or service tier. Model settings apply to subsequent turns. Omitted fields are unchanged. See [managing sessions](https://developers.openai.com/api/docs/guides/agents-api/sessions/manage).
33548
+
description: Updates session tools, metadata, model, reasoning effort, or service tier. Model settings apply to subsequent turns. Omitted fields are unchanged. See [managing sessions](https://developers.openai.com/api/docs/guides/agents-api/sessions/manage).
33549
33549
tags:
33550
33550
- Agents
33551
33551
parameters:
@@ -92393,6 +92393,9 @@ components:
92393
92393
- $ref: '#/components/schemas/TokenUsageResource'
92394
92394
- type: 'null'
92395
92395
description: Best-effort token usage for the session, or null if unknown. Recorded usage may change.
description: Omit to keep the current tier. Null resets it to auto.
94123
94129
x-openai-go-optional-enum: true
94130
+
tools:
94131
+
type:
94132
+
- array
94133
+
- 'null'
94134
+
items:
94135
+
$ref: '#/components/schemas/AgentToolConfigParam'
94136
+
minItems: 0
94137
+
maxItems: 16384
94138
+
description: Replaces the session tools. Functions and MCP servers change on the next model call. Built-in tools change by the next turn. Omit to keep the current tools, or pass null or an empty array to clear them.
94124
94139
additionalProperties: false
94125
-
description: Model settings that can change after session creation.
94140
+
description: Agent settings that can change after session creation.
description: Model settings for subsequent turns. Omitted fields stay unchanged.
94146
+
description: Agent settings to update on this session. Omitted fields stay unchanged.
94132
94147
metadata:
94133
94148
type:
94134
94149
- object
@@ -94144,6 +94159,9 @@ components:
94144
94159
minProperties: 0
94145
94160
maxProperties: 16
94146
94161
description: Replaces all metadata. Omit to leave unchanged, or pass null or {} to clear it. Up to 16 string key-value pairs, with keys up to 64 and values up to 512 characters.
94162
+
review:
94163
+
$ref: '#/components/schemas/SessionReviewParam'
94164
+
description: Default action review for new root turns. Existing turns and their subagents keep their review mode.
0 commit comments