Query Logs
Changed onSearch and list log entries with filtering and pagination.
Request
- Base URLhttps://api.fivemanage.com/api
- URLhttps://api.fivemanage.com/api/v3/logs
- AuthAPI key in header Authorization
Query parameters
Dataset name (alternative to X-Fivemanage-Dataset header)
Comma-separated log levels (e.g. error,warning)
Filter by resource name
Free-text search on the log Body column only
Exact match on a LogAttributes JSON path (e.g. metadata.userId=123 or metadata._playerIdentifiers.discord=abc)
Start time (RFC 3339, e.g. 2024-01-01T00:00:00Z)
End time (RFC 3339, e.g. 2024-01-02T00:00:00Z)
Page size (default: 50, max: 100)
Offset for pagination (default: 0)
Sort direction on timestamp: asc or desc (default: desc)
Include total count in response (default: false, skipped for performance)
Response
OK
Changes
- warning
deleted the
queryrequest parameterq - info
api tag
Loggingadded - info
api tag
Logging (Beta)removed - info
added the new optional
queryrequest parameterbody - info
added the new optional
queryrequest parameterincludeTotal - info
added the new optional
queryrequest parametermetadata.*
- warning