Get System Logs
GET
/api/v1/system/logs
const url = 'https://example.com/api/v1/system/logs?limit=200';const options = {method: 'GET', headers: {'X-Label-Hub-Key': '<X-Label-Hub-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/system/logs?limit=200' \ --header 'X-Label-Hub-Key: <X-Label-Hub-Key>'Newest limit WARNING+ records (capped at the buffer size), oldest first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
Limit
integer
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Get System Logs Api V1 System Logs Get
Array<object>
LogEntryobject
level
required
Level
string
logger
required
Logger
string
message
required
Message
string
ts
required
Ts
string format: date-time
Example generated
[ { "level": "example", "logger": "example", "message": "example", "ts": "2026-04-15T12:00:00Z" }]Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}