Skip to main content

Event usage stats response

The latest cached event usage statistics for a project.

statusstring

Availability of the results: not_started (no job run yet), pending (a gathering job is running), ready (latest results available), or failed (the last job failed; any previously gathered results are still returned).

Possible values: [not_started, pending, ready, failed]

generated_atdate-timenullable

ISO-8601 timestamp of when the returned results were generated, or null.

events object[]

Per-event usage statistics, sorted by usage count descending.

  • Array [
  • event_name_pathstring

    Identifier of the event in source_table.event_name form.

    Example: events.page_view
    display_namestring

    Display name of the event.

    Example: Page view
    usage_count_last_6_monthinteger

    Number of times the event was used in Mitzu insights over the last 6 months.

    Example: 42
    last_useddate-timenullable

    ISO-8601 timestamp of when the event was last used, or null if never.

    Example: 2026-01-15T09:30:00
  • ]
  • Event usage stats response
    {
    "status": "not_started",
    "generated_at": "2024-07-29T15:51:28.071Z",
    "events": [
    {
    "event_name_path": "events.page_view",
    "display_name": "Page view",
    "usage_count_last_6_month": 42,
    "last_used": "2026-01-15T09:30:00"
    }
    ]
    }