← Back to schema index

DashboardSummary

User dashboard snapshot. Returned by `GET /summary`. `attributes` counts aggregate validations; `relationships.recent_validations` lists up to 10 recent validations (query param `?limit=N`, default 5). `comenzar_milestones_completed` measures progress through the `/comenzar` wizard and the post-login flow uses it to decide whether to skip that screen.

Properties

FieldTypeDescription
type*stringResource type, fixed for this operation. Part of the resource identity in the JSON:API envelope. Always `dashboard_summary`.
attributes*objectAggregated user dashboard attributes (counts, success rate, onboarding progress).
total_validationsintegerCumulative validation count for the user across all months.
monthly_validationsintegerValidations in the current calendar month (UTC).
pending_monthintegerCurrent-month validations still in a non-terminal state (`queued` or `processing`).
valid_validationsintegerUser's validations with verdict `valid` (lifetime total).
avg_ticketnumberUser's lifetime average ticket: average amount over ALL of the user's validations with amount > 0 (excludes playground and soft-deleted). `0` when there is no positive amount.
success_rate_percentnumberSuccess rate as a percentage (0-100) over the total validations.
beneficiaries_countintegerCount of the user's active beneficiaries.
comenzar_milestones_completedintegerMilestones cleared in the `/comenzar` wizard: (1) ≥1 OCR validation, (2) ≥1 direct validation, (3) ≥1 beneficiary, (4) (1) AND (2). Max total: 4.
relationshipsobjectDashboard JSON:API relationships (references to associated resources).
recent_validationsobjectJSON:API relationship pointing to the recent validations shown in the dashboard.
dataarrayResponse body. Everything hangs off here, per the JSON:API envelope.

Used in operations

  • GET /v1/summary