The engine log's ring-buffer snapshot, newest last, with the match total and whether older matches were left out
const url = 'https://example.com/v1/console/logs/buffer?limit=1000';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/v1/console/logs/buffer?limit=1000' \ --header 'Authorization: Bearer <token>'Returns the engine log’s ring-buffer snapshot, newest last, filtered by module and level. total is the number of ring entries that matched the filter (not the page size) and truncated says older matches were left out.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Only entries from this module.
Exact level set, comma-separated (debug, info, warn, error); authoritative whenever non-empty. An empty value clears the level filter; an unknown level is a 400, never a silent widening.
Legacy minimum-level threshold, used only when levels is empty or absent.
How many entries to return (default 1000, at most 10000: a larger value is clamped, a missing or non-positive one uses the default).
Responses
Section titled “ Responses ”OK
object
The level the engine currently captures at.
One engine log entry, newest last.
object
Entries this response carries.
Entries in the ring that matched the filter — the size of the set, not of this page.
Older matches were left out.
Example generated
{ "capture_level": "example", "items": [ {} ], "returned": 1, "total": 1, "truncated": true}Bad request
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Unauthenticated
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Forbidden
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Not found
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Conflict / setup required
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Rate limited
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}