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 c386f19
Browse filesBrowse the repository at this point in the historyBrowse files
feat(api): support updating session vaults (#4334)
## Summary
Adds vault references to Managed Agents session updates.
## Changes
- Set vault_ids to replace a session's vault references. Omit it to
retain existing references, or send null or an empty list to clear them.
Co-authored-by: dpiet-oai <326640584+dpiet-oai@users.noreply.github.com>
Copy file name to clipboardExpand all lines: api_reference/openapi.transformed.yml
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34183,7 +34183,7 @@ paths:
34183
34183
post:
34184
34184
operationId: updateAgentSession
34185
34185
summary: Update an agent session
34186
-
description: Updates session tools, metadata, model, reasoning effort, service tier, or the default prompt cache lifetime. Model settings apply to subsequent turns. Omitted fields are unchanged. See [managing sessions](https://developers.openai.com/api/docs/guides/agents-api/sessions/manage).
34186
+
description: Updates session tools, vaults, metadata, model, reasoning effort, service tier, or the default prompt cache lifetime. Model settings apply to subsequent turns. Omitted fields are unchanged. See [managing sessions](https://developers.openai.com/api/docs/guides/agents-api/sessions/manage).
34187
34187
tags:
34188
34188
- Agents
34189
34189
parameters:
@@ -95605,6 +95605,17 @@ components:
95605
95605
minProperties: 0
95606
95606
maxProperties: 16
95607
95607
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.
95608
+
vault_ids:
95609
+
type:
95610
+
- array
95611
+
- 'null'
95612
+
items:
95613
+
type: string
95614
+
minLength: 0
95615
+
maxLength: 1048576
95616
+
minItems: 0
95617
+
maxItems: 16384
95618
+
description: Replaces the session's referenced vaults. Omit to retain them; null or [] clears them.
95608
95619
additionalProperties: false
95609
95620
description: Fields to update on an existing session.
0 commit comments