Get a chat
The chat's questions and answers in order (messages[]: q, text, blocks, refs — with nav for the app screen —, mode, model, at).
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope:
crm.readPath parameters
idintegerrequiredChat id.
Errors
| HTTP | error | Meaning |
|---|---|---|
404 | not_found | Record not found. |
Request
curl https://ornek.solk.app/api/v1/chats/4 \
-H "Authorization: Bearer $SOLK_API_KEY"const res = await fetch("https://ornek.solk.app/api/v1/chats/4", {
headers: {
Authorization: `Bearer ${process.env.SOLK_API_KEY}`,
},
});
const data = await res.json();import os, requests
r = requests.get(
"https://ornek.solk.app/api/v1/chats/4",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
)
print(r.json())Response
{
"chat": {
"created_at": "2026-10-09T14:42:45",
"id": 4,
"n": 1,
"star": false,
"title": "Bu hafta geciken aksiyonlarım neler",
"updated_at": "2026-10-09T14:42:45"
},
"messages": [
{
"at": "2026-10-09T14:42:45",
"blocks": [
{
"muted": false,
"spans": [
{
"b": true,
"text": "Gecikmiş 2 görev"
}
],
"t": "p"
}
],
"mode": "kural",
"model": "",
"q": "Bu hafta geciken aksiyonlarım neler?",
"refs": [
{
"kind": "task",
"label": "Fiyat listesini güncelleyip gönder",
"nav": {
"id": 17,
"kind": "task",
"screen": "action"
},
"url": "/action/task/17"
}
],
"text": "**Gecikmiş 2 görev** (sizin)\n- [Fiyat listesini güncelleyip gönder](/action/task/17) · 03.10.2026 · Hanımeli Etiket San. Tic. Ltd. Şti.\n- [Yeni hat devreye alma toplantısı](/action/task/8) · 07.10.2026 · Işıltı Film A.Ş."
}
],
"ok": true
}Example responses were captured from a v51 installation running sample data; lists are shortened to two items.