⌘
K
GrokAI
About
Ask Grok
Demo
Swagger-UI
GrokAI API
Authentication
User
Quota
Collections
Documents
Conversations
Messages
Docs powered by
Archbee
GrokAI API
Authentication
List API Keys
GET
Try it
List all API keys assigned to current user.
Authentication
X-API-Key
apiKey
Responses
200
ApiKey[]
id
string
value
string
default
Default error response
ErrorResponse
code
integer
*
message
string
*
status
string
*
data
object
Curl
JS
Ruby
Python
1
curl
--location
'https://api.askgrok.ai/keys'
\
2
--header
'Accept: application/json'
\
3
--header
'Content-Type: application/json'
curl --location 'https://api.askgrok.ai/keys' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
Responses
200
default
1
[
2
{
3
"id"
:
"a1b2c3d4e5"
,
4
"value"
:
"1234-ABCD-5678-WXYZ"
5
}
6
]
[ { "id": "a1b2c3d4e5", "value": "1234-ABCD-5678-WXYZ" } ]
PREVIOUS
Swagger-UI
NEXT
Create API key
Docs powered by
Archbee
Docs powered by
Archbee