Add the Decisions endpoint - #4
Merged
Merged
Conversation
POST /decisions on the gateway plane, ported structure-only from Portkey-AI/openapi#160: the path, its request and response schemas, a Decisions tag in the Inference group, and a planes.yaml entry citing where it came from. The build stamped the docs URL, stubbed the overlay and regenerated the navigation fragment. Samples and prose were dropped, as for every other operation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vrv-panw
added a commit
to Portkey-AI/docs-core
that referenced
this pull request
Sep 29, 2026
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>
2 of 5 tasks
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 /decisions(createDecisions) on the gateway plane. It is ported structure-only from Add /v1/decisions endpoint spec Portkey-AI/openapi#160: the path and theCreateDecisionsRequest,CreateDecisionsResponse,DecisionsQuestionandDecisionsAnswerschemas.Decisionstag to the Inference group intags-map.yaml. It has nofrom, because the tag is new here./decisionsto thegatewayplane in_project/planes.yaml, with a newhowvalue,portkey-openapi#160, documented in the file header.scripts/build.pygenerated the rest: the href/aigw/api-reference/decisions/create-decisions, overlay stubs for the tag and operation, thedocs-navigation.jsongroup, andbuild-report.txt.securityblock and all prose were dropped, as for every other operation.Not verified
model. The docs say TypeSafe defaults it tojev-latestwhen omitted. This keeps the Portkey spec'srequiredlist; engineering should confirm which is right.Test plan
scripts/check.py: all checks passed (43 tags, 188 operations)scripts/build.py --check: up to datescripts/lint.pyfails onpath-params(/api-keys/{sub-type}vs/api-keys/{id}). That failure is already onmainfrom Drop the scope segment from the API key create path #3 and is not from this change.sync_api_nav.py --apply🤖 Generated with Claude Code