---
title: "Get Chat History"
description: "Get a list of recent AI Chat conversations."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.speakai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Chat History

Use the Speak AI MCP server tool `get_chat_history` to get a list of recent AI Chat
conversations.

## What does it do?

Get a list of recent AI Chat conversations. Returns conversation summaries with
promptIds that can be used to continue conversations via `ask_ai_chat` or retrieve
full messages via `get_chat_messages`.

## Parameters

`get_chat_history` takes 1 parameter, all of them optional.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | number | No | Number of recent conversations to return (default: 10) |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for `get_chat_history`.

- Only reads data. Does not modify your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call is safe.
- Stays inside Speak AI. Does not reach other systems.

## Related

- [Ask AI Chat](/mcp/tools/magic-prompt/) lists the rest of the Ask AI Chat
  category.
- [Tool reference](/mcp/tools/) lists every Speak AI MCP server tool.
- [MCP server](/mcp/) covers setup, supported clients, and what agents can do once
  connected.

Source: https://docs.speakai.co/mcp/tools/magic-prompt/get_chat_history/index.mdx
