---
title: "Trigger snapshot collection for real-data training (admin only)"
method: POST
path: "/api/v1/anomaly/collect"
tags: ["UAD - Universal Anomaly Detector"]
---

# Trigger snapshot collection for real-data training (admin only)

`POST /api/v1/anomaly/collect`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/anomaly/collect`
- Auth: none declared

Collect UAD snapshots at monitoring locations and store for training.
If lat/lon provided, collects at that location only.

## Headers

- `X-Admin-Token` string

## Request body

- BodyUadCollectApiV1AnomalyCollectPost
  - `lat` number
  - `lon` number

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
