LinkSquares Metadata and Smart Values API

Terms, Smart Values, hierarchy, and agreement types (confirmed).

Operations 4

GET /api/analyze/v1/agreements/{agreement_id}/hierarchy Retrieve parent/child hierarchy #
GET /api/analyze/v1/agreements/{agreement_id}/terms Retrieve agreement terms #
PATCH /api/analyze/v2/agreements/{agreement_id}/terms/{term_id} Update an agreement term #
GET /api/analyze/v1/agreement_types List agreement types #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/linksquares-metadata-and-smart-values-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

linksquares-metadata-and-smart-values-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LinkSquares Metadata and Smart Values API
  description: The LinkSquares API is the public REST API for the LinkSquares AI-powered contract lifecycle management (CLM) platform.
  version: '1.0'
  contact:
    name: LinkSquares
    url: https://linksquares.com
  license:
    name: Proprietary
    url: https://linksquares.com/saas-terms-of-service
servers:
- url: https://api.linksquares.com
  description: LinkSquares production API gateway
security:
- apiKeyAuth: []
tags:
- name: Metadata and Smart Values
  description: Terms, Smart Values, hierarchy, and agreement types (confirmed).
paths:
  /api/analyze/v1/agreements/{agreement_id}/hierarchy:
    parameters:
    - $ref: '#/components/parameters/AgreementId'
    get:
      operationId: getAgreementHierarchy
      tags:
      - Metadata and Smart Values
      summary: Retrieve parent/child hierarchy
      description: Returns the parent/child hierarchy tree for a given agreement as an unsorted JSON hash, including the IDs and names of all related agreements and their relationships. Confirmed.
      responses:
        '200':
          description: The hierarchy tree.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/analyze/v1/agreements/{agreement_id}/terms:
    parameters:
    - $ref: '#/components/parameters/AgreementId'
    get:
      operationId: getAgreementTerms
      tags:
      - Metadata and Smart Values
      summary: Retrieve agreement terms
      description: Retrieves the terms (Smart Values) extracted for a single agreement. Confirmed.
      responses:
        '200':
          description: The agreement's terms.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/analyze/v2/agreements/{agreement_id}/terms/{term_id}:
    parameters:
    - $ref: '#/components/parameters/AgreementId'
    - name: term_id
      in: path
      required: true
      description: The identifier of the term / Smart Value.
      schema:
        type: string
    patch:
      operationId: updateAgreementTerm
      tags:
      - Metadata and Smart Values
      summary: Update an agreement term
      description: Updates the value of a single term (Smart Value) on an agreement. Confirmed (v2).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The updated term.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/analyze/v1/agreement_types:
    get:
      operationId: listAgreementTypes
      tags:
      - Metadata and Smart Values
      summary: List agreement types
      description: Lists the agreement types configured in the Analyze environment. Confirmed.
      responses:
        '200':
          description: A list of agreement types.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  parameters:
    AgreementId:
      name: agreement_id
      in: path
      required: true
      description: The unique identifier (UUID) of the agreement.
      schema:
        type: string
        format: uuid
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: LinkSquares API key passed as an `x-api-key` header on every request. Keys are self-managed by Administrator users and are shared across the Analyze and Finalize products.