# chat.gel.assistant.requestSync

> Trigger a sync of the caller's chats from their PDS, and reply to any pending generation requests.

- Kind: procedure
- 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.requestSync)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.requestSync/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.requestSync/analytics)

## Procedure (`chat.gel.assistant.requestSync`)

Type: procedure · POST

### Input (application/json)

- `conversation` (string · space-ref): A conversation's space URI.
  - Constraints: maxLength: 1024

### Errors

- `UnknownConversation`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Trigger a sync of the caller's chats from their PDS, and reply to any pending generation requests.",
      "errors": [
        {
          "name": "UnknownConversation"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "conversation": {
              "description": "A conversation's space URI.",
              "format": "space-ref",
              "maxLength": 1024,
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "chat.gel.assistant.requestSync",
  "lexicon": 1
}
```
