curl --request POST \
--url https://platform.trylath.com/developers/activity/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"limit": 50,
"before": "2023-11-07T05:31:56Z",
"operation": "<string>",
"actorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after": "2023-11-07T05:31:56Z"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
limit: 50,
before: '2023-11-07T05:31:56Z',
operation: '<string>',
actorId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
after: '2023-11-07T05:31:56Z'
})
};
fetch('https://platform.trylath.com/developers/activity/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/developers/activity/list"
payload = {
"limit": 50,
"before": "2023-11-07T05:31:56Z",
"operation": "<string>",
"actorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/developers/activity/list"
payload := strings.NewReader("{\n \"limit\": 50,\n \"before\": \"2023-11-07T05:31:56Z\",\n \"operation\": \"<string>\",\n \"actorId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"after\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activityId": "<string>",
"result": {
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"actorType": "<string>",
"actorId": "<string>",
"actorLabel": "<string>",
"operation": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"result": "ok",
"errorCode": "<string>",
"source": "dashboard",
"durationMs": 0
}
],
"nextBefore": "2023-11-07T05:31:56Z"
}
}developers.activity.list
Lists what happened in this environment, newest first, with who or which key did it, whether it worked, and where the call came from. Narrow it by operation (an exact name, or a product or family as email. or email.domain.*), by result (refused finds what failed), by source, by who acted (member, key, or system for the product’s own work such as sign-up and the worker) or one member or key with actorId, and by time with after and before. Open one with developers.activity.get.
curl --request POST \
--url https://platform.trylath.com/developers/activity/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"limit": 50,
"before": "2023-11-07T05:31:56Z",
"operation": "<string>",
"actorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after": "2023-11-07T05:31:56Z"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
limit: 50,
before: '2023-11-07T05:31:56Z',
operation: '<string>',
actorId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
after: '2023-11-07T05:31:56Z'
})
};
fetch('https://platform.trylath.com/developers/activity/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/developers/activity/list"
payload = {
"limit": 50,
"before": "2023-11-07T05:31:56Z",
"operation": "<string>",
"actorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"after": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/developers/activity/list"
payload := strings.NewReader("{\n \"limit\": 50,\n \"before\": \"2023-11-07T05:31:56Z\",\n \"operation\": \"<string>\",\n \"actorId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"after\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activityId": "<string>",
"result": {
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"actorType": "<string>",
"actorId": "<string>",
"actorLabel": "<string>",
"operation": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"result": "ok",
"errorCode": "<string>",
"source": "dashboard",
"durationMs": 0
}
],
"nextBefore": "2023-11-07T05:31:56Z"
}
}Authorizations
A Lath API key: lath_live_… or lath_test_… on a server, lath_live_pk… or lath_test_pk… in a browser.
Body
1 <= x <= 200^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$An exact operation name, or a prefix ending in . or .* for a whole product or family
120^[a-z][a-z0-9_]*(\.[a-z0-9_]+)*(\.|\.\*)?$member: a person in the dashboard; key: an API key; system: the product itself (sign-up, the worker, preference pages)
member, key, system Only what this one member or key did: the id from developers.key.list or a member list. A revoked key's activity is kept and still found.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Only activity at or after this time
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Only calls that completed (ok) or were turned down (refused)
ok, refused Only calls made through this surface. system is the product's own work.
dashboard, api, cli, mcp, system Was this page helpful?

