Add Decisions API reference and Universal API page - #1098
Merged
Merged
Conversation
API pages are stubs that pull from the Portkey-AI/openapi spec, so a new endpoint needs its own stub and nav entry to appear. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
2 of 4 tasks
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Adds a Decisions API reference stub and navigation entries for the Latest and Virtual Keys versions.
Changes:
- Adds
POST /decisionsOpenAPI reference stub. - Adds Decisions navigation entries after Rerank.
| File | Description |
|---|---|
docs.json |
Adds Decisions navigation entries in both versions. |
api-reference/inference-api/decisions.mdx |
Defines the Decisions API reference stub. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Add a product page for /v1/decisions in both Portkey and aigw docs, list it after Responses in the Universal API nav, and link it from the Universal API endpoint list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PaloAltoNetworks/openapi#4 added POST /decisions to the Prisma AIRS spec. Sync the Inference nav from it, and link the aigw Decisions page to the generated reference page. Also drop the plan-tier box, which does not apply to Prisma AIRS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vrv-panw
approved these changes
Sep 29, 2026
prabhash-varma
approved these changes
Sep 29, 2026
This branch was successfully deployed
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
api-reference/inference-api/decisions.mdx(openapi: post /decisions).product/ai-gateway/decisions-api.mdxand lists it after Responses in the Universal API group. The page has a quick start, question types, and gateway features.aigw/product/ai-gateway/decisions-api.mdx, with the aigw base URL, auth header, and links. It links to the generated aigw reference page and has no plan-tier box.aigw/scripts/sync_api_nav.py --applygenerated it from Add the Decisions endpoint PaloAltoNetworks/openapi#4, which is merged.universal-api.mdxfiles to the new page.The two doc sets wire the API reference in different ways:
aigw/) has no stubs. Nav groups carryopenapiand name their operations, and Mintlify generates a page for each one. The spec repo owns those groups, andsync_api_nav.pycopies them in, so aigw needs no.mdxfor the endpoint.Merge after Portkey-AI/openapi#160. That PR adds the
/decisionsoperation that the Portkey reference page renders. The aigw side is already live in PaloAltoNetworks/openapi.Test plan
docs.jsonparses, and the new pages occur once in each versionaigw/scripts/sync_api_nav.pyreportsin sync/aigw/api-reference/decisions/create-decisionsunder Inference > Decisions🤖 Generated with Claude Code