v1

latestOpenAPI 3.1.02026-07-26101317.6 KB
Logs

Get Log File Content

Returns the content of a specific log file by line range.

get/endpoints/{endpoint_id}/logs/file

Path parameters

endpoint_idstring required

Unique endpoint ID.

Query parameters

node_idstring required

Node ID where the log file is located. Use the node_id value from the /logs response.

filenamestring required

Log file path. Use the filename value from the /logs response.

start_lineinteger

Starting line number (1-based).

end_lineinteger

Ending line number. Max 50000.

Response

Log file content.

contentstring

Log file content for the specified line range. Each line is a JSON log entry.

start_lineinteger

Actual start line number returned.

end_lineinteger

Actual end line number returned.