Repository navigation
Hide internal Search endpoints in API reference - #636
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
There was a problem hiding this comment.
Risk: Very Low. Approving.
The diff adds one 14-line OpenAPI overlay, search-api-overlay.yaml. It extends https://api.onkernel.com/spec.json (the spec referenced by the API Reference tab in docs.json) and removes four paths: /search, /search/{id}, /search/{id}/contents, and /search/providers.
Mintlify applies auto-discovered overlays whose extends matches a spec when docs.json has no explicit overlay list, so this will drop those operations from the published API reference. Those four paths are present on the live spec today, so the removals target real operations.
This does not change API runtime behavior, auth, permissions, or infrastructure. Blast radius is the generated docs pages for those four routes. No CODEOWNERS file is present.
Sent by Cursor Automation: Assign PR reviewers


Description
Search is currently internal, so hide it in the API reference to avoid confusing anyone reading it.
Note
Low Risk
Documentation-only overlay; no runtime API or auth behavior changes.
Overview
Adds an OpenAPI overlay (
search-api-overlay.yaml) that layers onhttps://api.onkernel.com/spec.jsonand strips Search routes from the published API reference:/search,/search/{id},/search/{id}/contents, and/search/providers.Search stays internal; the public docs no longer surface those endpoints.
Reviewed by Cursor Bugbot for commit 4d3a93c. Configure here.