• Introduction
    • Getting Started
    • Authentication
  • Guide
    • Common Code Patterns
    • Metrics
  • Data
  • Deal Management
  • User
    • POSTClient Access Token
  • Chat
LogoLogo
ChatThread

Get Thread

GET
/api/v1/group/:group_id/thread/:thread_id
GET
/api/v1/group/:group_id/thread/:thread_id
1curl https://app.termina.ai/api/v1/group/1/thread/1 \
2 -H "Authorization: Bearer <token>"
Try it
200Retrieved
1{
2 "id": 1,
3 "group_id": 1,
4 "files": [
5 {
6 "name": "string",
7 "id": 1,
8 "type": "deck",
9 "created_at": "2024-01-15T09:30:00Z",
10 "updated_at": "2024-01-15T09:30:00Z",
11 "is_archived": true
12 }
13 ],
14 "messages": [
15 {
16 "id": 1,
17 "content": "Let's analyze the Q4 numbers",
18 "extra": {},
19 "created_at": "2024-01-15T09:30:00Z",
20 "updated_at": "2024-01-15T09:30:00Z",
21 "is_archived": true
22 }
23 ],
24 "title": "string",
25 "extra": {},
26 "created_at": "2024-01-15T09:30:00Z",
27 "updated_at": "2024-01-15T09:30:00Z",
28 "is_archived": true
29}
Basic implementation to get a thread with its files and messages
Was this page helpful?
Previous

Delete Thread

Next
Built with
Delete Thread
Basic implementation to get a thread with its files and messages

Path parameters

group_idintegerRequired
thread_idintegerRequired

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Response

Successful Response
idinteger
group_idinteger
fileslist of objects
messageslist of objects
titlestring or null<=64 characters
The title of the thread
extramap from strings to any or null
Extra metadata for the thread
created_atstring or nullformat: "date-time"
updated_atstring or nullformat: "date-time"
is_archivedboolean or null

Errors

Successful Response

Bearer authentication of the form Bearer <token>, where token is your auth token.