---
title: "Bulk anomaly detection history"
method: GET
path: "/api/{org_id}/anomaly_detection/history"
tags: ["Anomaly Detection"]
---

# Bulk anomaly detection history

`GET /api/{org_id}/anomaly_detection/history`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/anomaly_detection/history`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/anomaly_detection/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns recent detection history for all anomaly configs in one request.

## Path parameters

- `org_id` string, required

## Query parameters

- `limit` integer
- `start_time` integer
- `end_time` integer

## Response `200`

Success

## Other responses

- `400`: start_time is not before end_time
- `403`: The caller's alert listing was refused
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
