⌘
K
GrokAI
About
Ask Grok
Demo
Swagger-UI
GrokAI API
Authentication
User
Quota
Collections
Documents
Conversations
Messages
Docs powered by
Archbee
GrokAI API
Quota
Get user quota
GET
Try it
Get the quota of currently signed in user
Authentication
X-API-Key
apiKey
Responses
200
UserQuota
subscription
Subscription
collections
Quota
pages
Quota
messages
Quota
default
Default error response
ErrorResponse
code
integer
*
message
string
*
status
string
*
data
object
Curl
JS
Ruby
Python
1
curl
--location
'https://api.askgrok.ai/quota'
\
2
--header
'Accept: application/json'
\
3
--header
'Content-Type: application/json'
curl --location 'https://api.askgrok.ai/quota' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
Responses
200
default
1
{
2
"subscription"
:
""
,
3
"collections"
:
{
4
"consumed"
:
0
,
5
"alloted"
:
0
,
6
"remaining"
:
0
7
}
,
8
"pages"
:
{
9
"consumed"
:
0
,
10
"alloted"
:
0
,
11
"remaining"
:
0
12
}
,
13
"messages"
:
{
14
"consumed"
:
0
,
15
"alloted"
:
0
,
16
"remaining"
:
0
17
}
18
}
{ "subscription": "", "collections": { "consumed": 0, "alloted": 0, "remaining": 0 }, "pages": { "consumed": 0, "alloted": 0, "remaining": 0 }, "messages": { "consumed": 0, "alloted": 0, "remaining": 0 } }
PREVIOUS
Get user profile
NEXT
List collections
Docs powered by
Archbee
Docs powered by
Archbee