From a843cdba53beb0f12efe32a50603331b341992df Mon Sep 17 00:00:00 2001 From: jnjpng Date: Thu, 20 Nov 2025 17:00:11 -0800 Subject: [PATCH] fix: create agent for template openapi response schema (#6314) * base * fix * generate --------- Co-authored-by: Letta Bot --- fern/openapi.json | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/fern/openapi.json b/fern/openapi.json index 3fb4e7d2..c89a1942 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -16249,7 +16249,34 @@ }, "responses": { "201": { - "description": "201" + "description": "201", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "agent_ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of created agent IDs" + }, + "group_id": { + "type": "string", + "nullable": true, + "description": "Optional group ID if agents were created in a group" + }, + "deployment_id": { + "type": "string", + "description": "The deployment ID for the created agents" + } + }, + "required": ["agent_ids", "group_id", "deployment_id"], + "description": "Response containing created agent IDs and associated metadata" + } + } + } }, "402": { "description": "402",