---
title: "Get History"
method: GET
path: "/api/ai-agents/history"
tags: ["ai-agents", "ai-agents"]
---

# Get History

`GET /api/ai-agents/history`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/ai-agents/history`
- Auth: none declared

## Query parameters

- `thread_id` integer, nullable
- `status` string, nullable
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- AutoReplyHistoryItem[]
  - `id` integer, required
  - `thread_id` integer, required
  - `thread_title` string, nullable
  - `trigger_text` string, nullable
  - `trigger_sender_name` string, nullable
  - `response_text` string, required
  - `trigger_type` string, required
  - `status` string, required
  - `files_attached` integer
  - `latency_ms` integer, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
