GeminiGoogle AIintegrationsAPIVault

How to connect Google Gemini to your CapturedIt library

Give Gemini access to your saved links, notes, and research via the Context Hub OpenAPI schema — setup in AI Studio or Gemini with API key auth.

CapturedIt Team·

Google Gemini is strong at reasoning across documents — but it does not know what you have saved in your personal research library. Connecting CapturedIt gives Gemini searchable access to your captures through the same Context Hub API that powers ChatGPT Custom GPTs.

What Gemini can do with your library

  • Search items by keyword or topic
  • Retrieve summaries and full content for grounded answers
  • Reference specific saves you trust instead of hallucinating sources
  • Create new captures when your API key includes write scope (Vault)

Prerequisites

  • CapturedIt Vault plan (API and assistant integrations)
  • Google account with access to Gemini or Google AI Studio
  • A CapturedIt API key with Search and Read context scopes

Setup steps

  1. Create an API key: In CapturedIt, go to Dashboard → Security and create a key with Search and Read context. Copy it when shown — you will not see it again.
  2. Open Gemini or AI Studio: Go to aistudio.google.com or your Gemini app settings.
  3. Add an external API or extension that accepts OpenAPI import and API key (Bearer) authentication. The exact menu label varies by Gemini version — look for “Import OpenAPI” or “Connect API.”
  4. Paste the schema URL: https://api.capturedit.app/api/v1/openapi.json
  5. Set authentication: API key / Bearer token, header Authorization, value = your CapturedIt API key.
  6. Add instructions (optional): Tell Gemini to search your CapturedIt library when you ask about saved content, and to cite only what the API returns.

The same schema URL and key are shown on Dashboard → Connections → AI assistants.

Verify it works

Ask Gemini a question that requires your library, for example:

  • “Search my CapturedIt library for articles I saved about product-market fit.”
  • “What did I save last week about React Server Components?”

Gemini should call the search endpoint and summarize real results — not invent items.

Troubleshooting

  • 401 Unauthorized: Check the API key is pasted correctly in Bearer auth. Create a new key if unsure.
  • Schema import fails: Confirm the full URL includes /api/v1/. Re-import from URL rather than uploading a stale file.
  • No results returned: Verify items are not marked private. Private captures are excluded from API responses.
  • Vault required: API keys for assistant integrations require Vault.

Related guides

Connect Gemini to your library

Copy the schema URL and create your API key from Connections → AI assistants.

Open Connections → Integrations

Ready to put this into practice?

Start building your AI-powered second brain with CapturedIt.

Get started free