AnomalyArmor Public Assets API

The public-assets API from AnomalyArmor — 4 operation(s) for public-assets.

Operations 5

GET /api/v1/sdk/assets List Assets #
POST /api/v1/sdk/assets Create Asset #
GET /api/v1/sdk/assets/{asset_id} Get Asset #
POST /api/v1/sdk/assets/{asset_id}/test-connection Test Asset Connection #
POST /api/v1/sdk/assets/{asset_id}/discover Trigger Discovery #

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-public-assets-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-public-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anomalyarmor Ai Public Assets API
  version: 1.0.0
  contact:
    name: AnomalyArmor Support
    url: https://anomalyarmor.ai/support
  license:
    name: Proprietary
  description: 'Operations tagged public-assets 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: public-assets
paths:
  /api/v1/sdk/assets:
    get:
      tags:
      - public-assets
      summary: List Assets
      description: 'List assets with optional filters.


        Returns a paginated list of assets in your organization.

        Use filters to narrow down the results.


        **SDK Usage:**

        ```python

        from anomalyarmor import Client

        client = Client()

        assets = client.assets.list(source="postgresql", limit=100)

        ```'
      operationId: list_assets_api_v1_sdk_assets_get
      parameters:
      - name: source
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by source type (e.g., postgresql, databricks)
          title: Source
        description: Filter by source type (e.g., postgresql, databricks)
      - name: asset_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by asset type (e.g., table, view)
          title: Asset Type
        description: Filter by asset type (e.g., table, view)
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search in asset names
          title: Search
        description: Search in asset names
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Maximum number of assets to return
          default: 50
          title: Limit
        description: Maximum number of assets to return
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: Number of assets to skip
          default: 0
          title: Offset
        description: Number of assets to skip
      - 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'
    post:
      tags:
      - public-assets
      summary: Create Asset
      description: 'Create a new asset (data source connection).


        Requires read-write API key scope. Does NOT auto-trigger schema discovery;

        call POST /assets/{id}/discover explicitly when ready.


        **SDK Usage:**

        ```python

        from anomalyarmor import Client

        client = Client()

        asset = client.assets.create(

        name="Production Warehouse",

        asset_type="snowflake",

        host="abc123.snowflakecomputing.com",

        database_name="ANALYTICS",

        username="readonly_user",

        password="...",

        )

        ```'
      operationId: create_asset_api_v1_sdk_assets_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAssetRequest'
      responses:
        '201':
          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/sdk/assets/{asset_id}:
    get:
      tags:
      - public-assets
      summary: Get Asset
      description: 'Get a single asset by ID or qualified name.


        Accepts (in order of precedence):

        - Full UUID (e.g., "550e8400-e29b-41d4-a716-446655440000")

        - Short UUID prefix, 8+ chars (e.g., "550e8400")

        - Qualified name (e.g., "postgresql.mydb")

        - Asset name (e.g., "My Analytics DB")

        - Database name (e.g., "mydb")


        **SDK Usage:**

        ```python

        from anomalyarmor import Client

        client = Client()


        # By short UUID

        asset = client.assets.get("550e8400")


        # By name

        asset = client.assets.get("My Analytics DB")


        # By qualified name

        asset = client.assets.get("postgresql.mydb")

        ```'
      operationId: get_asset_api_v1_sdk_assets__asset_id__get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          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/sdk/assets/{asset_id}/test-connection:
    post:
      tags:
      - public-assets
      summary: Test Asset Connection
      description: 'Test connection to an asset.


        Initiates an async connection test job. Returns a job_id that can be

        polled via GET /sdk/jobs/{job_id} for status.


        **SDK Usage:**

        ```python

        client = Client()

        job = client.assets.test_connection("asset-uuid")

        # Poll for result

        while job.status == "running":

        job = client.jobs.get(job.job_id)

        print(f"Success: {job.result.is_successful}")

        ```'
      operationId: test_asset_connection_api_v1_sdk_assets__asset_id__test_connection_post
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          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/sdk/assets/{asset_id}/discover:
    post:
      tags:
      - public-assets
      summary: Trigger Discovery
      description: 'Trigger schema discovery for an asset.


        Queues an async schema discovery job that crawls database metadata.

        Returns a job_id that can be polled via GET /sdk/jobs/{job_id}.


        **SDK Usage:**

        ```python

        client = Client()

        job = client.assets.trigger_discovery("asset-uuid")

        # Poll for completion

        status = client.jobs.get(job.job_id)

        ```'
      operationId: trigger_discovery_api_v1_sdk_assets__asset_id__discover_post
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          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
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CreateAssetRequest:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
          description: Display name
        asset_type:
          type: string
          maxLength: 50
          minLength: 1
          title: Asset Type
          description: 'Database type: snowflake, postgresql, databricks, bigquery, redshift, mysql, clickhouse, athena'
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
          description: Optional description
        host:
          anyOf:
          - type: string
          - type: 'null'
          title: Host
          description: Database host
        port:
          anyOf:
          - type: integer
            maximum: 65535.0
            minimum: 1.0
          - type: 'null'
          title: Port
          description: Database port
        database_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Database Name
          description: Database name (required)
        username:
          anyOf:
          - type: string
          - type: 'null'
          title: Username
          description: Database username
        password:
          anyOf:
          - type: string
          - type: 'null'
          title: Password
          description: Database password
        ssl_enabled:
          type: boolean
          title: Ssl Enabled
          description: Enable SSL
          default: false
        default_catalog:
          anyOf:
          - type: string
          - type: 'null'
          title: Default Catalog
          description: Default catalog (Databricks/Snowflake)
        http_path:
          anyOf:
          - type: string
          - type: 'null'
          title: Http Path
          description: HTTP path (Databricks)
        extra_params:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Extra Params
          description: Extra connection parameters
        connection_config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Connection Config
          description: Connection config dict (alternative to flat fields)
      type: object
      required:
      - name
      - asset_type
      title: CreateAssetRequest
      description: Request to create a new asset (data source connection).
    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