From 36068e5c973e69b870d3d91e67ce447fdcb41371 Mon Sep 17 00:00:00 2001 From: box-apimgmt Date: Tue, 27 Jan 2026 10:25:50 -0800 Subject: [PATCH] feat: add confidence scores for structured extract --- openapi.json | 12 +++++++++++- openapi/openapi-v2025.0.json | 2 +- openapi/openapi.json | 12 +++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/openapi.json b/openapi.json index bd9467eb..52b9bee7 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "https://www.apache.org/licenses/LICENSE-2.0" }, "version": "2024.0", - "x-box-commit-hash": "3894918c63" + "x-box-commit-hash": "c8490cfcb1" }, "servers": [ { @@ -27455,6 +27455,11 @@ "minItems": 1, "uniqueItems": true }, + "include_confidence_score": { + "description": "A flag to indicate whether confidence scores for every extracted field should be returned.", + "type": "boolean", + "example": true + }, "ai_agent": { "allOf": [ { @@ -27503,6 +27508,11 @@ "type": "string", "example": "done" }, + "confidence_score": { + "description": "The confidence score numeric values for each extracted field as a JSON dictionary. This can be empty if no field could be extracted.", + "type": "object", + "additionalProperties": {} + }, "ai_agent_info": { "$ref": "#/components/schemas/AiAgentInfo" } diff --git a/openapi/openapi-v2025.0.json b/openapi/openapi-v2025.0.json index 37471ae2..44ff7e87 100644 --- a/openapi/openapi-v2025.0.json +++ b/openapi/openapi-v2025.0.json @@ -14,7 +14,7 @@ "url": "https://www.apache.org/licenses/LICENSE-2.0" }, "version": "2025.0", - "x-box-commit-hash": "3894918c63" + "x-box-commit-hash": "c8490cfcb1" }, "servers": [ { diff --git a/openapi/openapi.json b/openapi/openapi.json index bd9467eb..52b9bee7 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -14,7 +14,7 @@ "url": "https://www.apache.org/licenses/LICENSE-2.0" }, "version": "2024.0", - "x-box-commit-hash": "3894918c63" + "x-box-commit-hash": "c8490cfcb1" }, "servers": [ { @@ -27455,6 +27455,11 @@ "minItems": 1, "uniqueItems": true }, + "include_confidence_score": { + "description": "A flag to indicate whether confidence scores for every extracted field should be returned.", + "type": "boolean", + "example": true + }, "ai_agent": { "allOf": [ { @@ -27503,6 +27508,11 @@ "type": "string", "example": "done" }, + "confidence_score": { + "description": "The confidence score numeric values for each extracted field as a JSON dictionary. This can be empty if no field could be extracted.", + "type": "object", + "additionalProperties": {} + }, "ai_agent_info": { "$ref": "#/components/schemas/AiAgentInfo" }