Module responses

Module responses 

Source
Expand description

§Responses API functionality and route handlers.

This module implements the OpenResponses API specification. See: https://www.openresponses.org/

Structs§

IncludeConfig
Configuration for what to include in the response
OpenResponsesCreateRequest
OpenResponses API create request
OpenResponsesStreamer
OpenResponses streamer that emits proper event types
ReasoningConfig
Reasoning configuration for models that support extended thinking
RequestContext
Request context carrying parameters to echo back in the response.
StreamOptions
Stream options configuration
TextConfig
Text output configuration

Enums§

IncludeOption
Include options for response content.
OpenResponsesInput
Input type for OpenResponses API requests
OpenResponsesStreamEvent
OpenResponses streaming event format
ReasoningSummary
Reasoning summary configuration
TextFormat
Text format configuration

Functions§

cancel_response
Cancel response endpoint
create_response
Create response endpoint - OpenResponses API
delete_response
Delete response by ID endpoint
get_response
Get response by ID endpoint

Type Aliases§

OpenResponsesResponder
Response responder types for OpenResponses API