| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
query($id: ID!) { conversation(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
clientId | ID | ID of the client (pet owner) |
closed | Boolean | Filter by closed status |
excludeEmpty | Boolean | Exclude empty |
excludeProtocols | Boolean | Exclude protocols |
locationId | ID | ID of the location |
onlyViewer | Boolean | Only viewer |
patientId | ID | ID of the patient |
start | DateTime | Starting point for the range |
query( $clientId: ID, $closed: Boolean, $excludeEmpty: Boolean, $excludeProtocols: Boolean, $locationId: ID, $onlyViewer: Boolean, $patientId: ID, $start: DateTime) { conversations( clientId: $clientId, closed: $closed, excludeEmpty: $excludeEmpty, excludeProtocols: $excludeProtocols, locationId: $locationId, onlyViewer: $onlyViewer, patientId: $patientId, start: $start ) { id # Add other fields you need }}{ "clientId": "1", "closed": true, "excludeEmpty": true, "excludeProtocols": true, "locationId": "1", "onlyViewer": true, "patientId": "1", "start": {}}| Argument | Type | Description |
|---|---|---|
after | String | Cursor for forward pagination |
before | String | Cursor for backward pagination |
clientId | ID | ID of the client (pet owner) |
closed | Boolean | Filter by closed status |
excludeEmpty | Boolean | Exclude empty |
excludeProtocols | Boolean | Exclude protocols |
limit | Int | Maximum number of results to return |
locationId | ID | ID of the location |
onlyViewer | Boolean | Only viewer |
patientId | ID | ID of the patient |
start | DateTime | Starting point for the range |
query( $clientId: ID, $closed: Boolean, $excludeEmpty: Boolean, $excludeProtocols: Boolean, $limit: Int, $locationId: ID, $onlyViewer: Boolean, $patientId: ID, $start: DateTime) { conversationsPaginated( clientId: $clientId, closed: $closed, excludeEmpty: $excludeEmpty, excludeProtocols: $excludeProtocols, limit: $limit, locationId: $locationId, onlyViewer: $onlyViewer, patientId: $patientId, start: $start ) { id # Add other fields you need }}{ "clientId": "1", "closed": true, "excludeEmpty": true, "excludeProtocols": true, "limit": 1, "locationId": "1", "onlyViewer": true, "patientId": "1", "start": {}}| Argument | Type | Description |
|---|---|---|
locationIdrequired | ID! | ID of the location |
query($locationId: ID!) { openConversationsCount(locationId: $locationId) { id # Add other fields you need }}{ "locationId": "1"}| Argument | Type | Description |
|---|---|---|
limit | Int | Maximum number of results to return |
query($limit: Int) { unreadConversations(limit: $limit) { id # Add other fields you need }}{ "limit": 1}query { unreadConversationsCount { id # Add other fields you need }}