diff --git a/openapi.json b/openapi.json index 85c61d9c..0bfc497d 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2024.0", - "x-box-commit-hash": "04cc4aa874" + "x-box-commit-hash": "0346d978be" }, "servers": [ { @@ -24445,7 +24445,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AiExtractResponse" + "$ref": "#/components/schemas/AiExtractStructuredResponse" } } } @@ -25126,6 +25126,36 @@ "title": "AI Extract Structured Request", "x-box-tag": "ai" }, + "AiExtractStructuredResponse": { + "description": "AI response", + "type": "object", + "properties": { + "answer": { + "$ref": "#/components/schemas/AiExtractResponse" + }, + "created_at": { + "description": "The ISO date formatted timestamp of when the answer to the prompt was created.", + "type": "string", + "format": "date-time", + "example": "2012-12-12T10:53:43-08:00" + }, + "completion_reason": { + "description": "The reason the response finishes.", + "type": "string", + "example": "done" + }, + "ai_agent_info": { + "$ref": "#/components/schemas/AiAgentInfo" + } + }, + "required": [ + "answer", + "created_at" + ], + "title": "AI response", + "x-box-resource-id": "ai_extract_structured_response", + "x-box-tag": "ai" + }, "AiItem--Base": { "description": "The item to be processed by the LLM.", "type": "object", diff --git a/openapi/openapi-v2025.0.json b/openapi/openapi-v2025.0.json index 01f2bfee..9cd9f01e 100644 --- a/openapi/openapi-v2025.0.json +++ b/openapi/openapi-v2025.0.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2025.0", - "x-box-commit-hash": "04cc4aa874" + "x-box-commit-hash": "0346d978be" }, "servers": [ { diff --git a/openapi/openapi.json b/openapi/openapi.json index 85c61d9c..0bfc497d 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2024.0", - "x-box-commit-hash": "04cc4aa874" + "x-box-commit-hash": "0346d978be" }, "servers": [ { @@ -24445,7 +24445,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AiExtractResponse" + "$ref": "#/components/schemas/AiExtractStructuredResponse" } } } @@ -25126,6 +25126,36 @@ "title": "AI Extract Structured Request", "x-box-tag": "ai" }, + "AiExtractStructuredResponse": { + "description": "AI response", + "type": "object", + "properties": { + "answer": { + "$ref": "#/components/schemas/AiExtractResponse" + }, + "created_at": { + "description": "The ISO date formatted timestamp of when the answer to the prompt was created.", + "type": "string", + "format": "date-time", + "example": "2012-12-12T10:53:43-08:00" + }, + "completion_reason": { + "description": "The reason the response finishes.", + "type": "string", + "example": "done" + }, + "ai_agent_info": { + "$ref": "#/components/schemas/AiAgentInfo" + } + }, + "required": [ + "answer", + "created_at" + ], + "title": "AI response", + "x-box-resource-id": "ai_extract_structured_response", + "x-box-tag": "ai" + }, "AiItem--Base": { "description": "The item to be processed by the LLM.", "type": "object",