Public documentation for the GainTrace API, built with Mintlify.
docs.json— site config (navigation, theme, branding)openapi.json— OpenAPI 3.1 spec; the API reference tab is auto-generated from it. Keep it in sync with the/api/v1/*handlers ingaintrace-app.index.mdx,quickstart.mdx,authentication.mdx— guide pageslogo/,favicon.svg— brand assets
The Mintlify CLI needs an LTS Node version (it refuses Node 25+):
nvm use 20
npm i -g mint
mint dev # preview at http://localhost:3000
mint broken-links # validate internal linksValidate the OpenAPI spec on any Node version:
npx @redocly/cli@latest lint openapi.jsonMintlify deploys automatically on every push to the connected branch.