Functions
Cancels an in-progress response.
Cancels a background response and returns its current result metadata.
Compacts context into items suitable for a later response.
Creates a response with current request controls and complete result metadata.
Deletes a stored response.
Retrieves a response by its identifier.
Creates a model response.
Lists input items for a response.
Lists current input items, optionally including tool or reasoning fields.
Counts input tokens without generating output.
Opens a scoped Responses WebSocket. The block owns the connection lifetime. Requires a WebSocket-capable engine. secure=false is intended only for trusted local servers.
Resumes events from a stored background response after a sequence number.
Retrieves a current response, optionally including additional tool or reasoning fields.
Streams a current response. Cancelling collection closes the HTTP connection.