AnomalyArmor Connections API

The connections API from AnomalyArmor — 8 operation(s) for connections.

Operations 8

POST /api/v1/assets/test-connection-parameters Test connection parameters #
POST /api/v1/assets/{asset_id}/connection-tests Test asset connection #
GET /api/v1/assets/{asset_id}/history Get connection history #
GET /api/v1/assets/{asset_id}/connection-tests/latest Get latest connection test #
GET /api/v1/assets/{asset_id}/health Get connection health metrics #
POST /api/v1/assets/connection-tests/bulk Bulk test connections #
GET /api/v1/assets/connection-tests/{connection_id} Get connection test details #
GET /api/v1/assets/companies/{company_id}/connection-statistics Get connection statistics #

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-connections-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-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anomalyarmor Ai Connections API
  version: 1.0.0
  contact:
    name: AnomalyArmor Support
    url: https://anomalyarmor.ai/support
  license:
    name: Proprietary
  description: 'Operations tagged connections 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: Connections
paths:
  /api/v1/assets/test-connection-parameters:
    post:
      tags:
      - Connections
      summary: Test connection parameters
      description: Test database connection parameters without creating an asset
      operationId: test_connection_parameters_api_v1_assets_test_connection_parameters_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionTestParametersRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionTestResponse'
        '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}/connection-tests:
    post:
      tags:
      - Connections
      summary: Test asset connection
      description: Initiate a connection test for a specific asset as a distributed job
      operationId: test_asset_connection_api_v1_assets__asset_id__connection_tests_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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionTestRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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}/history:
    get:
      tags:
      - Connections
      summary: Get connection history
      description: Get connection test history for an asset
      operationId: get_connection_history_api_v1_assets__asset_id__history_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          title: Asset Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Number of results to return
          default: 50
          title: Limit
        description: Number of results to return
      - name: test_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by test type
          title: Test Type
        description: Filter by test type
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by status
          title: Status
        description: Filter by status
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConnectionTestResponse'
                title: Response Get Connection History Api V1 Assets  Asset Id  History Get
        '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}/connection-tests/latest:
    get:
      tags:
      - Connections
      summary: Get latest connection test
      description: Get the most recent connection test for an asset
      operationId: get_latest_connection_test_api_v1_assets__asset_id__connection_tests_latest_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:
                anyOf:
                - $ref: '#/components/schemas/ConnectionTestResponse'
                - type: 'null'
                title: Response Get Latest Connection Test Api V1 Assets  Asset Id  Connection Tests Latest Get
        '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}/health:
    get:
      tags:
      - Connections
      summary: Get connection health metrics
      description: Get connection health metrics for an asset
      operationId: get_connection_health_api_v1_assets__asset_id__health_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          title: Asset Id
      - name: hours_back
        in: query
        required: false
        schema:
          type: integer
          maximum: 168
          minimum: 1
          description: Hours to look back for metrics
          default: 24
          title: Hours Back
        description: Hours to look back for metrics
      - 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/connection-tests/bulk:
    post:
      tags:
      - Connections
      summary: Bulk test connections
      description: Test connections for multiple assets
      operationId: bulk_test_connections_api_v1_assets_connection_tests_bulk_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__domains__core__assets__api__endpoints__connections__BulkConnectionTestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConnectionTestResponse'
                title: Response Bulk Test Connections Api V1 Assets Connection Tests Bulk Post
        '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/connection-tests/{connection_id}:
    get:
      tags:
      - Connections
      summary: Get connection test details
      description: Get details of a specific connection test
      operationId: get_connection_test_api_v1_assets_connection_tests__connection_id__get
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: integer
          title: Connection Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionTestResponse'
        '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/companies/{company_id}/connection-statistics:
    get:
      tags:
      - Connections
      summary: Get connection statistics
      description: Get connection statistics for a company
      operationId: get_connection_statistics_api_v1_assets_companies__company_id__connection_statistics_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: integer
          title: Company 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:
    ConnectionTestParametersRequest:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        asset_type:
          type: string
          title: Asset Type
        host:
          type: string
          title: Host
        port:
          type: integer
          title: Port
        database_name:
          type: string
          title: Database Name
        username:
          type: string
          title: Username
        password:
          type: string
          title: Password
          default: ''
        default_catalog:
          anyOf:
          - type: string
          - type: 'null'
          title: Default Catalog
        ssl_enabled:
          type: boolean
          title: Ssl Enabled
          default: false
        ssl_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Ssl Mode
        ssl_ca_cert:
          anyOf:
          - type: string
          - type: 'null'
          title: Ssl Ca Cert
        http_path:
          anyOf:
          - type: string
          - type: 'null'
          title: Http Path
        extra_params:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Extra Params
      type: object
      required:
      - name
      - asset_type
      - host
      - port
      - database_name
      - username
      title: ConnectionTestParametersRequest
      description: Request schema for testing connection parameters without creating an asset.
    ConnectionTestResponse:
      properties:
        id:
          type: integer
          title: Id
        asset_id:
          type: integer
          title: Asset Id
        test_type:
          type: string
          title: Test Type
        status:
          type: string
          title: Status
        started_at:
          type: string
          title: Started At
        is_successful:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Successful
        duration_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Ms
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
        latency_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Latency Ms
      type: object
      required:
      - id
      - asset_id
      - test_type
      - status
      - started_at
      title: ConnectionTestResponse
      description: Response schema for connection test.
    app__domains__core__assets__api__endpoints__connections__BulkConnectionTestRequest:
      properties:
        asset_ids:
          items:
            type: integer
          type: array
          title: Asset Ids
      type: object
      required:
      - asset_ids
      title: BulkConnectionTestRequest
      description: Request schema for bulk connection testing.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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.
    ConnectionTestRequest:
      properties:
        test_type:
          type: string
          title: Test Type
          default: manual
      type: object
      title: ConnectionTestRequest
      description: Request schema for connection test.
    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
x-refined-from:
- anomalyarmor.ai-openapi.json
- app.anomalyarmor.ai-openapi.json
- docs.anomalyarmor.ai-openapi.json