Skip to content
Good MorningDocs
Dashboard

Create a response (OpenAI Responses API)

POST
/responses
curl --request POST \
--url https://api.saygm.com/v1/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

OpenAI-compatible Responses API. Use the OpenAI SDK with base_url set to https://api.saygm.com/v1; the request and response bodies match the OpenAI Responses schema.

Media typeapplication/json
object
Examplegenerated
{}

An OpenAI Responses object, or a text/event-stream when stream is true.

object
Examplegenerated
{}

Invalid request (e.g. unknown model).

Media typeapplication/json
object
error
object
message
string
type
string
code
string | null
Examplegenerated
{
"error": {
"message": "example",
"type": "example",
"code": "example"
}
}