Responses
Send input to a model and receive a response
post/responses
Request body
Example request
{
"text": {
"format": {
"type": "text"
}
}
}Response
Success
Example response
{
"id": "resp_abc123",
"object": "response",
"output": [
{
"type": "message",
"role": "assistant",
"content": [
{
"type": "output_text"
}
]
}
]
}