AnomalyArmor Lineage Query API

The lineage-query API from AnomalyArmor — 6 operation(s) for lineage-query.

Operations 6

GET /api/v1/assets/{asset_id}/lineage Get Asset Lineage #
GET /api/v1/assets/{asset_id}/lineage/upstream/{unique_id} Get Upstream Lineage #
GET /api/v1/assets/{asset_id}/lineage/downstream/{unique_id} Get Downstream Lineage #
GET /api/v1/assets/{asset_id}/lineage/impact Analyze Impact #
GET /api/v1/assets/{asset_id}/lineage/path Find Path Between Nodes #
POST /api/v1/assets/{asset_id}/lineage/batch-impact Batch Impact Analysis #

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/anomalyarmor-ai:anomalyarmor-ai-lineage-query-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

anomalyarmor-ai-lineage-query-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anomalyarmor Ai Lineage Query API
  version: 1.0.0
  contact:
    name: AnomalyArmor Support
    url: https://anomalyarmor.ai/support
  license:
    name: Proprietary
  description: 'Operations tagged lineage-query across 3 of this provider''s published API definitions: anomalyarmor.ai-openapi.json, app.anomalyarmor.ai-openapi.json, docs.anomalyarmor.ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8000
  description: Development server
- url: https://api.anomalyarmor.ai
  description: Production server
tags:
- name: lineage-query
paths:
  /api/v1/assets/{asset_id}/lineage:
    get:
      tags:
      - lineage-query
      summary: Get Asset Lineage
      description: 'Get complete lineage graph for an asset.


        Returns all nodes and edges from the database.

        Client-side filtering can be used to show different views (asset/schema/table).


        Args:

        asset_id: Asset UUID


        Returns:

        StandardResponse with LineageGraphResponse data'
      operationId: get_asset_lineage_api_v1_assets__asset_id__lineage_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/assets/{asset_id}/lineage/upstream/{unique_id}:
    get:
      tags:
      - lineage-query
      summary: Get Upstream Lineage
      description: 'Get upstream (parent) lineage for a node.


        Args:

        asset_id: Asset UUID

        unique_id: Node unique identifier

        max_hops: Maximum number of hops to traverse


        Returns:

        StandardResponse with upstream nodes'
      operationId: get_upstream_lineage_api_v1_assets__asset_id__lineage_upstream__unique_id__get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: unique_id
        in: path
        required: true
        schema:
          type: string
          title: Unique Id
      - name: max_hops
        in: query
        required: false
        schema:
          type: integer
          maximum: 20
          minimum: 1
          description: Maximum hops to traverse
          default: 10
          title: Max Hops
        description: Maximum hops to traverse
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/assets/{asset_id}/lineage/downstream/{unique_id}:
    get:
      tags:
      - lineage-query
      summary: Get Downstream Lineage
      description: 'Get downstream (child) lineage for a node.


        Args:

        asset_id: Asset UUID

        unique_id: Node unique identifier

        max_hops: Maximum number of hops to traverse


        Returns:

        StandardResponse with downstream nodes'
      operationId: get_downstream_lineage_api_v1_assets__asset_id__lineage_downstream__unique_id__get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: unique_id
        in: path
        required: true
        schema:
          type: string
          title: Unique Id
      - name: max_hops
        in: query
        required: false
        schema:
          type: integer
          maximum: 20
          minimum: 1
          description: Maximum hops to traverse
          default: 10
          title: Max Hops
        description: Maximum hops to traverse
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/assets/{asset_id}/lineage/impact:
    get:
      tags:
      - lineage-query
      summary: Analyze Impact
      description: 'Analyze downstream impact of changes to a node.


        Args:

        asset_id: Asset UUID

        unique_id: Node unique identifier

        max_hops: Maximum hops to analyze


        Returns:

        StandardResponse with ImpactAnalysisResponse data'
      operationId: analyze_impact_api_v1_assets__asset_id__lineage_impact_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: unique_id
        in: query
        required: true
        schema:
          type: string
          description: Node unique identifier
          title: Unique Id
        description: Node unique identifier
      - name: max_hops
        in: query
        required: false
        schema:
          type: integer
          maximum: 20
          minimum: 1
          description: Maximum hops to analyze
          default: 10
          title: Max Hops
        description: Maximum hops to analyze
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/assets/{asset_id}/lineage/path:
    get:
      tags:
      - lineage-query
      summary: Find Path Between Nodes
      description: 'Find shortest path between two nodes.


        Args:

        asset_id: Asset UUID

        from_unique_id: Source node unique ID

        to_unique_id: Target node unique ID

        max_hops: Maximum path length


        Returns:

        StandardResponse with path data'
      operationId: find_path_between_nodes_api_v1_assets__asset_id__lineage_path_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: from_unique_id
        in: query
        required: true
        schema:
          type: string
          description: Source node unique identifier
          title: From Unique Id
        description: Source node unique identifier
      - name: to_unique_id
        in: query
        required: true
        schema:
          type: string
          description: Target node unique identifier
          title: To Unique Id
        description: Target node unique identifier
      - name: max_hops
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          description: Maximum path length
          default: 20
          title: Max Hops
        description: Maximum path length
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/assets/{asset_id}/lineage/batch-impact:
    post:
      tags:
      - lineage-query
      summary: Batch Impact Analysis
      description: 'Analyze downstream impact for multiple nodes in a single request.


        TECH-817: Returns downstream impact counts for each unique_id,

        enabling the schema changes page to show impact badges without

        N+1 API calls.


        Args:

        asset_id: Asset UUID

        request: Batch request with unique_ids and max_hops'
      operationId: batch_impact_analysis_api_v1_assets__asset_id__lineage_batch_impact_post
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchImpactRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
components:
  schemas:
    BatchImpactRequest:
      properties:
        unique_ids:
          items:
            type: string
          type: array
          maxItems: 50
          minItems: 1
          title: Unique Ids
          description: 'List of lineage node unique identifiers (format: catalog.schema.table)'
        max_hops:
          type: integer
          maximum: 20.0
          minimum: 1.0
          title: Max Hops
          description: Maximum hops to traverse for each node
          default: 10
      type: object
      required:
      - unique_ids
      title: BatchImpactRequest
      description: 'Request body for batch downstream impact analysis.


        TECH-817: Enables the schema changes page to show downstream impact

        counts for multiple tables in a single request.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    StandardResponse:
      properties:
        success:
          type: boolean
          title: Success
        data:
          anyOf:
          - {}
          - type: 'null'
          title: Data
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        meta:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Meta
      type: object
      required:
      - success
      title: StandardResponse
      description: Standard API response wrapper.
x-refined-from:
- anomalyarmor.ai-openapi.json
- app.anomalyarmor.ai-openapi.json
- docs.anomalyarmor.ai-openapi.json