Best-in-class interfaces for developers and agents
Best-in-class interfaces for developers and agents
Best-in-class interfaces for developers and agents
Great agent experience is built on great developer experience. Stainless helps you deliver both, with robust and idiomatic SDKs, documentation that keeps up with your API, and state-of-the-art MCP servers, all derived from your OpenAPI spec.
Great agent experience is built on great developer experience. Stainless helps you deliver both, with robust and idiomatic SDKs, documentation that keeps up with your API, and state-of-the-art MCP servers, all derived from your OpenAPI spec.
Great agent experience is built on great developer experience. Stainless helps you deliver both, with robust and idiomatic SDKs, documentation that keeps up with your API, and state-of-the-art MCP servers, all derived from your OpenAPI spec.
TypeScript
Python
Go
Java
Kotlin
Ruby
Terraform
C#
PHP
import OpenAI from "openai"; import { zodTextFormat } from "openai/helpers/zod"; import { z } from "zod"; const openai = new OpenAI(); const format = zodTextFormat( z.object({ namesOfParticipants: z.array(z.string()) }), "namesOfParticipants" ); const response = await openai.responses.parse({ model: "gpt-5", instructions: "Extract the names of the participants.", input: "Alice and Bob are going to a science fair on Friday.", text: { format }, }); console.log(response.output_parsed);
TypeScript
Python