This feature is currently in beta, with attributions and other capabilities planned for future release.
- Define your schema, which must be valid JSON and include the
json_schemakey. - Pass the schema as part of your
/queryrequest.
Contextual AI Python SDK users must include the schema under the
structured_output key in the extra_body parameter.- Parse the returned message as JSON-formatted data: