OpenAI responses
Text
/v1/responses
Unified OpenAI-compatible responses endpoint for text generation, multimodal input, and structured outputs.
POST
OpenAI responses
Creates a unified response object for text generation, structured output, tool calls, and multimodal input. Compared withDocumentation Index
Fetch the complete documentation index at: https://docs.ent.apigo.ai/llms.txt
Use this file to discover all available pages before exploring further.
chat.completions, this endpoint is a better fit for new integrations because text, images, reasoning controls, and tools all share one response model. Supported fields still vary by model.
Integration guidance
- Authenticate with
Authorization: Bearer {API_KEY} - Prefer this endpoint when you want one surface for text, JSON output, tool calls, and future multimodal workflows
- Use
previous_response_idto continue a conversation without resending the full history - For reasoning-model workflows, centralize
reasoning,max_output_tokens, andtoolsin your server-side gateway - Streaming clients should consume incremental events instead of waiting for one final payload
Request highlights
inputis the primary input field and can carry text or multimodal content blocksmodelselects the target model for the responseprevious_response_idis the main way to chain turns across a conversation- For structured output, declare explicit JSON formatting requirements and validate server-side
- For tool use, pass
toolsand handle tool call outputs explicitly
Response highlights
- Simple text can often be read from
output_text - Richer results should be read from
output[] - Tool calls, reasoning traces, and multimodal outputs all share the same response object
- Usage and status metadata should be read from the response object rather than inferred from text alone
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
