---
title: "Get an assistant conversation"
method: POST
path: "/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/conversation"
tags: ["Docs7 Analytics"]
---

# Get an assistant conversation

`POST /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/conversation`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/conversation`
- Auth: HTTP bearer

The turns of one recorded assistant conversation. The id comes from a `questions` record of explore. Any member.

## Path parameters

- `teamspaceId` string, uuid, required
- `siteId` string, uuid, required

## Request body

- object
  - `conversationId` string, required
  - `previews` boolean, required: Include branch preview traffic.

## Response `200`

The conversation

- object
  - `data` Docs7Conversation, required
    - `turns` object[], required
      - `id` string
      - `time` string
      - `question` string
      - `questionTruncated` boolean
      - `answer` string
      - `status` 'complete' | 'interrupted' | 'failed'
      - `truncated` boolean
      - `path` string
      - `host` string
    - `hasEarlierTurns` boolean, required
    - `historyDays` 7 | 90, required

## Other responses

- `400`: Invalid body
- `401`: Missing or invalid bearer
- `403`: Not a member, missing role, or an API key of another teamspace
- `404`: No such site in this teamspace
- `500`: Internal error
- `503`: Analytics is not configured or the read failed

## Changes

- **2026-10-22** `e17589fd8767`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/sites/:siteId/analytics/conversation/post.md)

---

[API](https://skmtc.dev/context7/apis/context7-public-api.md) - [All operations](https://skmtc.dev/context7/apis/context7-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/context7/apis/context7-public-api/revisions/945f7834fa8c?raw)
