OpenAI — API access
openai/api · version 1
envs add openai/api
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
OPENAI_API_KEY |
required | secret | Billed per call. Never reaches the browser.. Shape ^sk-[A-Za-z0-9_-]{20,}$. Rotate every 180 days. where to get it |
OPENAI_ORG_ID |
optional | config | Only needed when an account has more than one org.. Shape ^org-[A-Za-z0-9]{16,}$. where to get it |