AnomalyArmor Assets API
The assets API from AnomalyArmor — 11 operation(s) for assets.
The assets API from AnomalyArmor — 11 operation(s) for assets.
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-assets-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 Assets API
version: 1.0.0
contact:
name: AnomalyArmor Support
url: https://anomalyarmor.ai/support
license:
name: Proprietary
description: 'Operations tagged 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: Assets
paths:
/api/v1/assets/:
post:
tags:
- Assets
summary: Create new asset
description: Create a new asset for monitoring and discovery
operationId: create_asset_api_v1_assets__post
parameters:
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AssetCreate'
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'
get:
tags:
- Assets
summary: List company assets
description: List all assets for the user's company with optional filtering and pagination
operationId: list_assets_api_v1_assets__get
parameters:
- name: company_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Company ID to filter by
title: Company Id
description: Company ID to filter by
- name: include_inactive
in: query
required: false
schema:
type: boolean
description: Include inactive assets
default: false
title: Include Inactive
description: Include inactive assets
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Limit
description: Items per page
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
description: Items to skip
default: 0
title: Offset
description: Items 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'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/assets/{asset_id}:
get:
tags:
- Assets
summary: Get asset by ID
description: Retrieve a specific asset by its ID, short UUID, name, or qualified name
operationId: get_asset_api_v1_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/AssetResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Assets
summary: Update asset
description: Update an existing asset's configuration
operationId: update_asset_api_v1_assets__asset_id__put
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/AssetUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AssetResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Assets
summary: Partially update asset
description: Partially update an existing asset. Only provided fields are modified.
operationId: patch_asset_api_v1_assets__asset_id__patch
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/AssetUpdate'
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:
- Assets
summary: Delete asset
description: Delete an asset with comprehensive cascade cleanup. Returns cleanup statistics.
operationId: delete_asset_api_v1_assets__asset_id__delete
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/assets/search:
post:
tags:
- Assets
summary: Search assets
description: Search assets with filtering and pagination
operationId: search_assets_api_v1_assets_search_post
parameters:
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AssetSearchSchema'
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/companies/{company_id}/statistics:
get:
tags:
- Assets
summary: Get asset statistics
description: Get statistics about assets for a company
operationId: get_asset_statistics_api_v1_assets_companies__company_id__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
/api/v1/assets/{asset_id}/summary:
get:
tags:
- Assets
summary: Get asset summary
description: Get summary statistics for a specific asset
operationId: get_asset_summary_api_v1_assets__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/assets/{asset_id}/intelligence/status:
get:
tags:
- Assets
summary: Get intelligence status
description: Get intelligence analysis status for a specific asset
operationId: get_intelligence_status_api_v1_assets__asset_id__intelligence_status_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/assets/{asset_id}/feature-status:
get:
tags:
- Assets
summary: Get feature status
description: Get comprehensive feature availability status for a specific asset
operationId: get_feature_status_api_v1_assets__asset_id__feature_status_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/assets/{asset_id}/intelligence:
get:
tags:
- Assets
summary: Get intelligence data
description: Get AI-generated intelligence analysis for a specific asset
operationId: get_asset_intelligence_api_v1_assets__asset_id__intelligence_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/assets/{asset_id}/security:
put:
tags:
- Assets
summary: Update asset security settings
description: Update an asset's query access level and feature modes (TECH-557)
operationId: update_asset_security_api_v1_assets__asset_id__security_put
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/AssetSecuritySettingsUpdate'
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}/settings/auto-tag:
put:
tags:
- Assets
summary: Update asset auto-tag settings
description: Enable or disable automatic tag generation for new tables (TECH-673)
operationId: update_asset_auto_tag_api_v1_assets__asset_id__settings_auto_tag_put
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/AutoTagSettingsUpdate'
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/database-types/:
get:
tags:
- Assets
summary: Get available database types
description: 'Get list of enabled database types.
SOURCE OF TRUTH: assets_database_types table (is_enabled column).
Data is seeded from database/seed_data.sql
Only returns database types where is_enabled=True.
Returns:
JSONResponse with cache headers (5 minute TTL for static data)'
operationId: get_database_types_api_v1_database_types__get
parameters:
- 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:
AssetUpdate:
properties:
name:
anyOf:
- type: string
maxLength: 255
minLength: 1
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
connection_config:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Connection Config
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
extra_params:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
title: Extra Params
type: object
title: AssetUpdate
description: Schema for updating an existing asset.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AssetSecuritySettingsUpdate:
properties:
query_access_level:
anyOf:
- type: string
- type: 'null'
title: Query Access Level
description: Query access level (schema_only, aggregates, full) or null for company default
tags_mode:
anyOf:
- type: string
- type: 'null'
title: Tags Mode
description: Tags mode (basic, improved)
intelligence_mode:
anyOf:
- type: string
- type: 'null'
title: Intelligence Mode
description: Intelligence mode (basic, improved)
type: object
title: AssetSecuritySettingsUpdate
description: Schema for updating asset security settings.
AssetResponse:
properties:
id:
type: string
title: Id
description: Public UUID of the asset
name:
type: string
title: Name
description: Display name
asset_type:
type: string
title: Asset Type
description: 'Type: table, view, etc.'
is_active:
type: boolean
title: Is Active
description: Whether monitoring is active
description:
anyOf:
- type: string
- type: 'null'
title: Description
connection_status:
anyOf:
- type: string
- type: 'null'
title: Connection Status
discovery_state:
anyOf:
- type: string
- type: 'null'
title: Discovery State
last_refresh_at:
anyOf:
- type: string
- type: 'null'
title: Last Refresh At
table_count:
anyOf:
- type: integer
- type: 'null'
title: Table Count
column_count:
anyOf:
- type: integer
- type: 'null'
title: Column Count
schema_count:
anyOf:
- type: integer
- type: 'null'
title: Schema Count
catalog_count:
anyOf:
- type: integer
- type: 'null'
title: Catalog Count
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
host:
anyOf:
- type: string
- type: 'null'
title: Host
port:
anyOf:
- type: integer
- type: 'null'
title: Port
database_name:
anyOf:
- type: string
- type: 'null'
title: Database Name
username:
anyOf:
- type: string
- type: 'null'
title: Username
ssl_enabled:
anyOf:
- type: boolean
- type: 'null'
title: Ssl Enabled
default_catalog:
anyOf:
- type: string
- type: 'null'
title: Default Catalog
http_path:
anyOf:
- type: string
- type: 'null'
title: Http Path
extra_params:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
title: Extra Params
schema_status:
anyOf:
- type: string
- type: 'null'
title: Schema Status
schema_message:
anyOf:
- type: string
- type: 'null'
title: Schema Message
schema_change_status:
anyOf:
- type: string
- type: 'null'
title: Schema Change Status
schema_change_message:
anyOf:
- type: string
- type: 'null'
title: Schema Change Message
schema_change_summary:
anyOf:
- type: string
- type: 'null'
title: Schema Change Summary
freshness_status:
anyOf:
- type: string
- type: 'null'
title: Freshness Status
freshness_message:
anyOf:
- type: string
- type: 'null'
title: Freshness Message
freshness_summary:
anyOf:
- type: string
- type: 'null'
title: Freshness Summary
lineage_status:
anyOf:
- type: string
- type: 'null'
title: Lineage Status
lineage_message:
anyOf:
- type: string
- type: 'null'
title: Lineage Message
tags_status:
anyOf:
- type: string
- type: 'null'
title: Tags Status
tags_message:
anyOf:
- type: string
- type: 'null'
title: Tags Message
tags_counts:
anyOf:
- additionalProperties:
type: integer
type: object
- type: 'null'
title: Tags Counts
intelligence_status:
anyOf:
- type: string
- type: 'null'
title: Intelligence Status
intelligence_message:
anyOf:
- type: string
- type: 'null'
title: Intelligence Message
data_quality_status:
anyOf:
- type: string
- type: 'null'
title: Data Quality Status
data_quality_message:
anyOf:
- type: string
- type: 'null'
title: Data Quality Message
query_access_level:
anyOf:
- type: string
- type: 'null'
title: Query Access Level
tags_mode:
anyOf:
- type: string
- type: 'null'
title: Tags Mode
intelligence_mode:
anyOf:
- type: string
- type: 'null'
title: Intelligence Mode
auto_tag_enabled:
type: boolean
title: Auto Tag Enabled
default: false
effective_access_level:
anyOf:
- type: string
- type: 'null'
title: Effective Access Level
features:
anyOf:
- additionalProperties:
items:
type: string
type: array
type: object
- type: 'null'
title: Features
type: object
required:
- id
- name
- asset_type
- is_active
- created_at
title: AssetResponse
description: Schema for asset responses.
AutoTagSettingsUpdate:
properties:
enabled:
type: boolean
title: Enabled
description: Whether to automatically generate tags for new tables daily
type: object
required:
- enabled
title: AutoTagSettingsUpdate
description: Schema for updating asset auto-tag settings.
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.
AssetSearchSchema:
properties:
company_id:
anyOf:
- type: integer
- type: 'null'
title: Company Id
search_term:
anyOf:
- type: string
- type: 'null'
title: Search Term
asset_type:
anyOf:
- type: string
- type: 'null'
title: Asset Type
connection_status:
anyOf:
- type: string
- type: 'null'
title: Connection Status
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
offset:
type: integer
minimum: 0.0
title: Offset
description: Items to skip
default: 0
limit:
type: integer
maximum: 100.0
minimum: 1.0
title: Limit
description: Items per page
default: 20
type: object
title: AssetSearchSchema
description: Schema for asset search parameters.
AssetCreate:
properties:
name:
type: string
maxLength: 255
minLength: 1
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
asset_type:
type: string
maxLength: 50
minLength: 1
title: Asset Type
host:
anyOf:
- type: string
- type: 'null'
title: Host
port:
anyOf:
- type: integer
maximum: 65535.0
minimum: 1.0
- type: 'null'
title: Port
database_name:
anyOf:
- type: string
- type: 'null'
title: Database Name
username:
anyOf:
- type: string
- type: 'null'
title: Username
password:
anyOf:
- type: string
- type: 'null'
title: Password
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
default_catalog:
anyOf:
- type: string
- type: 'null'
title: Default Catalog
http_path:
anyOf:
- type: string
- type: 'null'
title: Http Path
extra_params:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
title: Extra Params
connection_config:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Connection Config
type: object
required:
- name
- asset_type
title: AssetCreate
description: Schema for creating a new asset.
x-refined-from:
- anomalyarmor.ai-openapi.json
- app.anomalyarmor.ai-openapi.json
- docs.anomalyarmor.ai-openapi.json