public-api

Get Period Summary

One frozen period, the whole client report.

Every metric a monthly report leads with, for one calendar month or quarter, with the prior period alongside and each delta and direction already computed with the sign right. A closed month is read from the archive frozen when it closed, so the figure you publish can be fetched again identically. The open month is computed to date and says so.

metrics holds the single-number figures, breakdowns the lists and maps (visibility by model and tag, top competitors, top prompts, top cited pages, gap domains, perception categories and competitors, descriptors), metric_meta the unit and direction of each, and definitions the prose when include=definitions. view=list returns the index of what is archived.

Several brands at once: pass brand_ids (comma-separated UUIDs, up to 12 after de-duplication) instead of brand_id. The response is one compact row per brand per closed month in rows, each figure with the prior month's value and the server-computed delta, plus brands, months, metric_ids and metric_meta. Ids that are not among your brands come back in excluded and are never read. period as YYYY-MM keeps that month and the month before it; quarters, view=list, compare and include do not apply to a brand list. The open month is not included, and a metric a brand's plan does not include is null with a note on that brand. Above 12 brands, download the Excel workbook from the Reports page.

get/get-period-summary

Request

  • Base URL: https://api.trakkr.ai
  • URL: https://api.trakkr.ai/get-period-summary
  • Auth: HTTP bearer

Query parameters

brand_idstring uuid nullable

Brand UUID. Required unless brand_ids is given; never both.

brand_idsstring[] nullable

Several brands at once: brand UUIDs, comma-separated or repeated, up to 12 after de-duplication, instead of brand_id. Returns one compact row per brand per closed month with the prior month's delta already computed; view, compare and include do not apply. period as YYYY-MM keeps that month and the month before it; quarters are not available for a brand list yet. months caps how many closed months are returned (at most 12). Ids that are not among your brands are listed in excluded and never read.

periodstring nullable

A month as YYYY-MM or a quarter as YYYY-Qn. Defaults to the most recently closed month. With brand_ids, a month keeps that month and the month before it; quarters are not available for a brand list yet.

view'summary' | 'list'

summary (default), or list: the index of archived months and quarters

compareboolean

Include the prior period and the computed deltas

includestring nullable

Comma-separated extras. 'definitions' adds each metric's one-line definition.

monthsinteger

view=list: how many closed months to index. With brand_ids: how many closed months to return per brand, at most 12.

Response

Successful Response

OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.