Create Response
Creates a model response, optionally interacting with custom tools via the Model Context Protocol (MCP). This endpoint supports conversational continuation and streaming.
Authorizations
Body
Request model for creating a new response.
This model defines all the parameters needed to create a new model response, including model configuration, input data, tool definitions, and conversation continuation.
Text generation configuration parameters. Used for advanced text generation settings.
An alternative to temperature sampling, called nucleus sampling, where the model considers the results of tokens with top_p probability mass. So 0.1 means only tokens comprising the top 10% probability mass are considered. Default is 1.0. We generally recommend altering this or temperature but not both.
0 <= x <= 1Response
Successful Response
Represents a response object returned from the API.
A response includes the model output, token usage, configuration parameters, and metadata about the conversation state.