# Chat pricing + whether transcripts are stored

> GET /chat/config. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/chat/get-chat-config-chat-pricing-whether-transcripts-are-stored

GET https://server.heyrik.com/api/v1/chat/config

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

credits_per_message is what each reply costs. archive_configured=false means transcripts can't be exported to storage yet (GET /chat/sessions/{id}/transcript won't return a link).

## Request example

```sh
curl https://server.heyrik.com/api/v1/chat/config \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```

## Response example

```json
{ "data": { "credits_per_message": 1, "configured": true, "archive_configured": false, "archive_auto": true } }
```
