# chat.gel.assistant.conversationRef

> A single user chat entry, kept in their settings space. The record key is the chat's space key. When a chat is changed, update its entry with a new updatedAt so that the appview notices the change.

- Kind: record
- Record key: tid
- Authority: assistant.gel.chat
- Lexicon: 1
- Published by [gel.chat](https://lexicon.garden/identity/did:plc:k2csuyvih44bjf2lex73x56v), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.conversationRef)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.conversationRef/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.conversationRef/analytics)

## Record (`chat.gel.assistant.conversationRef`)

Type: record · key tid

### Properties

- `conversation` (string · space-ref, required): The conversation's space URI.
  - Constraints: maxLength: 1024
- `sealed` (ref): When the conversation is encrypted, holds title and tags. Those fields are then left out of the record.
  - Reference: `chat.gel.assistant.defs#encryptedContent`
- `tags` (array): The user's tags for organizing their chats.
  - Constraints: maxLength: 32
  - `items` (string)
    - Constraints: maxLength: 640, maxGraphemes: 64
- `title` (string): Copy of the title in the conversation's info record.
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `updatedAt` (string · datetime, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single user chat entry, kept in their settings space. The record key is the chat's space key. When a chat is changed, update its entry with a new updatedAt so that the appview notices the change.",
      "key": "tid",
      "record": {
        "properties": {
          "conversation": {
            "description": "The conversation's space URI.",
            "format": "space-ref",
            "maxLength": 1024,
            "type": "string"
          },
          "sealed": {
            "description": "When the conversation is encrypted, holds title and tags. Those fields are then left out of the record.",
            "ref": "chat.gel.assistant.defs#encryptedContent",
            "type": "ref"
          },
          "tags": {
            "description": "The user's tags for organizing their chats.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 32,
            "type": "array"
          },
          "title": {
            "description": "Copy of the title in the conversation's info record.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "conversation",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "chat.gel.assistant.conversationRef",
  "lexicon": 1
}
```
