response_format interface.
Define object schemas using Pydantic (Python) or Zod (JavaScript) to extract structured information from unstructured text.
Structured Outputs
Direct models to return data that conforms to a specific JSON schema.
Structured Outputs ensure that models follow your supplied JSON schema. Portkey supports this for Anthropic models using a unified
For more, refer to Anthropicโs detailed documentation on Structured Outputs here.
Last modified on June 3, 2026
Was this page helpful?
โI

