Repository navigation
docs(api): document POST /v1/decisions relay - #1087
Merged
Merged
Conversation
Co-authored-by: Eden Reich <[email protected]>
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
November 3, 2026 18:05
3 tasks
Contributor
|
🗑️ Preview environment destroyed. |
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Nov 8, 2026
## [0.9.24](0.9.23...0.9.24) (2026-11-08) ### 📚 Documentation * **api:** decisions modality gate and DECISIONS_ENABLED ([#1089](#1089)) ([3616486](3616486)) * **api:** document POST /v1/decisions relay ([#1087](#1087)) ([407e169](407e169)) * **cli:** a tool batch waits for every approval ([#1113](#1113)) ([699250d](699250d)) * **cli:** ag-ui nextStepSuggestion state key ([#1102](#1102)) ([746fca2](746fca2)) * **cli:** browse a session's artifacts from the chat TUI ([#1081](#1081)) ([102d37d](102d37d)) * **cli:** compute.yaml, workspace compute and infer compute ([#1137](#1137)) ([3102bf0](3102bf0)) * **cli:** daemon workspace peer protocol and /a2a endpoint ([#1084](#1084)) ([ce5b2c2](ce5b2c2)) * **cli:** document the decisions judge backend ([#1091](#1091)) ([1176121](1176121)) * **cli:** drop protocol_version from the daemon binding handshake ([#1080](#1080)) ([99168eb](99168eb)) * **cli:** gateway tls settings for private ca and mtls ([#1073](#1073)) ([7a15982](7a15982)) * **cli:** hosted mcp servers and workspace secrets ([#1129](#1129)) ([d3f79c5](d3f79c5)) * **cli:** markdown agents pick mcp servers with mcpServers ([#1143](#1143)) ([39d024f](39d024f)) * **cli:** web terminal take-over mode and computer use ([#1096](#1096)) ([67e71c3](67e71c3)), closes [#1092](#1092) * **configuration:** document mutual TLS for server and provider clients ([#1066](#1066)) ([e6137ef](e6137ef)) * **daemon:** /tasks, list_tasks and cancel_task frames ([#1112](#1112)) ([e1e90e8](e1e90e8)) * **daemon:** document list_shortcuts and shortcuts frame ([#1108](#1108)) ([f782738](f782738)) * **daemon:** list_files and [@path](https://github.com/path) file expansion ([#1109](#1109)) ([10caff2](10caff2)) * **daemon:** list_issues and #N issue expansion ([#1105](#1105)) ([8c13c28](8c13c28)), references [#N](https://github.com/inference-gateway/docs/issues/N) * **daemon:** open a thread as a named agent ([#1117](#1117)) ([56f65e7](56f65e7)) * **desktop:** @ file and # issue menus in the composer ([#1120](#1120)) ([4332f5d](4332f5d)) * **desktop:** agent computers and take over ([#1098](#1098)) ([2cc1fbb](2cc1fbb)) * **desktop:** an agent chat runs as its Markdown agent ([#1116](#1116)) ([8dd875c](8dd875c)) * **desktop:** an agent's AgentMail inbox and api key ([#1127](#1127)) ([b077462](b077462)) * **desktop:** an agent's default project ([#1123](#1123)) ([29099c4](29099c4)) * **desktop:** cancelled tool calls and optimization notes ([#1121](#1121)) ([36a3357](36a3357)) * **desktop:** compute tab clusters and workspace cluster picker ([#1141](#1141)) ([1fb60c9](1fb60c9)) * **desktop:** document moving a chat to a workspace ([#1100](#1100)) ([e98906e](e98906e)) * **desktop:** document the Workspaces settings tab ([#1099](#1099)) ([e78871f](e78871f)) * **desktop:** mcps tab and an agent's mcp servers ([#1140](#1140)) ([cdc9fb3](cdc9fb3)) * **desktop:** per-component version pinning in Updates ([#1138](#1138)) ([6943898](6943898)) * **desktop:** provision a local k3s cluster in one click ([#1125](#1125)) ([920572b](920572b)) * **desktop:** secrets tab and inbox key as secret ([#1139](#1139)) ([5e032b7](5e032b7)) * **operator:** client tls crd validation rules ([#1069](#1069)) ([feb3925](feb3925)) * **operator:** document spec.pod on gateway, agent and mcp ([#1064](#1064)) ([ea1ec91](ea1ec91)) * **operator:** gateway crd mutual tls fields ([#1067](#1067)) ([740ce4a](740ce4a)) * **operator:** https probes and single tls server port ([#1065](#1065)) ([4ea36e5](4ea36e5)) * **operator:** orchestrator binding service metadata ([#1077](#1077)) ([a2c326c](a2c326c)) * **operator:** spec.pod sidecar containers and volumes ([#1075](#1075)) ([ff6e9cd](ff6e9cd)) * **typescript-adk:** document the S3 (RustFS) artifact provider rename ([#1085](#1085)) ([87f91b4](87f91b4)) ### 🔧 Miscellaneous * **deps-dev:** bump the bun group with 2 updates ([#1070](#1070)) ([bfc0117](bfc0117)) * **deps-dev:** bump the bun group with 2 updates ([#1130](#1130)) ([38d5f56](38d5f56))
Contributor
|
🎉 This PR is included in version 0.9.24 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Documents the new
POST /v1/decisionsendpoint, which relays the OpenAI Decisions API byte-for-byte the same way/v1/responsesdoes.api-reference.md: new "Decisions API" section between Responses and Images. Covers the endpoint and?provider=query parameter, theprovider/modelprefix being stripped while the rest of the body passes through, the threeDecisionQuestiontypes (predicate,choice,score), a curl example with one predicate question againstopenai/gpt-6-luna, theDecisionresponse shape, the absence of streaming and MCP tool injection, the model allow/deny list and body size limit behaviour (403 / 413), and the unsupported-provider 400 with the verbatim messageThe Decisions API is not supported by this provider yet.supported-providers.md: a note under the provider matrix marking the Responses and Decisions APIs as OpenAI-only, with the 400 message. The matrix table itself is generated from the schema, so the note sits in the hand-written prose right below it.Request and response examples and the error message were taken from the gateway implementation on branch
feat/issue-816-20261103-1623(api/routes.go,tests/api_decisions_test.go), not invented.The generated API reference sections will pick up
CreateDecisionRequest/DecisionQuestion/Decisionautomatically after the nextschemasrelease - no generator change needed here.Validation
bun run lint:md,bun run format:check,bun run buildandbun testall pass.Closes #1086
Generated with Claude Code