# Retrieve a conversation item

```{raw} html
<div class="mo-api-page-show-toc" aria-hidden="true"></div>
```

Retrieve one item summary from a local conversation.

```text
GET https://token.moi.matrixorigin.cn/v1/conversations/{conversation_id}/items/{item_id}
```

## Before you begin

1. Prepare a [personal access token](../../../../guides/billing/credentials.md#personal-access-token) with Genesis access.
2. Use the credential used to [Create a conversation](create-conversation.md), and choose a local conversation that has not been deleted or bound to an upstream model.
3. Choose an item returned by [Create a conversation item](create-item.md) or [List conversation items](list-items.md).

## Request example

Replace `$GENESIS_ACCESS_TOKEN` and `$CONVERSATION_ID` with your personal access token and the selected conversation ID.

Replace `$ITEM_ID` with the selected item ID.

```bash
curl -X GET "https://token.moi.matrixorigin.cn/v1/conversations/$CONVERSATION_ID/items/$ITEM_ID" \
  -H "Authorization: Bearer $GENESIS_ACCESS_TOKEN"
```

## Path parameters

::::{div} mo-api-parameter-table

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `conversation_id` | string | Yes | The `id` returned when creating the conversation. |
| `item_id` | string | Yes | The target item’s `id`; it must belong to the specified conversation. |

::::

## Successful response

A successful request returns the selected item summary.

Local items retain summaries such as type, role, and status. Store message bodies in your application.

:::::::{div} mo-api-tabs mo-api-response-tabs
::::::{tab-set}
:::::{tab-item} Response example

```json
{
  "id": "$ITEM_ID",
  "object": "conversation.item",
  "conversation_id": "$CONVERSATION_ID",
  "type": "message",
  "role": "user",
  "status": "active",
  "created_at": 1780000000
}
```

:::::
:::::{tab-item} Fields

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Item identifier. |
| `object` | string | Always `conversation.item`. |
| `conversation_id` | string | Identifier of the conversation containing this item. |
| `type` | string | Item type, such as `message`. |
| `role` | string | Item role, such as `user`. |
| `status` | string | Item status; defaults to `active` when omitted. |
| `created_at` | integer | Creation time as a Unix timestamp in seconds. |

:::::
::::::
:::::::

## Error response

The request returns `404` when the resource is missing, deleted, or inaccessible to the current credential.

:::::::{div} mo-api-tabs mo-api-response-tabs
::::::{tab-set}
:::::{tab-item} Response example

```json
{
  "error": {
    "message": "conversation item not found",
    "type": "conversation_item_not_found",
    "code": "conversation_item_not_found"
  }
}
```

:::::
:::::{tab-item} Fields

| Field | Type | Description |
| --- | --- | --- |
| `error` | object | Error details. |
| `error.message` | string | Error description. |
| `error.type` | string | Error type. |
| `error.code` | string | Error code. |

:::::
::::::
:::::::

## Next steps

When the item is no longer needed, use its `id` to [Delete a conversation item](delete-item.md).
