OpenAI responses
Unified OpenAI-compatible responses endpoint for text generation, multimodal input, and structured outputs.
Body·
required
application/json
- inputrequired
- Type: string
- Type: stringmodelrequired
- Type: stringinstructions
- Type: integermax
_output _tokens Integer numbers.
Responses
- application/json
- application/json
Request Example for post/v1/responses
curl https://api.apigo.ai/v1/responses \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"model": "gpt-4.1",
"input": "",
"instructions": "",
"max_output_tokens": 1
}'
{
"id": "string",
"object": "response",
"status": "string",
"output_text": "string",
"output": [
{}
],
"usage": {
"input_tokens": 1,
"output_tokens": 1,
"total_tokens": 1
}
}