Skip to content

Update from code changes: BYO org AI provider API keys#948

Open
mintlify[bot] wants to merge 5 commits into
mainfrom
mintlify/b81a581c
Open

Update from code changes: BYO org AI provider API keys#948
mintlify[bot] wants to merge 5 commits into
mainfrom
mintlify/b81a581c

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Document the new AI providers & models card that lets org admins BYO Anthropic/OpenAI keys for Ask AI and control which models are exposed to users.

Changes

  • Added a "Bring your own AI providers and models" section to guides/ai-agents/getting-started.mdx covering:
    • Where to set keys (Ask AI → Settings → General → AI providers & models) and feature-flag gating.
    • Fallback behavior when a provider key is set or removed.
    • The org default-model dropdown surfacing providers the org has keyed.
    • Per-provider Available to users toggle and Allowed models allow-list, including the "at least one model" guarantee.
    • Anthropic-only BYOK auto-hides OpenAI (never falls back to instance OpenAI).
    • Key-gated models (Claude Opus 4.8 unlocks once the org's Anthropic key can access it).
    • The Active badge, all-providers success callout, and per-provider guidance when a visible provider has no org key.
    • Security model (encryption at rest, providerApiKeysSet boolean, redacted providerApiKeyHint, keys vs. visibility must be updated in separate requests).
    • v1 scope: chat/agent utility calls (including data-app clarification and sandbox generation); embeddings and eval judge still use the instance key.
  • Added a note to guides/ai-agents/reviews.mdx that Reviews is automatically paused while any BYO AI provider key is set.

Context

Sourced from:

Update history

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

All checks passed! No issues found.

@mintlify

mintlify Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Jul 8, 2026, 12:44 AM

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

All checks passed! No issues found.

@mintlify

mintlify Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

Update from code changes updated this PR.

Expanded the BYO AI keys docs with provider and model visibility controls, and noted reviews pause when BYO keys are set.

Source PRs

@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

All checks passed! No issues found.

@mintlify

mintlify Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Update from code changes updated this PR.

Documented the BYOK confirmation UI on the AI providers card and noted data-app sandbox generation now uses BYO Anthropic keys.

Source PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant