feat: allow users to specify via query to stip messages [LET-7392] (#9411)

* feat: allow users to specify via query to stip messages

* chore: regenerate API SDK and OpenAPI spec [LET-7392]

🤖 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Ari Webb <AriWebb@users.noreply.github.com>
Co-Authored-By: Letta <noreply@letta.com>

---------

Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
Co-authored-by: Ari Webb <AriWebb@users.noreply.github.com>
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Shubham Naik
2026-02-10 15:08:56 -08:00
committed by Caren Thomas
parent 6f51fa74be
commit ca32311b9a
3 changed files with 82 additions and 28 deletions

View File

@@ -4694,6 +4694,18 @@
"title": "Conversation Id"
},
"description": "Conversation ID to export. If provided, uses messages from this conversation instead of the agent's global message history."
},
{
"name": "scrub_messages",
"in": "query",
"required": false,
"schema": {
"type": "boolean",
"description": "If True, excludes all messages from the export. Useful for sharing agent configs without conversation history.",
"default": false,
"title": "Scrub Messages"
},
"description": "If True, excludes all messages from the export. Useful for sharing agent configs without conversation history."
}
],
"requestBody": {
@@ -32743,6 +32755,12 @@
],
"title": "Conversation Id",
"description": "Conversation ID to export. If provided, uses messages from this conversation instead of the agent's global message history."
},
"scrub_messages": {
"type": "boolean",
"title": "Scrub Messages",
"description": "If True, excludes all messages from the export. Useful for sharing agent configs without conversation history.",
"default": false
}
},
"type": "object",