import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.events.list({});
for await (const page of result) {
console.log(page);
}
}
run();{
"data": [
{
"id": "evt_r0MK4O4kDa95w",
"type": "events",
"attributes": {
"created_at": "2026-01-14T15:56:32+00:00",
"action": "user_data.create",
"target": {
"id": "ud_QraYDPm5OpjwW",
"name": "user_data"
},
"project": {
"id": "proj_Av9BVDavORm1W",
"name": "Enormous Rubber Car",
"slug": "enormous-rubber-car"
},
"team": {
"id": "team_5EkwwB3BV5Uzo9EpPom8T6Zk6MjG",
"name": "55 Team"
},
"author": {
"id": "user_1P7kNv94QNtKXLZWMe42hNJ5x6V",
"name": "Julian Kuvalis",
"email": "aleshia@stiedemann.test"
}
}
}
],
"meta": {}
}Lists actions performed by users on your account.
import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.events.list({});
for await (const page of result) {
console.log(page);
}
}
run();{
"data": [
{
"id": "evt_r0MK4O4kDa95w",
"type": "events",
"attributes": {
"created_at": "2026-01-14T15:56:32+00:00",
"action": "user_data.create",
"target": {
"id": "ud_QraYDPm5OpjwW",
"name": "user_data"
},
"project": {
"id": "proj_Av9BVDavORm1W",
"name": "Enormous Rubber Car",
"slug": "enormous-rubber-car"
},
"team": {
"id": "team_5EkwwB3BV5Uzo9EpPom8T6Zk6MjG",
"name": "55 Team"
},
"author": {
"id": "user_1P7kNv94QNtKXLZWMe42hNJ5x6V",
"name": "Julian Kuvalis",
"email": "aleshia@stiedemann.test"
}
}
}
],
"meta": {}
}The author ID or email to filter by
The project ID to filter by
The target type(s) of the event to filter by
The target id of the event to filter by
The action performed in event to filter by
The created at greater than equal date to filter by, in ISO formatting (yyyy-MM-dd'T'HH:mm:ss)
The created at less than equal date to filter by, in ISO formatting (yyyy-MM-dd'T'HH:mm:ss)
The created at between date range date1, date2 (inclusive) to filter by, in ISO formatting (yyyy-MM-dd'T'HH:mm:ss)
Number of items to return per page
x >= 1Page number to return (starts at 1)
x >= 1Success
Show child attributes
Was this page helpful?