naftiko: 1.0.0-alpha2 info: label: Kensho Extract API — kensho-extract-api description: 'Kensho Extract API — kensho-extract-api. 5 operations. Lead operation: Submit a document for extraction. Self-contained Naftiko capability covering one S&P Global / Kensho business surface.' tags: - S&P Global - Kensho - Extract created: '2026-05-23' modified: '2026-05-23' binds: - namespace: env keys: KENSHO_EXTRACT_TOKEN: KENSHO_EXTRACT_TOKEN capability: consumes: - type: http namespace: kensho-extract-api baseUri: https://extract.kensho.com description: Kensho Extract API consumed surface. Self-contained, no shared references. resources: - name: v3-extractions path: /v3/extractions operations: - name: postv3extractions method: POST description: Submit a document for extraction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v3-extractions-upload-url path: /v3/extractions/upload-url operations: - name: postv3extractionsuploadurl method: POST description: Upload URL To Submit A Document For Extraction. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v3-extractions-upload-complete path: /v3/extractions/upload-complete operations: - name: putv3extractionsuploadcomplete method: PUT description: Mark The Upload As Complete To Start Extraction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v3-extractions-request-id path: /v3/extractions/{request_id} operations: - name: getv3extractionsrequestid method: GET description: Retrieve the extracted document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v3-extractions-download-url-request-id path: /v3/extractions/download-url/{request_id} operations: - name: getv3extractionsdownloadurlrequestid method: GET description: Retrieve The Extracted Document's Download URL outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: kensho-extract-api-rest port: 8080 description: REST adapter for Kensho Extract API. endpoints: - method: POST name: postv3extractions description: Submit a document for extraction call: kensho-extract-api.postv3extractions with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postv3extractionsuploadurl description: Upload URL To Submit A Document For Extraction. call: kensho-extract-api.postv3extractionsuploadurl with: body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: putv3extractionsuploadcomplete description: Mark The Upload As Complete To Start Extraction call: kensho-extract-api.putv3extractionsuploadcomplete with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getv3extractionsrequestid description: Retrieve the extracted document call: kensho-extract-api.getv3extractionsrequestid with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getv3extractionsdownloadurlrequestid description: Retrieve The Extracted Document's Download URL call: kensho-extract-api.getv3extractionsdownloadurlrequestid with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: kensho-extract-api-mcp port: 9090 transport: http description: MCP adapter for Kensho Extract API. One tool per consumed operation. tools: - name: submit-a-document-for-extraction description: Submit a document for extraction hints: readOnly: false destructive: false idempotent: false call: kensho-extract-api.postv3extractions with: body: tools.body outputParameters: - type: object mapping: $. - name: upload-url-to-submit-a-document-for-extraction description: Upload URL To Submit A Document For Extraction. hints: readOnly: false destructive: false idempotent: false call: kensho-extract-api.postv3extractionsuploadurl with: body: tools.body outputParameters: - type: object mapping: $. - name: mark-the-upload-as-complete-to-start-extraction description: Mark The Upload As Complete To Start Extraction hints: readOnly: false destructive: false idempotent: true call: kensho-extract-api.putv3extractionsuploadcomplete with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-the-extracted-document description: Retrieve the extracted document hints: readOnly: true destructive: false idempotent: true call: kensho-extract-api.getv3extractionsrequestid with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-the-extracted-document-s-download-url description: Retrieve The Extracted Document's Download URL hints: readOnly: true destructive: false idempotent: true call: kensho-extract-api.getv3extractionsdownloadurlrequestid with: body: tools.body outputParameters: - type: object mapping: $.