OpenAI
Credential
Section titled “Credential”| Field | Description |
|---|---|
admin_key | An OpenAI Admin API key (prefix sk-admin-) |
Set via the TUI Providers screen or the environment variable OPENAI_ADMIN_KEY / OPENAI_API_KEY.
What is listed
Section titled “What is listed”- Org-level admin keys — queried from
/organization/admin_api_keys - Project-scoped keys — queried from
/organization/projects/{id}/api_keysfor every project in the organisation
Each key includes name, created_at, last_used_at, created_by (user/service account), and the project scope.
Configuration fields
Section titled “Configuration fields”| Field | Default | Description |
|---|---|---|
enumerate_all_projects | true | Fetch keys from all org projects |
include_org_level_keys | true | Include org-scoped admin keys |
exclude_projects | (empty) | Comma-separated list of project names to skip |
Configure these in the TUI Providers screen → OpenAI → Configuration section.
Key patterns
Section titled “Key patterns”| Pattern ID | Regex | Description |
|---|---|---|
openai-project-key | sk-(?:proj|svcacct)-[A-Za-z0-9_\-]{20,200} | Project / service account key |
openai-admin-key | sk-admin-[A-Za-z0-9_\-]{20,200} | Admin API key |