Keys / Unstructured
UNSTRUCTURED_API_KEY
The Unstructured API key your app parses and extracts documents with. Transform and Business SaaS keys are separate; get the one for the API you call.
- Expires
- the docs don't say
- API
- none documented; dashboard only
Get it
Create one on transform.unstructured.io/api-keys. The steps aren't recorded yet.
Set it
UNSTRUCTURED_API_KEY=...
The Transform Python client reads it from this variable when you don't pass a key. The unstructured-client SDK for Business SaaS doesn't; your app passes it in. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- Create a new key: on Transform's API keys page, or for Business SaaS, under API Keys in the same workspace.
- Deploy it everywhere that reads
UNSTRUCTURED_API_KEY. - Check that requests succeed with the new key, then remove the old one. On Business SaaS you can disable it first, and re-enable it if something breaks, before you delete it.
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.