Get Threads
POST/chat-svc/threads
Fetch all chat threads associated with a specific user
Request
- application/json
Body
Get Threads Request
object
Responses
- 200
- 400
- 401
- 500
Threads successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
threads
object[]
createdAt string
id string
title string
Title of the thread.
topicIds string[]
TopicIds defines which topics the thread belongs to. Topics can roughly be thought of as tags for threads.
updatedAt string
userIds string[]
UserIds the ids of the users who can see this thread.
{
"threads": [
{
"createdAt": "string",
"id": "string",
"title": "string",
"topicIds": [
"string"
],
"updatedAt": "string",
"userIds": [
"string"
]
}
]
}
Invalid JSON
- application/json
- Schema
Schema
string
Unauthorized
- application/json
- Schema
Schema
string
Internal Server Error
- application/json
- Schema
Schema
string
Loading...