get
https://{yourinstance}.makaira.io/storefront/log
Returns recent log messages from the storefront application.
Returns recent log messages from the storefront application.
Requires the storefront:log:read or storefront.read permission.
Request
GET /storefront/log
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
system | string | — | Filter by application name / system component. |
after | string | — | ISO 8601 timestamp. Only return logs after this point in time. |
before | string | — | ISO 8601 timestamp. Only return logs before this point in time. |
offset | integer | 0 | Offset for pagination. |
limit | integer | 150 | Maximum number of log entries to return (capped at 150). |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Response
Response Body
| Field | Type | Description |
|---|---|---|
total | integer | Total number of log entries matching the filters (before pagination). |
messages | array | Paginated list of log entry objects. |
Each entry in messages has:
| Field | Type | Description |
|---|---|---|
system | string | The application or system component that emitted the log. |
message | string | The log message text. |
timestamp | string | ISO 8601 timestamp of when the log was emitted. |
Example Response
{
"total": 1024,
"messages": [
{
"system": "storefront",
"message": "Page /products/42 rendered in 123ms",
"timestamp": "2026-04-10T09:15:00.000Z"
},
{
"system": "storefront",
"message": "GET /api/products 200 OK",
"timestamp": "2026-04-10T09:14:58.000Z"
}
]
}
