from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.api_keys.list()
# Handle response
print(res)
{
"data": [
{
"id": "tok_6VE1Wd37dXnZJ",
"type": "api_keys",
"attributes": {
"name": "North Moors",
"token_last_slice": "763be",
"api_version": "2023-06-01",
"created_at": "2025-07-16T18:36:26+00:00",
"updated_at": "2025-07-16T17:36:26+00:00",
"last_used_at": null,
"user": {
"id": "user_NYNl38rzNzs4KXL96apwU3WJ5oX8",
"email": "jed.windler@rice.test"
}
}
}
],
"meta": {}
}
Returns a list of all API keys from the team members
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.api_keys.list()
# Handle response
print(res)
{
"data": [
{
"id": "tok_6VE1Wd37dXnZJ",
"type": "api_keys",
"attributes": {
"name": "North Moors",
"token_last_slice": "763be",
"api_version": "2023-06-01",
"created_at": "2025-07-16T18:36:26+00:00",
"updated_at": "2025-07-16T17:36:26+00:00",
"last_used_at": null,
"user": {
"id": "user_NYNl38rzNzs4KXL96apwU3WJ5oX8",
"email": "jed.windler@rice.test"
}
}
}
],
"meta": {}
}
Was this page helpful?