My App
API

Dashboard API overview

Session-authenticated dashboard routes used by app.hyrelog.com—not included in public OpenAPI.

The HyreLog dashboard application talks to /dashboard/* routes on https://api.hyrelog.com. These routes use dashboard session authentication (not Bearer API keys) and are intentionally excluded from public OpenAPI.

This page summarizes dashboard endpoints for operators and internal integrators. For customer integrations, use /v1/* only.

Why two APIs?

Public /v1/*Dashboard /dashboard/*
AuthAuthorization: Bearer <api_key>Dashboard session / service token
OpenAPIPublished at /openapi.jsonNot published
Use caseYour apps, scripts, ETLHyreLog web UI only

Events & explorer

MethodPathPurpose
GET/dashboard/eventsPaginated event list (limit, offset, sort, order, filters)
GET/dashboard/events/filter-optionsDistinct categories/actions for filter dropdowns
GET/dashboard/events/metrics/histogramTime-bucket histogram (interval, groupBy, filters)

Saved explorer views

MethodPathPurpose
GET/dashboard/explorer/viewsList saved views (workspace-scoped for members)
POST/dashboard/explorer/viewsCreate (name, query, optional workspaceId, description)
GET/dashboard/explorer/views/:viewIdGet one
PATCH/dashboard/explorer/views/:viewIdUpdate
DELETE/dashboard/explorer/views/:viewIdDelete
POST/dashboard/explorer/views/:viewId/runReturn sanitized EventQuery (no event fetch)

EventQuery is a canonical JSON filter document shared with the dashboard UI. It can include date range, categories, actions, workspace ids, search, tags, trace ids, and pagination defaults.

Exports

MethodPathPurpose
GET/dashboard/exportsList export jobs
GET/dashboard/exports/capabilitiesProbe filtered export support
POST/dashboard/exportsCreate job (format, filters, optional savedExplorerViewId)
POST/dashboard/exports/:jobId/rerunRerun job
GET/dashboard/exports/:jobIdJob detail
GET/dashboard/exports/:jobId/downloadStream download

Export templates

MethodPathPurpose
GET/dashboard/export-templatesList templates
POST/dashboard/export-templatesSave template
POST/dashboard/export-templates/:templateId/runQueue export from template

Schema drift headers

If a regional database is missing a table migration, some list endpoints return empty arrays and set:

  • x-hyrelog-schema-drift: saved_explorer_views
  • x-hyrelog-schema-drift: export_templates

Apply pending API migrations on that region before relying on the feature.

Audit logging

Dashboard mutations are written to the API audit log (string action names such as EVENTS_QUERIED, SAVED_VIEW_CREATED, EXPORT_REQUESTED). The dashboard app also records typed audit rows in its own database for export evidence and saved views.

Further reading

On this page