v1
latestOpenAPI 3.0.02026-07-1738124256.1 KBSearch
Search Raw Logs and Traces
Fetch individual log or trace rows from a HyperDX source.
This endpoint mirrors the "search" panel mode in the HyperDX UI. HyperDX applies the same query optimizations used in the UI:
- Named attribute columns (e.g. "pipedream.pipeline_name") are rewritten to their indexed materialized equivalents when the source schema exposes them, avoiding slow Map lookups.
- Rows are ordered by timestamp descending (most recent first).
- The source's built-in PREWHERE / partition pruning is applied.
Authentication: Bearer token (personal API key from Team Settings).
post/api/v2/search
Request body
Example request
{
"sourceId": "69b46cb0d964ce2d0b9506a8",
"startTime": "2026-05-10T00:00:00Z",
"endTime": "2026-05-10T01:00:00Z",
"where": "SeverityText:ERROR",
"whereLanguage": "lucene",
"select": "Timestamp,SeverityText,Body,pipedream.pipeline_name",
"orderBy": "Timestamp DESC"
}Response
Matching rows returned successfully