# Memex API Docs - [Authentication](https://docs.memex.garden/general/authentication.md): How humans and agents authenticate with Memex across OAuth, API keys, REST, MCP, and first-party clients - [SDK](https://docs.memex.garden/general/sdk.md): Install and use the memex-sdk package for the public Memex REST API - [Buy usage balance](https://docs.memex.garden/general/buy-credits.md): How humans and agents add dollar-denominated Memex usage balance - [Available endpoints](https://docs.memex.garden/general/available-endpoints.md): Memex operations, routes, tools, parameters, and auth requirements - [Response shape](https://docs.memex.garden/general/response-shape.md): Response contracts for REST, MCP, skills, and plugins - [Discover relevant Memex actions](https://docs.memex.garden/api-reference/discover-relevant-memex-actions.md): Return a compact catalog of API actions relevant to a user request. Each action includes its stable ID, API binding, effect, approval policy, and required scope. This endpoint aids selection only; individual action endpoints remain the authorization authority. - [Execute a canonical Memex action](https://docs.memex.garden/api-reference/execute-a-canonical-memex-action.md): The uniform action endpoint. Pass a stable actionId from the action catalogue and its action-specific input object. Legacy endpoints remain compatibility routes. - [Unified search across saved Memex content](https://docs.memex.garden/api-reference/unified-search-across-saved-memex-content.md): Compatibility alias for `/search`. Returns content results, extra entities, resolved references, and optional inline notes. Supports optional reranking. - [Unified search across saved Memex content](https://docs.memex.garden/api-reference/unified-search-across-saved-memex-content.md): Compatibility alias for `/search`. Returns content results, extra entities, resolved references, and optional inline notes. Supports optional reranking. - [Save content entity](https://docs.memex.garden/api-reference/save-content-entity.md): Save content entities. URL saves can pass data.url with optional metadata and tags. - [Save content by URL](https://docs.memex.garden/api-reference/save-content-by-url.md): Compatibility URL-save endpoint. New integrations should use /save-content-entity with data.url. - [Create a saved view](https://docs.memex.garden/api-reference/create-a-saved-view.md): Creates a saved view for the authenticated user. A view stores a reusable scope expression that can later be listed or searched. - [List accessible saved views](https://docs.memex.garden/api-reference/list-accessible-saved-views.md): Returns views owned by the authenticated user plus views shared with them. The response also includes tag entities referenced by returned view scopes. - [Search inside a saved view](https://docs.memex.garden/api-reference/search-inside-a-saved-view.md): Runs a full Memex search constrained to the content matched by a saved view. Use `viewId` for an authenticated accessible view, or `token` for a public shared view token. This endpoint returns the full/raw search shape; use `POST /search` with `viewIds` when you need the LLM-ready compact response. - [Create a public sharing link](https://docs.memex.garden/api-reference/create-a-public-sharing-link.md): Creates or returns a public share link for a saved content entity owned by the authenticated user. Use `public_link` for view access and `public_link_contribute` for collaborative access. - [List public sharing links](https://docs.memex.garden/api-reference/list-public-sharing-links.md): Lists public share links for saved content owned by the authenticated user. Optional filters narrow the list by content ID, content type, or public access mode. - [List subscribed feeds for the authenticated user](https://docs.memex.garden/api-reference/list-subscribed-feeds-for-the-authenticated-user.md): Returns the authenticated user's subscribed RSS and YouTube feeds. - [Create an account for a human](https://docs.memex.garden/api-reference/create-an-account-for-a-human.md): Creates a Memex account for a human during an agent-assisted signup flow. This endpoint requires the `x-agent-service-token` service header. - [Fetch current plans](https://docs.memex.garden/api-reference/fetch-current-plans.md): Returns the live Memex pricing catalog used by usage-balance purchase flows. This endpoint does not require authentication. - [Fetch available tag names for the authenticated user](https://docs.memex.garden/api-reference/fetch-available-tag-names-for-the-authenticated-user.md): Returns a deduplicated, alphabetically sorted list of tag names currently available to the authenticated user. - [List auto-tagging rules for the authenticated user](https://docs.memex.garden/api-reference/list-auto-tagging-rules-for-the-authenticated-user.md): Returns the authenticated user's auto-tagging rules. - [Create an auto-tagging rule for the authenticated user](https://docs.memex.garden/api-reference/create-an-auto-tagging-rule-for-the-authenticated-user.md): Creates an auto-tagging rule. Provide `tag_id` or at least one `add_tag_ids` value. - [Complete checkout for an authenticated user](https://docs.memex.garden/api-reference/complete-checkout-for-an-authenticated-user.md): Buys one-time Memex usage-balance plans with a Stripe Shared Payment Token. Send an `Idempotency-Key` header for retry-safe payment attempts. Subscription plans should send the user to `https://memex.garden/pricing`. - [MCP](https://docs.memex.garden/for-agents/mcp.md): High-level instructions for using the hosted Memex MCP server - [Action catalog](https://docs.memex.garden/for-agents/action-catalog.md): Discover the permitted Memex actions for a user request - [Skill.md](https://docs.memex.garden/for-agents/skill-md.md): Copy or download the memex-agent-skill - [Memex plugin](https://docs.memex.garden/for-agents/codex-plugin.md): Install the Memex plugin and connect it to Memex Garden - [Claude plugin](https://docs.memex.garden/for-agents/claude-plugin.md): Install the Memex Claude plugin and connect it to Memex Garden - [GenSpark MCP](https://docs.memex.garden/for-agents/genspark-mcp.md): Connect GenSpark to the hosted Memex MCP server - [GBrain MCP](https://docs.memex.garden/for-agents/gbrain-mcp.md): Connect GBrain to an MCP client - [GPT Researcher MCP](https://docs.memex.garden/for-agents/gptr-mcp.md): Connect GPT Researcher to the hosted Memex MCP server - [OpenClaw plugin](https://docs.memex.garden/for-agents/openclaw-plugin.md): Use memex-agent-skill with OpenClaw and configure Memex credentials separately - [Obsidian plugin](https://docs.memex.garden/for-agents/obsidian-plugin.md): Use Memex inside Obsidian Desktop with browser login, sidebar search, and result cards ## OpenAPI Specs - [openapi](/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.