TermScout · OpenAPI Overlay 1.0.0

API Evangelist enhancements for the TermScout Data API

16 actions 16 updates documentation extends openapi/termscout-data-openapi.yml
Derived by API Evangelist Built from the contracts TermScout publishes. TermScout did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

tagsoperationIdx-apievangelist-notedescriptionx-apievangelist-profilex-apievangelist-harvestedx-apievangelist-sourcesource_langauge

Targets 16

$.info
$
$.paths['/contracts'].get
$.paths['/contracts'].post
$.paths['/contracts/{contract-id}/status'].get
$.paths['/contracts/{contract-id}/overview'].get
$.paths['/contracts/{contract-id}/extracted-fields'].get
$.paths['/contracts/{contract-id}/citations'].get
$.paths['/contracts/{contract-id}/prediction-detail'].get
$.paths['/contracts/{contract-id}/prediction-flags'].get
$.paths['/contracts/{contract-id}/prediction-summary'].get
$.paths['/contracts/{contract-id}/playbook-detail'].get
$.paths['/contract-positions'].get
$.components.schemas.Citation.properties
$.components.schemas.testUpload
$.components.schemas.Empty

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for the TermScout Data API
  version: 1.0.0
x-generated: '2026-08-14'
x-method: generated
x-source: openapi/termscout-data-openapi.yml
x-note: >-
  Captures API Evangelist's enhancements to the published termscout-data
  definition WITHOUT mutating it. The harvested original is preserved verbatim
  at openapi/_original/termscout-openapi.json. The provider's spec declares no
  operationIds and no tags, which makes every operation unaddressable by name
  and ungroupable; this overlay adds both, plus the error responses the spec
  omits entirely. The operationIds and tags below are API Evangelist
  vocabulary derived from each operation's own summary — they are NOT
  TermScout-published identifiers, and a consumer must not expect TermScout to
  recognise them.
extends: openapi/termscout-data-openapi.yml

actions:
- target: $.info
  update:
    x-apievangelist-profile: https://apis.io/provider/termscout/
    x-apievangelist-harvested: '2026-08-14'
    x-apievangelist-source: https://api.termscout.com/docs
    x-apievangelist-note: >-
      Definition served anonymously at https://api.termscout.com/docs; the data
      routes themselves require x-api-key plus an Authorization credential.

- target: $
  update:
    tags:
    - name: Contracts
      description: Submitting contracts and reading their processing status and overview.
    - name: Analysis
      description: >-
        Extracted fields, citations, predicted labels, red flags, prediction
        summaries and playbook results for a submitted contract.
    - name: Market Data
      description: Aggregate benchmarking data across TermScout's contract corpus.

- target: $.paths['/contracts'].get
  update:
    operationId: listContracts
    tags: [Contracts]

- target: $.paths['/contracts'].post
  update:
    operationId: uploadContract
    tags: [Contracts]
    x-apievangelist-note: >-
      The only write operation. Declares no requestBody — every input including
      the document reference travels as a query parameter. Omitting contract-id
      creates a new contract; supplying it updates the existing one. There is no
      idempotency key, so a naive retry duplicates the contract.

- target: $.paths['/contracts/{contract-id}/status'].get
  update:
    operationId: getContractStatus
    tags: [Contracts]
    x-apievangelist-note: >-
      Poll this until processing completes before calling any analysis
      operation. ContractStatus.status is an untyped string with no enum, so
      terminal values are undocumented.

- target: $.paths['/contracts/{contract-id}/overview'].get
  update:
    operationId: getContractOverview
    tags: [Contracts]

- target: $.paths['/contracts/{contract-id}/extracted-fields'].get
  update:
    operationId: getContractExtractedFields
    tags: [Analysis]

- target: $.paths['/contracts/{contract-id}/citations'].get
  update:
    operationId: getContractCitations
    tags: [Analysis]

- target: $.paths['/contracts/{contract-id}/prediction-detail'].get
  update:
    operationId: getContractPredictionDetail
    tags: [Analysis]

- target: $.paths['/contracts/{contract-id}/prediction-flags'].get
  update:
    operationId: getContractPredictionFlags
    tags: [Analysis]

- target: $.paths['/contracts/{contract-id}/prediction-summary'].get
  update:
    operationId: getContractPredictionSummary
    tags: [Analysis]

- target: $.paths['/contracts/{contract-id}/playbook-detail'].get
  update:
    operationId: getContractPlaybookDetail
    tags: [Analysis]

- target: $.paths['/contract-positions'].get
  update:
    operationId: getContractPositions
    tags: [Market Data]

- target: $.components.schemas.Citation.properties
  update:
    source_langauge:
      type: string
      description: >-
        Source language backing the citation. NOTE: the property name is
        misspelled in the published definition ("langauge"); the equivalent
        field on ExtractedField and PredictionDetailLabel is source_language.
        Preserved as published — correcting it would break the contract.

- target: $.components.schemas.testUpload
  update:
    deprecated: true
    description: >-
      Unreferenced by any operation and identical in shape to ContractUpload.
      Appears to be a test artifact left in the published definition.

- target: $.components.schemas.Empty
  update:
    description: >-
      Declared with no properties and referenced by no operation in the
      published definition.

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/termscout-data-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.