const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-staging.keystoneos.xyz/v1/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api-staging.keystoneos.xyz/v1/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api-staging.keystoneos.xyz/v1/activity \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"category": "<string>",
"severity": "<string>",
"description": "<string>",
"actor_type": "<string>",
"actor_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"method": "<string>",
"path": "<string>",
"status_code": 123,
"ip_address": "<string>",
"user_agent": "<string>",
"duration_ms": 123,
"detail": null,
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}List activity logs
List activity log entries visible to the caller with optional filtering. Environment-bound credentials see their own environment; platform-wide credentials see every environment plus entries belonging to none. Pass environment_id to narrow to an environment within that scope. Results are ordered by most recent first.
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-staging.keystoneos.xyz/v1/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api-staging.keystoneos.xyz/v1/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api-staging.keystoneos.xyz/v1/activity \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"category": "<string>",
"severity": "<string>",
"description": "<string>",
"actor_type": "<string>",
"actor_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"method": "<string>",
"path": "<string>",
"status_code": 123,
"ip_address": "<string>",
"user_agent": "<string>",
"duration_ms": 123,
"detail": null,
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Auth0 JWT access token. See Authentication for details.
Query Parameters
Narrow the results to one environment. A credential already bound to an environment may only name its own; a platform-wide caller may name any active environment of its platform.
Filter by event type (e.g. settlement.created).
Filter by category (e.g. settlement, compliance).
Filter logs from this date (inclusive).
Filter logs until this date (inclusive).
Search in description, type, actor_id, resource_id.
Filter by resource type.
Filter by resource ID.
Maximum number of results.
1 <= x <= 200Number of results to skip.
x >= 0