<span id="模型会话"></span>

# Model conversations

Choose an API for the resource you need to operate on, then prepare the identity, IDs, and parameters listed on its action page.

<span id="选择任务"></span>

## Choose a task

| Task | Page | Description |
| --- | --- | --- |
| Add an LLM message tag | [Add an LLM message tag](add-message-tag.md) | Add a source/name tag relationship to the specified message. |
| Add an LLM conversation tag | [Add an LLM conversation tag](add-session-tag.md) | Add a source/name tag relation to the specified conversation. |
| Append saved response text | [Append saved response text](append-response.md) | Append text to an existing modified_response. |
| Save an LLM session message | [Save an LLM session message](create-message.md) | Save one message record in the current user's session. |
| Create an LLM session record | [Create an LLM session record](create-session.md) | Save standalone session records for the current user. |
| Create a Workspace LLM tag | [Create a Workspace LLM tag](create-tag.md) | Create or retrieve a tag definition with the same source/name in a Workspace. |
| Delete an LLM session record | [Delete an LLM session record](delete-session.md) | Delete a specified session record for the current user. |
| Delete a workspace LLM tag | [Delete a workspace LLM tag](delete-tag.md) | Delete a tag definition and its session/message relationships in the workspace. |
| Get LLM message details | [Get LLM message details](get-message.md) | Read the current user's message record by message ID. |
| Get LLM session details | [Get LLM session details](get-session.md) | Read one session record for the current user. |
| Get the latest LLM message ID | [Get the latest LLM message ID](latest-message.md) | Query the maximum message ID in the specified conversation for the current user. |
| Get LLM message tags | [Get LLM message tags](list-message-tags.md) | Read LLM tag relationships for a message. |
| List LLM conversation messages | [List LLM conversation messages](list-messages.md) | Read the current user's conversation messages using a message ID cursor. |
| List LLM session tags | [List LLM session tags](list-session-tags.md) | Read LLM tag relationships for the specified session. |
| List LLM session records | [List LLM session records](list-sessions.md) | Read the current user's session records with page-number pagination. |
| List workspace LLM tags | [List workspace LLM tags](list-tags.md) | Read source/name LLM tag definitions in the workspace. |
| Replace saved response text | [Replace saved response text](modify-response.md) | Replace modified_response text in a message record. |
| Workspace LLM conversation objects and calling rules | [Workspace LLM conversation objects and calling rules](objects.md) | These APIs maintain standalone sessions, message records, and their tags. |
| Remove an LLM message tag | [Remove an LLM message tag](remove-message-tag.md) | Remove one message tag relationship while retaining the tag definition. |
| Remove an LLM conversation tag | [Remove an LLM conversation tag](remove-session-tag.md) | Remove one tag relation from a conversation while retaining the tag definition. |
| Update an LLM session record | [Update an LLM session record](update-session.md) | Update a session title or configuration text with an optional original-title condition. |

```{toctree}
:hidden:
:maxdepth: 1

Add an LLM message tag <add-message-tag>
Add an LLM conversation tag <add-session-tag>
Append saved response text <append-response>
Save an LLM session message <create-message>
Create an LLM session record <create-session>
Create a Workspace LLM tag <create-tag>
Delete an LLM session record <delete-session>
Delete a workspace LLM tag <delete-tag>
Get LLM message details <get-message>
Get LLM session details <get-session>
Get the latest LLM message ID <latest-message>
Get LLM message tags <list-message-tags>
List LLM conversation messages <list-messages>
List LLM session tags <list-session-tags>
List LLM session records <list-sessions>
List workspace LLM tags <list-tags>
Replace saved response text <modify-response>
Workspace LLM conversation objects and calling rules <objects>
Remove an LLM message tag <remove-message-tag>
Remove an LLM conversation tag <remove-session-tag>
Update an LLM session record <update-session>
```
