⌘
K
GrokAI
About
Ask Grok
Demo
Swagger-UI
GrokAI API
Authentication
User
Quota
Collections
Documents
Conversations
Messages
Docs powered by
Archbee
GrokAI API
Conversations
List conversations
GET
Try it
List all conversations within a collection.
Authentication
X-API-Key
apiKey
Query Parameters
pageSize
integer
pageToken
string
Responses
200
ConversationList
total
integer
nextPageToken
string
conversations
Conversation[]
default
Default error response
ErrorResponse
code
integer
*
message
string
*
status
string
*
data
object
Curl
JS
Ruby
Python
1
curl
--location
--globoff
'https://api.askgrok.ai/collections/{cId}/conversations'
\
2
--header
'Accept: application/json'
\
3
--header
'Content-Type: application/json'
curl --location --globoff 'https://api.askgrok.ai/collections/{cId}/conversations' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
Responses
200
default
1
{
2
"total"
:
10
,
3
"nextPageToken"
:
"next-page-token"
,
4
"conversations"
:
[
5
{
6
"id"
:
"a1b2c3d4e5"
,
7
"createdAt"
:
"2020-01-01T01:01:01Z"
,
8
"createdBy"
:
"user-1234"
,
9
"name"
:
""
,
10
"description"
:
""
,
11
"totalMessages"
:
0
12
}
13
]
14
}
{ "total": 10, "nextPageToken": "next-page-token", "conversations": [ { "id": "a1b2c3d4e5", "createdAt": "2020-01-01T01:01:01Z", "createdBy": "user-1234", "name": "", "description": "", "totalMessages": 0 } ] }
PREVIOUS
Get document text
NEXT
Create conversation
Docs powered by
Archbee
Docs powered by
Archbee