API Functionality for coding tools - Codex, Continue.dev
complete
Colt Albrecht
- The /v1/workflows/run endpoint is fire-and-forget — it triggers a run but doesn't return model output in the response, so it can't be used by tools like Continue.dev that need real-time or streamed responses.
- Continue.dev requires a standard OpenAI-compatible /v1/chat/completions endpoint that returns the model's response directly (ideally with streaming support).
Here's why I think this should already be possible on your end:
Your own API docs at https://api-docs.hatz.ai/home/chat-completions document a /v1/chat/completions endpoint with a curl example showing standard OpenAI-format requests and responses. Your changelog also specifically mentions: "Hatz now offers an OpenAI-compatible API endpoint. If a product supports a custom OpenAI base URL (like many coding tools/agents), customers can point it at Hatz."
That's exactly what I'm trying to do — point Continue.dev (a coding tool) at Hatz.
Could you enable the /v1/chat/completions endpoint for API keys? Specifically:
- The endpoint to accept new or existing API keys (via X-API-Key or Bearer)
- Standard OpenAI chat completions request/response format
- Streaming support (stream: true) if available
- Access to Hatz LLM models
J

Julia Carroll
updated the status to
complete
This shipped with AI Gateway! Codex CLI, Claude Code, OpenCode and more can now run through Hatz. Your MSP admin turns it on under Settings → AI Gateway, then you copy the ready-made setup for your tool and click Test connection. Here's a walkthrough: https://www.youtube.com/watch?v=bX6X6pbRVCk
M

Mark Leeper
updated the status to
under review
J
Jonas Geisel
The API for OpenAI responses and for chat completions seems a little incomplete for buggy based on what the official API docs say. I struggled all day and failed at setting up an OpenAI compatible model in Zed Editor to Hatz. It seems like the Bearer token auth method is buggy.
B
Blaise DeZarate
GREAT IDEA!