We’re making an important update to how Agent Builder invocation responses are structured. This change improves flexibility for future enhancements and ensures consistency across all endpoints.
We don’t expect this update to impact most users, but we’re sharing details so you can confirm your integrations continue to work as expected. These updates will go live within the next few days — by Monday at the latest.
Response objects are being simplified.
Previously, responses were wrapped in a response parent field with a list of choices.
Now, the response root has been removed, and choices has been replaced with an output array that contains either TextOutput or ToolOutput items.
The customOutputs field remains the same, now located at the root level.
Example response:
If you are using the AI Agent Interaction Client in your OnBase solution, you will need to upgrade the script. Please download the most current file here.
If you’re using streaming endpoints — which we believe most users aren’t yet — please note that the structure has changed significantly.
Streaming now includes clear “start” and “end” events (CreatedChunk and CompletedChunk) with a response id to link chunks together. Any sourceNodes will appear in customOutputs on the completed chunk.
Example (simplified):
We’re introducing versioning for endpoints going forward, so this should be the last time you’ll experience a breaking change. Future updates will be released as new versions, allowing for smooth transitions.
If you experience any issues or need clarification, please reach out via your usual support channels or community thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.