Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
structuredOutput with HTTP API - Mastra
M
Mastra
•
5mo ago
•
4 replies
switchtrue
structuredOutput with HTTP API
How do you use structuredOutput via the HTTP API
? I see that there is a
structuredOutput.schema
structuredOutput.schema
property that can be passed in the POST body
, but I
'm not sure what format it
's meant to be in
. When passing json schema I seem to get errors
.
Mastra
Join
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
5,321
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
structuredOutput issue with Zod primitives
M
Mastra / help-bugs-problems
5mo ago
agent.generate() with structuredOutput.model throws "promise 'text' was not resolved or rejected
M
Mastra / help-bugs-problems
4mo ago