Metrics of the last 7 days. With the operator token, includes payments.

Without credentials it returns visits, usage and accounts. With METRICS_TOKEN as Bearer it adds payments — and only on Base mainnet, because staging numbers on a finance panel mislead. Returns: { app, today, today_visits, today_contacts?, days, usage, accounts, financeiro?, payments? }

get/api/metrics

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/metrics
  • Auth: none required

Headers

Authorizationstring

Bearer <METRICS_TOKEN> to include the finance block.

Response

{ app, today, today_visits, today_contacts?, days, usage, accounts, financeiro?, payments? }

appstring required

Product name.

todaystring required

Reference day (UTC, YYYY-MM-DD).

today_visitsinteger required

Visits counted today.

today_contactsinteger

Contact messages received today. Only with METRICS_TOKEN: contact does not leave without a token.

daysobject[] required

One record per day of the window, with the counts of each metric.

usageobject required

Usage per product resource — here, listings created through the surface (origin community); the registry's own catalog load does not count as usage.

accountsobject required

Total guests and accounts.

financeiroobject

Aggregate of the day: hoje_usd, hoje_count, rede. Only with METRICS_TOKEN: money does not leave without a token; the full series is payments.

paymentsobject

Finance summary; only with METRICS_TOKEN.

Changes

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