JL
ZH-CN
文档首页
菜单
API

Logs

Log submission and retrieval

api logs

Contents

Log submission and retrieval

GET/log

Returns ephemeral in-memory logs for real-time debugging. Without auth returns public logs. With auth and cid returns channel logs. More LogEntry Guide

Responses
200application/json
Array of log entries
schemaarray
itemLogEntryrequired
evtobjectrequired
tsnumberrequired
iatnumberrequired
expnumberrequired
regstringrequired
lvlanyOf
Variant
Option 1number
Option 2string
svcstring
hoststring
appstring
pidanyOf
Variant
Option 1number
Option 2string
reqstring
accstring
Account identifier.
uidstring
User identifier.
sidstring
Session identifier.
cidstring
Channel identifier.
ipstring
httpnumber
envstring
imgstring
txidstring
altstring
trcstring
spnstring
404
Channel not found
POST/log

Logs are persisted to SSTable files, broadcast to WebSocket subscribers, and stored briefly in-memory. Use cid parameter for channel-specific logs. More LogEntry Guide

Body application/json
_jsonlogobject
evtobject
tsnumber
iatnumber
expnumber
regstring
lvlanyOf
Variant
Option 1number
Option 2string
svcstring
hoststring
appstring
pidanyOf
Variant
Option 1number
Option 2string
reqstring
accstring
Account identifier.
uidstring
User identifier.
sidstring
Session identifier.
cidstring
Channel identifier.
ipstring
httpnumber
envstring
imgstring
txidstring
altstring
trcstring
spnstring
Responses
200
Log stored successfully
401
Authentication required for this channel
404
Channel not found

Models

LogEntry
evtobjectrequired
tsnumberrequired
iatnumberrequired
expnumberrequired
regstringrequired
lvlanyOf
Variant
Option 1number
Option 2string
svcstring
hoststring
appstring
pidanyOf
Variant
Option 1number
Option 2string
reqstring
accstring
Account identifier.
uidstring
User identifier.
sidstring
Session identifier.
cidstring
Channel identifier.
ipstring
httpnumber
envstring
imgstring
txidstring
altstring
trcstring
spnstring