---
title: "get conversation detail"
method: GET
path: "/api/v1/conversation/detail"
tags: ["conversation"]
---

# get conversation detail

`GET /api/v1/conversation/detail`

get conversation detail

## Query parameters

- `id` string, required
- `kb_id` string, required

## Response `200`

OK

- object
  - `code` integer
  - `data` DomainConversationDetailResp
    - `app_id` string
    - `created_at` string
    - `id` string
    - `ip_address` DomainIPAddress
      - `city` string
      - `country` string
      - `ip` string
      - `province` string
    - `messages` DomainConversationMessage[]
      - `app_id` string
      - `completion_tokens` integer
      - `content` string
      - `conversation_id` string
      - `created_at` string
      - `id` string
      - `image_paths` string[]
      - `info` DomainFeedBackInfo
        - `feedback_content` string
        - `feedback_type` string
        - `score` 1 | -1
      - `kb_id` string
      - `model` string
      - `parent_id` string — parent_id
      - `prompt_tokens` integer
      - `provider` 'BaiZhiCloud' | 'BaiZhiCloudModelStore'
      - `remote_ip` string — stats
      - `role` 'assistant' | 'user' | 'system' | 'tool'
      - `total_tokens` integer
    - `references` DomainConversationReference[]
      - `app_id` string
      - `conversation_id` string
      - `name` string
      - `node_id` string
      - `url` string
    - `remote_ip` string
    - `subject` string
  - `message` string
  - `success` boolean

---

[API](https://skmtc.dev/chaitin/apis/panda-wiki-api.md) · [All operations](https://skmtc.dev/chaitin/apis/panda-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/panda-wiki-api/revisions/c088839a56db/schema)
