Documentation site for the Andi AI Search API, built on Mintlify and hosted at docs.andiai.com.
Install the Mintlify CLI (requires Node.js v20.17.0+ LTS):
npm i -g mintRun the local dev server:
mint devPreview at http://localhost:3000.
mint validate # Validate documentation builds
mint broken-links # Check internal linksAPI tests verify that documented parameters, response formats, and error handling match the live API.
Prerequisites: jq (brew install jq)
Setup:
cp .env.example .env # Then add your API keyRun tests:
./tests/run-tests.sh # All suites
./tests/run-tests.sh auth errors # Specific suites
./tests/run-tests.sh --list # List available suitesMintlify validation (mint validate, mint broken-links, mint openapi-check) runs automatically at the end if the mint CLI is installed.
- OG image:
docs.json→thumbnailssets the background (images/og-default.png). Mintlify auto-generates OG images with logo, title, and description overlay. - Metatags:
docs.json→seo.metatagssetsog:site_nameandtwitter:site. - Organization JSON-LD:
organization-schema.js— injected on every page via Mintlify custom scripts. Links docs.andiai.com into the Andi entity graph. - Robots:
robots.txt— overrides Mintlify default. Explicitly allows AI crawlers (GPTBot, ClaudeBot, PerplexityBot). - Analytics: PostHog via
docs.json→integrations.posthog.
Per-page SEO in frontmatter:
keywords: YAML array for Mintlify internal searchnoindex: true: Prevent indexing (for stub pages)
Changes pushed to main auto-deploy via the Mintlify GitHub app.