---
title: "Retrieve a logged conversation"
description: "Retrieve one logged conversation in full: every question and answer with its sources, mode, cost, duration and the thumb with its comment. Free."
canonical: "https://lookio.app/docs/api/logs/get-log-conversation"
updated: "2026-10-17"
---

# Retrieve a logged conversation

Requires `assistants:write`.

The full transcript of a conversation from any channel. Each answer carries the passages it relied on, the query mode, the credits it cost, how long it took in `duration_ms`, and the `rating` and `rating_comment` it received. A member's personal chat is not here and answers `resource_not_found`, as does a conversation that expired or was deleted.

The same permissions as the list apply: a person needs the right to edit assistants, and an API key reads the conversations of its own assistants. Find an id with [List the workspace's conversation logs](/docs/api/logs/list-log-conversations).

```http
GET https://api.lookio.app/v1/logs/conversations/{conversation_id}
```

## Authorizations

- `Authorization` (bearer, in header, required)

## Path parameters

- `conversation_id` (`string`, required, pattern: `^cnv_[abcdefghjkmnpqrstuvwxyz23456789]{12}$`)

## Response

**200**: Retrieve a logged conversation

- `data` (`object`, required)
- `data.id` (`string`, required, pattern: `^cnv_[abcdefghjkmnpqrstuvwxyz23456789]{12}$`)
- `data.channel` (`enum<string>`, required, one of: `widget, api, mcp`): `widget`: a visitor on your website. `api`: an API key through REST, the CLI or the SDK. `mcp`: an API key through the MCP server.
- `data.title` (`string`, required): The first question.
- `data.assistant` (`object`, required)
- `data.assistant.id` (`string`, required)
- `data.assistant.name` (`string,null`, required): Null when the assistant was deleted.
- `data.widget` (`object | null`, required): The widget, for the `widget` channel.
- `data.widget.id` (`string`, required)
- `data.widget.name` (`string`, required)
- `data.api_key` (`object | null`, required): The API key, for the `api` and `mcp` channels.
- `data.api_key.id` (`string`, required)
- `data.api_key.name` (`string,null`, required): Null once the key is deleted.
- `data.end_user` (`string,null`, required): Who was asking: a widget visitor's random id, or the `end_user` the product sent. Null when an API key sent none.
- `data.message_count` (`integer`, required): Questions and answers together.
- `data.credits` (`integer`, required): What this conversation's answers cost.
- `data.thumbs_up` (`integer`, required)
- `data.thumbs_down` (`integer`, required)
- `data.created_at` (`string`, required)
- `data.updated_at` (`string`, required): The last activity. Conversations are listed by it, latest first.
- `data.locked` (`boolean`, required): Older than the plan keeps conversations readable (7 days on Free, 90 on Starter, 1 year on Pro, from the last activity). Its text is hidden, not yet deleted: `title` is then a date and `messages` is empty, and a higher plan shows it again.
- `data.messages` (`object[]`, required)
- `data.messages.id` (`string`, required)
- `data.messages.role` (`enum<string>`, required, one of: `user, assistant`)
- `data.messages.content` (`string`, required)
- `data.messages.citations` (`object[]`, required): The passages the answer relied on.
- `data.messages.citations.resource_id` (`string`, required): The cited resource. Empty for a public assistant of another workspace: its resources stay its own.
- `data.messages.citations.title` (`string`, required)
- `data.messages.citations.text` (`string`, required): The passage the answer relies on.
- `data.messages.citations.n` (`integer`): The number the answer cites it by, as [1].
- `data.messages.citations.section` (`string[]`)
- `data.messages.citations.page` (`integer`)
- `data.messages.citations.url` (`string`)
- `data.messages.citations.source` (`string`): The cited resource's source, when it has one.
- `data.messages.credit_cost` (`integer | null`, required): Answers only: what it cost.
- `data.messages.mode` (`string,null`, required): Answers only: the query mode.
- `data.messages.duration_ms` (`integer | null`, required): Answers only: how long it took to write.
- `data.messages.rating` (`enum<string> | null`, required): The thumb on an answer, from the visitor or forwarded by your product.
- `data.messages.rating_comment` (`string,null`, required)
- `data.messages.created_at` (`string`, required)
- `request_id` (`string`, required)

```json
{
  "data": {
    "id": "<string>",
    "channel": "widget",
    "title": "<string>",
    "assistant": {
      "id": "<string>",
      "name": null
    },
    "widget": {
      "id": "<string>",
      "name": "<string>"
    },
    "api_key": {
      "id": "<string>",
      "name": null
    },
    "end_user": null,
    "message_count": 123,
    "credits": 123,
    "thumbs_up": 123,
    "thumbs_down": 123,
    "created_at": "<string>",
    "updated_at": "<string>",
    "locked": true,
    "messages": [
      {
        "id": "<string>",
        "role": "user",
        "content": "<string>",
        "citations": [
          {
            "resource_id": "<string>",
            "title": "<string>",
            "text": "<string>",
            "n": 123,
            "section": [
              "<string>"
            ],
            "page": 123,
            "url": "<string>",
            "source": "<string>"
          }
        ],
        "credit_cost": 123,
        "mode": null,
        "duration_ms": 123,
        "rating": "up",
        "rating_comment": null,
        "created_at": "<string>"
      }
    ]
  },
  "request_id": "<string>"
}
```

**401**: Possible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key

- `error` (`object`, required)
- `error.type` (`string`, required)
- `error.code` (`string`, required)
- `error.message` (`string`, required)
- `error.param` (`string`)
- `error.docs_url` (`string`, required)
- `error.action_url` (`string<uri>`)
- `request_id` (`string`, required)

```json
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "docs_url": "<string>",
    "action_url": "<string>"
  },
  "request_id": "<string>"
}
```

**403**: Possible codes: insufficient_scope, feature_not_available, admin_required, permission_denied

- `error` (`object`, required)
- `error.type` (`string`, required)
- `error.code` (`string`, required)
- `error.message` (`string`, required)
- `error.param` (`string`)
- `error.docs_url` (`string`, required)
- `error.action_url` (`string<uri>`)
- `request_id` (`string`, required)

```json
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "docs_url": "<string>",
    "action_url": "<string>"
  },
  "request_id": "<string>"
}
```

**404**: Possible codes: resource_not_found

- `error` (`object`, required)
- `error.type` (`string`, required)
- `error.code` (`string`, required)
- `error.message` (`string`, required)
- `error.param` (`string`)
- `error.docs_url` (`string`, required)
- `error.action_url` (`string<uri>`)
- `request_id` (`string`, required)

```json
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "docs_url": "<string>",
    "action_url": "<string>"
  },
  "request_id": "<string>"
}
```

**429**: Possible codes: rate_limited

- `error` (`object`, required)
- `error.type` (`string`, required)
- `error.code` (`string`, required)
- `error.message` (`string`, required)
- `error.param` (`string`)
- `error.docs_url` (`string`, required)
- `error.action_url` (`string<uri>`)
- `request_id` (`string`, required)

```json
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "docs_url": "<string>",
    "action_url": "<string>"
  },
  "request_id": "<string>"
}
```

**500**: Possible codes: internal_error

- `error` (`object`, required)
- `error.type` (`string`, required)
- `error.code` (`string`, required)
- `error.message` (`string`, required)
- `error.param` (`string`)
- `error.docs_url` (`string`, required)
- `error.action_url` (`string<uri>`)
- `request_id` (`string`, required)

```json
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "docs_url": "<string>",
    "action_url": "<string>"
  },
  "request_id": "<string>"
}
```

**Example request**

```bash
curl --request GET \
  --url 'https://api.lookio.app/v1/logs/conversations/<conversation_id>' \
  --header 'Authorization: <api-key>'
```
