Keys / LlamaIndex

LLAMA_CLOUD_API_KEY

The LlamaCloud API key your app calls LlamaParse, Extract and Index with. Each key belongs to the user who made it and one project.

Expires
the docs don't say
API
none; dashboard only

Get it

Create one on cloud.llamaindex.ai. The steps aren't recorded yet.

Set it

LLAMA_CLOUD_API_KEY=...

The llama-cloud SDKs for Python and TypeScript read it from this variable when you don't pass a key. If it isn't set, they read LLAMA_PARSE_API_KEY. Or keep it out of .env with keypin: keypin run -- npm run dev

Replace it

  1. On the API Key page, in the same project, generate a new key and copy it. You can't view it again after you leave the page.
  2. Deploy it everywhere that reads LLAMA_CLOUD_API_KEY.
  3. Check that requests succeed with the new key, then revoke the old one. Revoking can take up to a minute.

Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.

Sources, checked 2026-11-16