structuredOutput with HTTP API

How do you use structuredOutput via the HTTP API? I see that there is a 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.
1 Reply
Mastra Triager
GitHub
[DISCORD:1433953229430980729] structuredOutput with HTTP API · Iss...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1433953229430980729 How do you use structuredOutput via the HTTP API? I see that there is a structuredOutp...

Did you find this page helpful?