---
title: "Get Conversation"
method: GET
path: "/api/v1/agent/conversations/{thread_id}"
---

# Get Conversation

`GET /api/v1/agent/conversations/{thread_id}`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/agent/conversations/{thread_id}`
- Auth: none declared

One conversation with every run in it, oldest first, each as GET
/agent/{id} answers. 410 once it is past its keep date.

## Path parameters

- `thread_id` string, required

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Response `200`

Successful Response

- AgentConversationDetail
  - `id` string, required
  - `title` string, required
  - `messages` integer, required
  - `status` string, required
  - `lastRunId` string, required
  - `model` string, required
  - `creditsUsed` integer, required
  - `createdAt` string, nullable
  - `updatedAt` string, nullable
  - `expiresAt` string, nullable
  - `runs` AgentResponse[], required
    - `id` string, required
    - `kind` string, required
    - `status` string, required
    - `prompt` string, required
    - `params` object, required
    - `data` union
      - object
      - unknown[]
        - unknown
    - `fieldSources` object
    - `sources` AgentSource[], required
      - `url` string, required
      - `title` string
      - `pageId` string
      - `provider` string, nullable
    - `creditsUsed` integer, required
    - `budget` integer, required
    - `budgetLimited` boolean, required
    - `tokens` object, required
    - `steps` integer, required
    - `model` string, required
    - `threadId` string, required
    - `continuesRunId` string, nullable
    - `continuedBy` string, nullable
    - `followsRunId` string, nullable
    - `followedBy` string, nullable
    - `stopReason` string, required
    - `error` string, required
    - `doing` object, nullable
    - `next` string, nullable
    - `createdAt` string, nullable
    - `startedAt` string, nullable
    - `finishedAt` string, nullable
    - `expiresAt` string, nullable
    - `request_id` string, required
    - `webhookSecret` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mesharc/apis/mesharc-api.md) · [All operations](https://skmtc.dev/mesharc/apis/mesharc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mesharc/apis/mesharc-api/revisions/d63cc02dfec2?raw)
