Query parameters
-
userId string
Filter logs by user ID.
-
applicationId string
Filter logs by application ID.
-
logKey string
Filter logs by log key.
-
page integer
Page number (starts from 1).
Minimum value is
1
. Default value is1
. -
page_size integer
Entries per page.
Minimum value is
1
. Default value is20
.
GET /api/logs
curl \
-X GET https://[tenant_id].logto.app/api/logs \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"tenantId": "string",
"id": "string",
"key": "string",
"payload": {
"key": "string",
"result": "Success",
"error": {},
"ip": "string",
"userAgent": "string",
"userId": "string",
"applicationId": "string",
"sessionId": "string",
"params": {}
},
"createdAt": 42.0
}
]