Detect anomalies in a table
Scan a table for unusual patterns: volume drops/spikes, data gaps, value concentration, high null rates, stale data. Severity-ranked. Tables > 100k rows use a sampled path (~5%) — alerts may carry sampled: true. Quota: 1 capability unit.
Request
- Base URL: https://data.thinair.co
- URL: https://data.thinair.co/v1/tables/{t}/anomalies
- Auth: API key in header x-api-key
Path parameters
Table name. Accepts table, schema.table, or database.schema.table forms — same wire shape the MCP detect_anomalies tool accepts. Use ?connection= to override the tenant's default connection.
Query parameters
Connection name (display) or id (uuid). Resolved via name match first, then id match. Call /v1/connections to list available names.
Column to focus the scan on. Today maps to the date-trend column for volume / staleness anomalies; the post-migration spec broadens it to a per-column allowlist.
ISO-8601 cutoff. Anomalies older than this are excluded. Today the underlying scan uses a fixed 14-day window; the value is reserved for the migrated implementation.
Minimum severity to include. low returns everything; medium drops low; high drops low and medium.
Response
Anomaly scan result.
Changes
No recorded changes to this operation across all 1 revision of this API.