import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.apiKeys.list();
console.log(result);
}
run();{
"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": "[email protected]"
}
}
}
],
"meta": {}
}Returns a list of all API keys from the team members
import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.apiKeys.list();
console.log(result);
}
run();{
"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": "[email protected]"
}
}
}
],
"meta": {}
}Success
api_keys Show child attributes
Name of the API Key
The API version associated with this API Key
The last 5 characters of the token created for this API Key
The last time a request was made to the API using this API Key
The time when the API Key was created
The time when the API Key was updated
Was this page helpful?