From 99edb5bcbafc37ca12a8cb4a619b1c60c79434f6 Mon Sep 17 00:00:00 2001 From: "spec-sync[bot]" Date: Wed, 8 Jul 2026 03:17:12 +0000 Subject: [PATCH] chore(spec-sync): update V1 spec snapshot + regenerated reference models --- specs/v1-ade.json | 188 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) diff --git a/specs/v1-ade.json b/specs/v1-ade.json index be7d01e..7ef061f 100644 --- a/specs/v1-ade.json +++ b/specs/v1-ade.json @@ -2329,6 +2329,194 @@ ] } }, + "/v1/ade/extract/jobs": { + "get": { + "description": "List all async extract jobs associated with your API key.\n\nReturns the list of jobs or an error response. For EU users, use this endpoint:\n\n`https://api.va.eu-west-1.landing.ai/v1/ade/extract/jobs`.", + "operationId": "tool_ade_list_extract_jobs_v1_ade_extract_jobs_get", + "parameters": [ + { + "description": "Page number (0-indexed)", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": 0, + "description": "Page number (0-indexed)", + "minimum": 0, + "title": "Page", + "type": "integer" + } + }, + { + "description": "Number of items per page", + "in": "query", + "name": "pageSize", + "required": false, + "schema": { + "default": 10, + "description": "Number of items per page", + "maximum": 100, + "minimum": 1, + "title": "Pagesize", + "type": "integer" + } + }, + { + "description": "Filter by job status.", + "in": "query", + "name": "status", + "required": false, + "schema": { + "anyOf": [ + { + "enum": [ + "cancelled", + "completed", + "failed", + "pending", + "processing" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Filter by job status.", + "title": "Status" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JobsListResponse" + } + } + }, + "description": "Successful Response" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" + } + }, + "summary": "ADE List Extract Jobs", + "tags": [ + "Tools" + ] + }, + "post": { + "description": "Extract structured data asynchronously.\n\nThis endpoint creates a job that handles the processing for large markdown\ndocuments.\n\nFor EU users, use this endpoint:\n\n`https://api.va.eu-west-1.landing.ai/v1/ade/extract/jobs`.", + "operationId": "tool_ade_extract_jobs_v1_ade_extract_jobs_post", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/AsyncExtractRequest" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "example": { + "job_id": "12345678-1234-1234-1234-123456789012" + }, + "schema": { + "$ref": "#/components/schemas/JobCreationResponse" + } + } + }, + "description": "Job queued successfully" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" + }, + "429": { + "description": "Rate limit exceeded" + } + }, + "summary": "ADE Extract Jobs", + "tags": [ + "Tools" + ] + } + }, + "/v1/ade/extract/jobs/{job_id}": { + "get": { + "description": "Get the status for an async extract job.\n\nReturns the job status or an error\n response. For EU users, use this endpoint:\n\n\n `https://api.va.eu-west-1.landing.ai/v1/ade/extract/jobs/{job_id}`.", + "operationId": "tool_ade_get_extract_jobs_v1_ade_extract_jobs__job_id__get", + "parameters": [ + { + "in": "path", + "name": "job_id", + "required": true, + "schema": { + "title": "Job Id", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExtractJobStatusResponse" + } + } + }, + "description": "Successful Response" + }, + "206": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExtractJobStatusResponse" + } + } + }, + "description": "Extraction completed with success but there was a schema validation error." + }, + "404": { + "description": "Job ID not found" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" + } + }, + "summary": "ADE Get Extract Jobs", + "tags": [ + "Tools" + ] + } + }, "/v1/ade/parse": { "post": { "description": "Parse a document or spreadsheet.\n\nThis endpoint parses documents (PDF, images)\n and spreadsheets (XLSX, CSV) into structured Markdown, chunks, and metadata.\n \n\n For EU users, use this endpoint:\n\n\n `https://api.va.eu-west-1.landing.ai/v1/ade/parse`.",