docs: cap.json endpoint + Models bring-your-own-key wizard#81
Merged
Conversation
Post-merge docs follow-up for the cap.json endpoint + Models bring-your-own-key wizard merged in usezombie/usezombie#373. - changelog: new <Update> (Jun 07, 2026) for the Models bring-your-own-key wizard and the public cap.json document — renames model-caps.json (old path 404s, no alias), adds the global rates/billing block, models[] unchanged. - cli/zombiectl: `tenant provider set` now names the cap.json endpoint. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Post-merge docs follow-up for the cap.json endpoint + Models bring-your-own-key wizard, merged in usezombie/usezombie#373.
<Update>(Jun 07, 2026): the Models bring-your-own-key wizard, and the publiccap.jsondocument that renamesmodel-caps.json(old path404s, no alias) and adds the globalrates/billingblock.models[]shape unchanged.zombiectl tenant provider setnow names thecap.jsonendpoint (was "model-caps endpoint").Notes
models[]shape is unchanged. The dashboard andzombiectlresolve it for the user.model-caps.jsonare left intact (append-only history).🤖 Generated with Claude Code
Greptile Summary
This PR adds changelog and CLI reference documentation for two features shipped in usezombie/usezombie#373: the Models BYOK wizard (inline credential creation on the Models page) and the rename of the public model catalogue endpoint from
model-caps.jsontocap.json.changelog.mdx— new<Update>block (Jun 07, 2026) covering the breaking path rename, the BYOK wizard UI flow, and a full API reference forGET /_um/<key>/cap.jsonwith its{ version, models, rates, billing }shape.cli/zombiectl.mdx— one-line update tozombiectl tenant provider setdescription replacing "model-caps endpoint" with`cap.json` endpoint.Confidence Score: 5/5
Pure documentation update with no code changes; both files are internally consistent and accurately reflect the breaking rename.
Both changes are documentation-only. The changelog entry follows the fixed section order (Upgrading → What's new → API reference), uses the correct date label format, carries the Breaking tag, and documents the cap.json shape completely. The CLI reference change is a single accurate sentence update. No functional code is touched.
No files require special attention.
Important Files Changed
Sequence Diagram
sequenceDiagram participant Client participant API as Public API (_um/<key>/) participant Dashboard participant zombiectl note over API: Path renamed: model-caps.json → cap.json Client->>API: "GET _um/<key>/cap.json (unauthenticated)" API-->>Client: "{ version, models[], rates, billing }" note right of Client: Wrong key → 404<br/>Empty catalogue → 503 note over Dashboard: BYOK Wizard (new) Dashboard->>API: GET cap.json (populate model picker) API-->>Dashboard: models[] + global config Dashboard->>Dashboard: Detect provider from key prefix Dashboard->>Dashboard: Save credential inline Dashboard->>Dashboard: Activate model — no page hop zombiectl->>API: Resolve context cap via cap.json note right of zombiectl: zombiectl tenant provider set<br/>now references cap.json endpointReviews (1): Last reviewed commit: "docs: changelog + CLI prose for cap.json..." | Re-trigger Greptile
Context used: