> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniall.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Responses

> OpenAI Responses API format on Omniall AI.

# Responses

OpenAI **Responses** format (separate from Chat Completions):

```http theme={null}
POST https://api.omniall.ai/v1/responses
Authorization: Bearer sk-...
```

| Endpoint | Purpose |
| - | - |
| `POST /v1/responses` | Create a response |
| `POST /v1/responses/compact` | Compact a long conversation |

| Scenario | How |
| - | - |
| Text | `input` string or items |
| Image understanding | `input_image` |
| File analysis | `input_file` |
| Web search | tool `{ "type": "web_search_preview" }` |
| Agent | function tools in `tools` |
| Multi-turn | `previous_response_id` |
| Reasoning | `reasoning.effort` |

Official docs: [Responses](https://platform.openai.com/docs/api-reference/responses)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.