NAME
OpenAPI::Client::OpenAI::Path::responses - Documentation for the /responses path.
DESCRIPTION
This document describes the API endpoint at /responses
.
PATHS
POST /responses
Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model's response.
Operation ID
createResponse
$client->createResponse( ... );
Parameters
Request Body
Content Type: application/json
Responses
Status Code: 200
OK
Content Types:
application/json
Example (See the OpenAI spec for more detail):
text/event-stream
Example (See the OpenAI spec for more detail):
SEE ALSO
COPYRIGHT AND LICENSE
Copyright (C) 2023-2025 by Nelson Ferraz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.