OpenAI Responses
Create Response
OpenAI Responses-compatible endpoint. Mirrors OpenAI's /v1/responses wire format for use with OpenAI-compatible clients such as OpenCode and the AI SDK OpenAI provider.
This route is client-managed for tools: the model may return function call output items, but the server does not execute tools. Your client is responsible for executing tools and sending results back.
post/openai/responses
Request
- Base URL: https://ai.hatz.ai/v1
- URL: https://ai.hatz.ai/v1/openai/responses
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Request body
Example request
{
"model": "gpt-5.2"
}Response
Successful response. Returns an OpenAI Responses-format object when stream is false, or a stream of Server-Sent Events when stream is true.
Example response
{
"id": "resp_abc123def456"
}Changes
No recorded changes to this operation across all 1 revision of this API.