---
title: "Trigger Analysis"
method: POST
path: "/api/v1/intelligence/analyze"
tags: ["intelligence-ddd", "Intelligence"]
---

# Trigger Analysis

`POST /api/v1/intelligence/analyze`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/intelligence/analyze`
- Auth: none declared

Trigger intelligence analysis for an asset.

## Headers

- `Authorization` string

## Request body

- IntelligenceAnalysisRequest: Request to run intelligence analysis.
  - `asset_id` string, uuid, required: Asset public ID (UUID) to analyze
  - `analysis_type` 'insight_generation' | 'tag_suggestion' | 'schema_analysis' | 'data_quality' | 'pattern_discovery' | 'recommendation', required: Types of intelligence analysis that can be performed.
  - `force_refresh` boolean: Force refresh of cached results
  - `include_catalogs` string, nullable: Comma-separated list of catalogs to include (Databricks/Snowflake)
  - `include_schemas` string, nullable: Comma-separated list of schemas to include
  - `include_tables` string, nullable: Comma-separated list of tables to include

## Response `202`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
