AnomalyArmor Validity API

The validity API from AnomalyArmor — 5 operation(s) for validity.

Operations 8

GET /api/v1/assets/{asset_id}/validity-rules List Validity Rules #
POST /api/v1/assets/{asset_id}/validity-rules Create Validity Rule #
GET /api/v1/assets/{asset_id}/validity-rules/summary Get Validity Summary #
GET /api/v1/assets/{asset_id}/validity-rules/{rule_id} Get Validity Rule #
PATCH /api/v1/assets/{asset_id}/validity-rules/{rule_id} Update Validity Rule #
DELETE /api/v1/assets/{asset_id}/validity-rules/{rule_id} Delete Validity Rule #
POST /api/v1/assets/{asset_id}/validity-rules/{rule_id}/check Trigger Validity Check #
GET /api/v1/assets/{asset_id}/validity-rules/{rule_id}/results Get Check Results #

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-validity-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-validity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anomalyarmor Ai Validity API
  version: 1.0.0
  contact:
    name: AnomalyArmor Support
    url: https://anomalyarmor.ai/support
  license:
    name: Proprietary
  description: 'Operations tagged validity 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: validity
paths:
  /api/v1/assets/{asset_id}/validity-rules:
    get:
      tags:
      - validity
      summary: List Validity Rules
      description: Get all validity rules for an asset.
      operationId: list_validity_rules_api_v1_assets__asset_id__validity_rules_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: table_path
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by table path
          title: Table Path
        description: Filter by table path
      - name: rule_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by rule type
          title: Rule Type
        description: Filter by rule type
      - name: is_active
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Filter by active status
          title: Is Active
        description: Filter by active status
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          description: Max results
          default: 50
          title: Limit
        description: Max results
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: Offset for pagination
          default: 0
          title: Offset
        description: Offset for pagination
      - 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:
      - validity
      summary: Create Validity Rule
      description: Create a new validity rule for an asset.
      operationId: create_validity_rule_api_v1_assets__asset_id__validity_rules_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/ValidityRuleCreate'
      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/assets/{asset_id}/validity-rules/summary:
    get:
      tags:
      - validity
      summary: Get Validity Summary
      description: Get validity check summary for an asset.
      operationId: get_validity_summary_api_v1_assets__asset_id__validity_rules_summary_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}/validity-rules/{rule_id}:
    get:
      tags:
      - validity
      summary: Get Validity Rule
      description: Get a validity rule by ID with recent results.
      operationId: get_validity_rule_api_v1_assets__asset_id__validity_rules__rule_id__get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: rule_id
        in: path
        required: true
        schema:
          type: integer
          title: Rule 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'
    patch:
      tags:
      - validity
      summary: Update Validity Rule
      description: Update a validity rule.
      operationId: update_validity_rule_api_v1_assets__asset_id__validity_rules__rule_id__patch
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: rule_id
        in: path
        required: true
        schema:
          type: integer
          title: Rule Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidityRuleUpdate'
      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'
    delete:
      tags:
      - validity
      summary: Delete Validity Rule
      description: Delete a validity rule.
      operationId: delete_validity_rule_api_v1_assets__asset_id__validity_rules__rule_id__delete
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: rule_id
        in: path
        required: true
        schema:
          type: integer
          title: Rule Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '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}/validity-rules/{rule_id}/check:
    post:
      tags:
      - validity
      summary: Trigger Validity Check
      description: Trigger an immediate validity check for a rule.
      operationId: trigger_validity_check_api_v1_assets__asset_id__validity_rules__rule_id__check_post
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: rule_id
        in: path
        required: true
        schema:
          type: integer
          title: Rule Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/ValidityCheckTrigger'
              - type: 'null'
              title: Request
      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}/validity-rules/{rule_id}/results:
    get:
      tags:
      - validity
      summary: Get Check Results
      description: Get historical check results for a validity rule.
      operationId: get_validity_results_api_v1_assets__asset_id__validity_rules__rule_id__results_get
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: rule_id
        in: path
        required: true
        schema:
          type: integer
          title: Rule Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by status
          title: Status
        description: Filter by status
      - name: start_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Filter by start date
          title: Start Date
        description: Filter by start date
      - name: end_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Filter by end date
          title: End Date
        description: Filter by end date
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: Offset for pagination
          default: 0
          title: Offset
        description: Offset for pagination
      - 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:
    ValidityRuleUpdate:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
        rule_config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Rule Config
        severity:
          anyOf:
          - $ref: '#/components/schemas/Severity'
          - type: 'null'
        alert_threshold_percent:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Alert Threshold Percent
          description: Alert threshold percentage (manual mode)
        detection_mode:
          anyOf:
          - type: string
            enum:
            - manual
            - auto
          - type: 'null'
          title: Detection Mode
          description: '''manual'' (fixed threshold) or ''auto'' (learned baseline)'
        sensitivity:
          anyOf:
          - type: integer
            maximum: 4.0
            minimum: 1.0
          - type: 'null'
          title: Sensitivity
          description: 1-4 stddev threshold for auto mode
        operating_period_mode:
          anyOf:
          - type: string
            enum:
            - 'off'
            - auto
            - schedule
          - type: 'null'
          title: Operating Period Mode
          description: Operating-period awareness mode (TECH-984)
        operating_schedule_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Operating Schedule Id
          description: Public UUID of the operating schedule ('schedule' mode)
        treat_null_as_valid:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Treat Null As Valid
        check_interval:
          anyOf:
          - $ref: '#/components/schemas/CheckInterval'
          - type: 'null'
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
      type: object
      title: ValidityRuleUpdate
      description: Request schema for updating a validity rule.
    Severity:
      type: string
      enum:
      - error
      - warning
      title: Severity
      description: Severity levels for validity rules.
    RuleType:
      type: string
      enum:
      - regex_match
      - allowed_values
      - range_bounds
      - format
      - length_bounds
      title: RuleType
      description: Types of validity rules.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidityCheckTrigger:
      properties:
        sample_limit:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Sample Limit
          description: Max invalid samples
          default: 10
      type: object
      title: ValidityCheckTrigger
      description: Request schema for triggering a validity check.
    CheckInterval:
      type: string
      enum:
      - hourly
      - daily
      - weekly
      title: CheckInterval
      description: 'Check interval options for validity rules.


        These values match what the scheduler queries for in get_due_for_check.'
    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.
    ValidityRuleCreate:
      properties:
        table_path:
          type: string
          title: Table Path
          description: Fully qualified table path
        column_name:
          type: string
          title: Column Name
          description: Column to validate
        rule_type:
          $ref: '#/components/schemas/RuleType'
          description: Type of validation rule
        rule_config:
          additionalProperties: true
          type: object
          title: Rule Config
          description: Rule-specific configuration
        name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Name
          description: Optional rule name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
          description: Optional description
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
          description: Custom error message
        severity:
          $ref: '#/components/schemas/Severity'
          description: Severity level
          default: error
        alert_threshold_percent:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Alert Threshold Percent
          description: Alert threshold percentage (manual mode)
        detection_mode:
          type: string
          enum:
          - manual
          - auto
          title: Detection Mode
          description: '''manual'' (fixed threshold) or ''auto'' (learned baseline)'
          default: manual
        sensitivity:
          type: integer
          maximum: 4.0
          minimum: 1.0
          title: Sensitivity
          description: 1-4 stddev threshold for auto mode
          default: 2
        operating_period_mode:
          type: string
          enum:
          - 'off'
          - auto
          - schedule
          title: Operating Period Mode
          description: 'Operating-period awareness (TECH-984): ''off'' pools all history, ''schedule'' segments by operating_schedule_id, ''auto'' learns a calendar from history'
          default: 'off'
        operating_schedule_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Operating Schedule Id
          description: Public UUID of the operating schedule (required for 'schedule' mode)
        treat_null_as_valid:
          type: boolean
          title: Treat Null As Valid
          description: Whether NULL values pass validation
          default: true
        check_interval:
          $ref: '#/components/schemas/CheckInterval'
          description: Check frequency (hourly, daily, weekly)
          default: daily
      type: object
      required:
      - table_path
      - column_name
      - rule_type
      - rule_config
      title: ValidityRuleCreate
      description: Request schema for creating a validity rule.
    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