Get API Keys
GEThttps://api-atlas.nomic.ai/v1/user/authorization/keys/:organization_id
Get API Keys
Request
Path Parameters
organization_id Organization Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
keys
object[]
{
"keys": [
{
"key_name": "string",
"expiration": "2024-07-29T15:51:28.071Z",
"creation": "2024-07-29T15:51:28.071Z",
"suffix": "string",
"user_id": "string"
}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- python
- curl
- REQUESTS
- HTTP.CLIENT
import requests
url = "https://api-atlas.nomic.ai/v1/user/authorization/keys/:organization_id"
payload = {}
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)