curl --request POST \
--url https://api.caprioletech.com/v1/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "openai-latest",
"input": "Hello World!"
}
'
{}
Endpoints
Responses
Create OpenAI Responses-compatible output with Capriole AI Responses models.
POST
/
v1
/
responses
curl --request POST \
--url https://api.caprioletech.com/v1/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "openai-latest",
"input": "Hello World!"
}
'
{}
Use this endpoint when your application, SDK, or agent expects the OpenAI Responses request and response format.
Send a standard Responses payload with
model and input. Capriole AI resolves latest aliases to the selected upstream model ID before upstream dispatch, forwards compatible fields such as instructions, tools, reasoning, previous_response_id, and stream, and returns the upstream JSON or SSE stream unchanged.
POST /v1/responses accepts openai-latest, openai/gpt-6-astra, openai/gpt-6.1-sol, openai/gpt-6-sol, openai/gpt-6-luna, openai/gpt-5.6-terra, openai/gpt-5.6-luna, and openai/gpt-5.5. Use openai-latest to let Capriole AI choose our recommended flagship OpenAI Responses model.
You can also send native OpenAI IDs without the openai/ prefix, such as gpt-6-astra. Native and prefixed IDs resolve to the same model entry for routing, pricing, and quota.
Claude and Google latest aliases are not supported on this endpoint. Grok 4.5, GLM 5.2, and Kimi K3 use Chat Completions and are also not supported here. Use POST /v1/chat/completions when you want one OpenAI-compatible endpoint that can call every public model.
For simple Capriole-native text generation, use POST /v1/chat. Use POST /v1/responses when OpenAI Responses wire behavior is required.Authorizations
Use an API key created in the Capriole AI page. Send it as Authorization: Bearer sk-....
Body
application/json
Native OpenAI ID, public Responses-compatible model key, or OpenAI latest alias
Available options:
gpt-6-astra, gpt-6.1-sol, gpt-6-sol, gpt-6-luna, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, openai-latest, openai/gpt-6-astra, openai/gpt-6.1-sol, openai/gpt-6-sol, openai/gpt-6-luna, openai/gpt-5.6-terra, openai/gpt-5.6-luna, openai/gpt-5.5 OpenAI Responses input string or item list.
Optional system-level instructions.
OpenAI Responses-compatible tool definitions.
OpenAI Responses-compatible reasoning options.
Stream the response as OpenAI Responses-compatible server-sent events.
Response
OpenAI Responses-compatible JSON response or SSE stream
OpenAI Responses-compatible response body.
Last modified on September 30, 2026