openai-responses-api

Integrate OpenAI's Responses API to generate and parse structured outputs.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/ziltorian/instructions --skill openai-responses-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-responses-api
Source: https://github.com/ziltorian/instructions/tree/main/.github/skills/openai-responses-api
Command: npx skills add https://github.com/ziltorian/instructions --skill openai-responses-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenAI's Responses API integration guide that helps developers switch from Chat Completions to the more efficient, structured Responses API and orchestrate multi-turn workflows with built-in tools.

Core Features & Use Cases

  • Structured outputs: generate and parse structured data from model responses.
  • Multi-turn workflows: chain responses using store or previous_response_id for context.
  • Tooling integration: utilize built-in tools like web_search, file_search, and code_interpreter to augment responses.

Quick Start

Configure your OpenAI client and call the Responses API to get structured outputs ready for parsing.

Frequently Asked Questions about openai-responses-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch from Chat Completions to the OpenAI Responses API for structured outputs?

Switch from Chat Completions by configuring your Python OpenAI client and using `client.responses.create` to generate structured outputs, then parse the results directly using the built-in parsing methods.

How do I maintain conversation context in multi-turn workflows using the OpenAI Responses API?

Maintain multi-turn conversation context in the Responses API by using the `store` parameter or passing `previous_response_id` to chain responses together without manually resending the entire message history.

Can I use built-in tools like web_search and code_interpreter with the OpenAI Responses API?

Yes, the Responses API supports built-in tooling integration, allowing you to augment model responses by utilizing tools like `web_search`, `file_search`, and `code_interpreter` directly within your API calls.

What is the best way to parse structured data from OpenAI model responses in Python?

The best way to parse structured data is using the `client.responses.parse` method, which handles the conversion of chat-style prompts into structured results ready for immediate programmatic use.

Do I need to manually load configuration settings to create a multi-turn OpenAI Responses API workflow?

You need to load configuration settings using `get_config()` to properly set up your OpenAI client before executing multi-turn workflows and leveraging built-in tools via the Responses API.