Search logs
Search logs across all resources in a namespace
POST
Search logs across all resources in a namespace with filtering by time range, level, phase, resource, and free text.
Path parameters
namespace
type: string
requiredThe namespace (user or organization) to search logs in.
Body parameters
start_time
type: string
Start of the time range in ISO 8601 format (e.g., `2026-03-18T00:00:00Z`).
end_time
type: string
End of the time range in ISO 8601 format.
levels
type: string[]
Filter by log level. One or more of `error`, `warn`, `info`, `debug`.
phases
type: string[]
Filter by execution phase. One or more of `setup`, `runtime`.
resource_type
type: string
Filter by resource type. One of `service`, `job`, `dev`.
resource_name
type: string
Filter by resource name (e.g., `llama-serving`).
text
type: string
Full-text search query across log messages.
field_filters
type: object
Key-value pairs for filtering on structured log fields. For example, pass gpu_id as a key with 0 as the value to filter logs from a specific GPU.
cursor
type: string
Pagination cursor returned from a previous search response.
page_size
type: integer
Number of log lines per page. Maximum `500`.
default: 100
Previous → Remove a domain
Next Tail logs →