This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is the MemoryLake AI documentation site, built with Mintlify. It contains product guides, feature documentation, and API reference for the MemoryLake platform (model routing, document/memory management, team collaboration).
# Preview docs locally (requires Mintlify CLI: npm i -g mintlify)
mintlify dev
# Check for broken links and formatting issues
mintlify broken-linksThere is no build step, test suite, or linter beyond Mintlify's own validation. Changes are previewed with mintlify dev and deployed on merge.
- Framework: Mintlify — all content is
.mdxfiles with YAML frontmatter + Mintlify components - Navigation/config:
docs.json— defines site theme, navigation tabs (Guides, API reference), page ordering, and all page groups. Any new page must be registered here to appear on the site. - Content structure:
- Root
.mdxfiles: Getting Started section (overview, principles, quickstart, authentication) features/model-router/: Model Router guides (API key creation, usage, integrations, error handling)features/memorylake/: MemoryLake guides (documents, connectors, projects, memories, MCP servers)features/memorylake/api-reference/: OpenAPI reference docs (authentication, drives, items, upload, projects, memories, mcp-servers, connectors, errors, rate-limits)features/team-collaboration/: Team roles, permissions, invitations, quotas
- Root
- Static assets:
images/for screenshots,logo/for brand SVGs,favicon.svg
- Cursor rules in
.cursor/rules.mddefine the full Mintlify technical writing style and component reference. Consult it for component usage (Steps,Tabs,CodeGroup,ParamField,ResponseField,Expandable,Frame, etc.) and content quality standards. - Every
.mdxpage must start with YAML frontmatter containingtitleanddescription. - Use second person ("you"), active voice, present tense.
- Wrap images in
<Frame>components. Use<CodeGroup>for multi-language examples. - For API docs, use
<ParamField>for parameters and<ResponseField>for response fields. Use<RequestExample>/<ResponseExample>for endpoint examples.
When writing or updating API reference documentation, the following internal fields must be excluded from response examples and response field definitions:
dataset_idmemory_idmemory_project_idmemory_org_idcreated_bydocument_countmemory_count
These fields are returned by the actual API but should not be exposed in the public documentation.
- Base API URL:
https://app.memorylake.ai/openapi/memorylake - Console URL:
https://app.memorylake.ai - Model Router is OpenAI-protocol compatible — docs reference OpenAI SDK patterns alongside direct API calls