Command Palette
Search for a command to run

Get log context

Retrieve surrounding log lines for a specific log entry

POST
/auth/v1/seed/{namespace}/logs/context

Retrieve surrounding log lines for a specific log entry. Useful for understanding the context around an error or event.

Path parameters


namespace
type: string
required
The namespace (user or organization) the log belongs to.

Body parameters


namespace
type: string
required
The namespace for the log entry.
log_id
type: string
required
The ID of the log entry to get context for.
context_lines
type: integer
Number of lines to include before and after the target log entry.
default: 5

Previous Tail logs

Next Get log usage