# chatForRecord

The chatForRecord query in Bunny's GraphQL API, with its arguments, return type and an example request.

Scope required:

For a complete list of possible response fields see the [Chat](https://docs.bunny.com/developer/api-reference/types/chat) type.

```graphql
query chatForRecord ($appRoute: String!) {
  chatForRecord (appRoute: $appRoute) {
    createdAt
    id
    mode
    title
    updatedAt
  }
}
```

## Arguments

| Name | Type | Description |
| appRoute | String | The app route of the record page, as chatCreate received it |

## Response

- [Chat](https://docs.bunny.com/developer/api-reference/types/chat)

---

Source: https://docs.bunny.com/developer/api-reference/queries/chatforrecord. Index of every page: https://docs.bunny.com/llms.txt
