Endpoints under the OpenAI-compatible surface.
| Method | Path | Description |
|---|---|---|
| POST | /v1/responses | Create a Responses API response, with SSE when stream=true. |
| GET | /v1/responses/{response_id} | Retrieve a response. |
| POST | /v1/chat/completions | Forward Chat Completions. |
| POST | /v1/conversations | Create a conversation container. |
| GET | /v1/conversations/{conversation_id} | Retrieve a conversation. |
| POST | /v1/conversations/{conversation_id} | Update a conversation. |
| DELETE | /v1/conversations/{conversation_id} | Delete a conversation. |
Responses
Responses example
curl https://api.flexkey.ai/v1/responses \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4",
"input": "Write a one sentence release note."
}'The minimal body requires `model`. `input` can contain text, messages, images, files, or tool results depending on the Responses format you use.
Chat Completions
Standard /v1/chat/completions endpoint, compatible with existing OpenAI SDKs.
Conversations
Create, retrieve, update, and delete conversation containers for multi-turn interactions.