Skip to content

Expose in API whether a data is complete (full archived) or not #24552

@tsteur

Description

@tsteur

In the UI it's already clear when today (or this week) or any other period is incomplete. We're showing a line with dashes signaling the period is not complete yet:

Image

However, this is missing in the API.

This is important among others for the AI when using it with MCP. It thus compared for example an incomplete All Visits with a complete Segment and it led to weird results. The AI couldn't know that 12 hours after the week had completed, that Matomo hadn't fully archived the report yet.

Goal: Having a flag/attribute/property/... in the API response whether the archive/report is complete or not.
Ideally also mention last archive date.

Your Environment

  • Matomo Version: Latest version, Matomo Cloud
  • PHP Version: Matomo Cloud
  • Server Operating System: Matomo Cloud
  • Additionally installed plugins:

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions