AnomalyArmor Public Validity API
The public-validity API from AnomalyArmor — 5 operation(s) for public-validity.
The public-validity API from AnomalyArmor — 5 operation(s) for public-validity.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/anomalyarmor-ai:anomalyarmor-ai-public-validity-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Anomalyarmor Ai Public Validity API
version: 1.0.0
contact:
name: AnomalyArmor Support
url: https://anomalyarmor.ai/support
license:
name: Proprietary
description: 'Operations tagged public-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: public-validity
paths:
/api/v1/sdk/validity/{asset_id}/summary:
get:
tags:
- public-validity
summary: Get Validity Summary
description: 'Get validity summary for an asset.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
summary = client.validity.summary("asset-uuid")
print(f"Failing rules: {summary.failing_rules}")
```'
operationId: get_validity_summary_api_v1_sdk_validity__asset_id__summary_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/validity/{asset_id}:
get:
tags:
- public-validity
summary: List Validity Rules
description: 'List validity rules for an asset.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
rules = client.validity.list("asset-uuid")
for r in rules:
print(f"{r.rule_type} on {r.column_name}: {r.latest_status}")
```'
operationId: list_validity_rules_api_v1_sdk_validity__asset_id__get
parameters:
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
- 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:
- public-validity
summary: Create Validity Rule
description: 'Create a new validity rule.
Requires read-write or admin scope.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
rule = client.validity.create(
"asset-uuid",
rule_type="NOT_NULL",
table_path="catalog.schema.table",
column_name="email",
severity="critical",
)
```'
operationId: create_validity_rule_api_v1_sdk_validity__asset_id__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/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/sdk/validity/{asset_id}/{rule_id}:
get:
tags:
- public-validity
summary: Get Validity Rule
description: 'Get validity rule details with recent results.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
rule = client.validity.get("asset-uuid", "rule-uuid")
print(f"Latest status: {rule.latest_status}")
```'
operationId: get_validity_rule_api_v1_sdk_validity__asset_id___rule_id__get
parameters:
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
- name: rule_id
in: path
required: true
schema:
type: string
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:
- public-validity
summary: Update Validity Rule
description: 'Update a validity rule.
Requires read-write or admin scope.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
rule = client.validity.update("asset-uuid", "rule-uuid", severity="warning")
```'
operationId: update_validity_rule_api_v1_sdk_validity__asset_id___rule_id__patch
parameters:
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
- name: rule_id
in: path
required: true
schema:
type: string
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:
- public-validity
summary: Delete Validity Rule
description: 'Delete a validity rule.
Requires read-write or admin scope.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
client.validity.delete("asset-uuid", "rule-uuid")
```'
operationId: delete_validity_rule_api_v1_sdk_validity__asset_id___rule_id__delete
parameters:
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
- name: rule_id
in: path
required: true
schema:
type: string
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/sdk/validity/{asset_id}/{rule_id}/check:
post:
tags:
- public-validity
summary: Trigger Validity Check
description: 'Trigger an immediate validity check.
Requires read-write or admin scope.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
result = client.validity.check("asset-uuid", "rule-uuid")
if result.status == "fail":
print(f"{result.invalid_count} invalid records found")
```'
operationId: trigger_validity_check_api_v1_sdk_validity__asset_id___rule_id__check_post
parameters:
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
- name: rule_id
in: path
required: true
schema:
type: string
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/sdk/validity/{asset_id}/{rule_id}/results:
get:
tags:
- public-validity
summary: List Validity Check Results
description: 'List historical results for a validity rule.
Accepts asset UUID, qualified name (e.g., "postgresql.mydb"), or asset name.
**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
results = client.validity.results("asset-uuid", "rule-uuid")
for r in results:
print(f"{r.checked_at}: {r.status}")
```'
operationId: list_validity_check_results_api_v1_sdk_validity__asset_id___rule_id__results_get
parameters:
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
- name: rule_id
in: path
required: true
schema:
type: string
title: Rule Id
- 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