A redacted page of a site's IIS log; whoever may read the site's files
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/sites/{id}/logsA redacted page of a site's IIS log; whoever may read the site's files (ADR 0077)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required | |
file | query | string | optional | u_exYYMMDD.log; empty is the newest |
before | query | integer | optional | Cursor from next_before
|
contains | query | string | optional | Keep lines containing this text, matched after redaction
|
Responses
200 Page
Content type: application/json
sourcestring requiredeventsarray<object> requiredrecordinteger requiredtimestring (date-time) requiredlevelinteger requiredproviderstring requiredevent_idinteger requiredmessagestring required
next_beforeinteger requiredCursor of the next, older page; 0 when none
linesarray<string> requiredstartinteger requiredsizeinteger requiredfilestring optionalfilesarray<object> requirednamestring requiredsizeinteger requiredmodified_msinteger required
filteredboolean required
Example
{
"source": "string",
"events": [
{
"record": 0,
"time": "2026-01-01T00:00:00Z",
"level": 0,
"provider": "string",
"event_id": 0,
"message": "string"
}
],
"next_before": 0,
"lines": [
"string"
],
"start": 0,
"size": 0,
"file": "string",
"files": [
{
"name": "string",
"size": 0,
"modified_ms": 0
}
],
"filtered": true
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required