System Logs โ
System logs capture operational telemetry โ errors, warnings, info traces, and structured events emitted by the platform during normal operation. These are the right surface for diagnosing why something failed, tracking a request through the system, or spotting recurring issues.
For security-relevant events (sign-ins, permission changes, configuration changes), see Audit Logs instead.
Scopes โ
| Scope | Reach |
|---|---|
logging:read | Listing, reading system logs, viewing filters. |
logging:write | Deleting system log entries. |
Endpoints โ
List System Logs โ
GET /api/logging/system/
Returns a page of system-log entries.
Required scope: logging:read ยท also accepts API key
Query parameters โ standard pagination set; see Conventions โบ Pagination. Defaults: sort_by=timestamp, sort_order=desc. (No hydrate flag on this resource.)
Response 200 โ SystemLogInDbCursorPage
Get System Log Filter Metadata โ
GET /api/logging/system/filters
Returns filter/operator/sort options for List System Logs.
Required scope: logging:read
Response 200 โ open metadata object.
Get System Log by ID โ
GET /api/logging/system/{id}
Returns a single system-log entry.
Required scope: logging:read ยท also accepts API key
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | System log ID. |
Response 200 โ LogRead
Delete System Log by ID โ
DELETE /api/logging/system/{id}
Permanently removes a system-log entry. Typically used for noise control rather than retention policy (audit logs are the compliance surface).
Required scope: logging:write
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | System log ID. |
Response 204 โ empty.
See also โ
- Audit Logs โ security-relevant events (who did what when).
- Admin โบ System Health โ point-in-time service health snapshots that complement long-form logs.
