Skip to content

Add Docs for AI Agents page documenting machine-readable documentation - #175

Open
tylergoerzen-mxp with Copilot wants to merge 4 commits into
mainfrom
copilot/tof-442-add-docs-for-ai-agents-page
Open

Add Docs for AI Agents page documenting machine-readable documentation#175
tylergoerzen-mxp with Copilot wants to merge 4 commits into
mainfrom
copilot/tof-442-add-docs-for-ai-agents-page

Conversation

Copilot AI commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Adds a new docs page surfacing the machine-readable documentation formats Mixpanel exposes — llms.txt, llms-full.txt, and OpenAPI specs — so AI agents and LLM tooling have a documented entry point for consuming Mixpanel docs programmatically.

Changes

  • docs/docs-for-ai-agents.mdx — New page covering:

    • llms.txt (concise index, llmstxt.org standard) and llms-full.txt (full content dump) endpoints
    • OpenAPI spec URLs for Ingestion and Query APIs
    • Usage examples: system prompt injection, MCP server pairing, Headless SDK integration, RAG pipelines
  • docs.json — Adds docs/docs-for-ai-agents to the MIXPANEL AI navigation group alongside MCP, Headless, and related AI pages

@linear-code

linear-code Bot commented Aug 18, 2026

Copy link
Copy Markdown

TOF-442

Co-authored-by: tylergoerzen-mxp <259741734+tylergoerzen-mxp@users.noreply.github.com>
@mintlify

mintlify Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mixpanel-docs 🟢 Ready View Preview Aug 18, 2026, 7:02 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copilot AI changed the title [WIP] Add docs-for-AI-agents page documenting machine-readable surfaces Add Docs for AI Agents page documenting machine-readable documentation Aug 18, 2026
Copilot AI requested a review from tylergoerzen-mxp August 18, 2026 18:59
@greptile-apps

greptile-apps Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
docs/docs-for-ai-agents.mdx Adds the machine-readable documentation guide and resolves the previously reported metadata, negotiation, surface-discovery, and OpenAPI-path issues.
docs.json Adds the new page to the MIXPANEL AI navigation group.

Reviews (4): Last reviewed commit: "Document Accept: text/markdown content n..." | Re-trigger Greptile

Comment thread docs/docs-for-ai-agents.mdx Outdated
Comment thread docs/docs-for-ai-agents.mdx
Comment thread docs/docs-for-ai-agents.mdx
The page pointed at /openapi/ingestion.yaml and /openapi/query.yaml.
Both serve today but neither is tracked in git; the real files are
*.openapi.yaml. Those two URLs are stale deploy artifacts that break on
the next prune. Replace them with all 13 tracked specs, each verified 200.

Add the three capabilities the page omitted:
- per-page Markdown (append .md to any docs URL)
- the documentation MCP server at docs.mixpanel.com/mcp, which is
  distinct from the Mixpanel MCP server at /docs/mcp that the page
  previously called just "the MCP server"
- the contextual copy/open menu already enabled in docs.json

Correct two claims: llms.txt indexes all 458 pages rather than a curated
subset, and llms-full.txt is 3.5 MB, so the page no longer suggests
pasting it into a system prompt.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Comment thread docs/docs-for-ai-agents.mdx
The page covered the .md suffix but not the header path, so readers
fetching canonical URLs had no way to discover they can request Markdown
without rewriting the URL.

Verified: Accept: text/markdown returns text/markdown and the body is
byte-identical to the .md variant. Without the header the same URL
returns text/html.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

| Page | Markdown |
| --- | --- |
| [docs.mixpanel.com/docs/quickstart](https://docs.mixpanel.com/docs/quickstart) | [docs.mixpanel.com/docs/quickstart.md](https://docs.mixpanel.com/docs/quickstart.md) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you can convert all of these to remove the "https://docs.mixpanel.com" so that it can be locally sourced

example: [docs.mixpanel.com/docs/quickstart](/docs/quickstart)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants