GraphQL Playground¶
Interactive GraphQL workspace with preloaded operations from the current schema. In published docs, Demo Mode is enabled by default so readers can run examples without backend access.
This page is a convenience surface. If it drifts, docs/graphql/schema.graphql and contracts/graphql/ remain canonical.
Playground¶
Available Operations¶
Queries
categoriescategoryByIdcategoryByNamechatHistorychatContextchatDataPackrecordByIdrecordsrecordsLatestrecordProjectionByIdrecordProjectionsrecordProjectionsLatestrecordsByTagrecordsByCategoryrecordsByDayrecordsUntilrecordsBetweensearchRecordsrecordStatsdashboardSnapshotinsightFeedanalyticsSeriesmetricDefinitionsdashboardViewsdashboardViewdashboardWidgetCatalogsuggestMetricDefinitionstagByNametagByIdtagstagsByCategoryIduserStats
Mutations
createCategoryupdateCategorysoftDeleteCategorycreateRecordupdateRecordsoftDeleteRecordsoftDeleteAllRecordscreateTagupdateTagsoftDeleteTagupsertMetricDefinitionupsertGoalTemplatedeleteGoalTemplatecreateDashboardViewsetDefaultDashboardViewupsertDashboardWidgetreorderDashboardWidgetsdeleteDashboardWidgetcreateMetricAndWidget
Notes¶
- Demo Mode returns mock responses for each operation (default enabled).
- Disable Demo Mode to execute real requests against your own endpoint (local/staging) and optional token.
- Add
Authorization: Bearer <token>in the token field for protected operations. - Keep templates in sync with schema changes in the same PR.
- Shared operation documents under
contracts/graphql/are the preferred consumer contract reference for copy/paste examples.