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

# Get Conversation

> Fetch chronological user and assistant messages from an existing Grok conversation.

Retrieve normalized messages from a Grok conversation created by `/ask`.

**Credits:** 3

## Authorization

**X-API-Key** `string` *required*

Your ScrapeBadger API key.

## Path Parameters

**conversation\_id** `string` *required*

The complete opaque ID returned by `/ask`, for example `187055:2121372254449864788`.

## Response

**conversation\_id** `string`

The requested conversation ID.

**messages** `Message[]`

Chronological messages with `id`, `role`, `content`, `file_attachments`, `created_utc` (Unix seconds), and `created_at` (ISO-8601 UTC).

**count** `integer`

Number of returned messages.

**next\_cursor** `string | null`

Upstream pagination cursor.

```json Response theme={null}
{
  "conversation_id": "187055:2121372254449864788",
  "messages": [
    {
      "id": "2121372258530926592",
      "role": "user",
      "content": "What is the capital of Lithuania? Answer in one sentence.",
      "file_attachments": [],
      "created_utc": 1794609534.294,
      "created_at": "2026-11-13T22:38:54.294000Z"
    },
    {
      "id": "2121372258530926593",
      "role": "assistant",
      "content": "The capital of Lithuania is Vilnius.",
      "file_attachments": [],
      "created_utc": 1794609534.294,
      "created_at": "2026-11-13T22:38:54.294000Z"
    }
  ],
  "count": 2,
  "next_cursor": "CycRAAAAAAwABAqpBh1woNRiGqAAChRBAAABodcQVVYAAA=="
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.