/api/v1/responses
Beta: This endpoint is currently in beta and may be unstable. Request/response schemas and behavior may change without notice. It is available to all API users.
Create a model response in OpenAI's Responses API format. Works with every Venice text model and returns typed output items such as reasoning, message, and function_call. Set stream: true to receive Server-Sent Events.
Most OpenAI models are forwarded to OpenAI's Responses API natively. Other models, and requests that use Venice features such as web search or characters, are translated through Chat Completions, where some Responses features are not supported. Send x-venice-responses-mode: native or compat to choose the mode, and read the x-venice-responses-lane response header to see which one served the request.
Venice does not store responses, so send the full conversation in input on every request. E2EE-capable models are not supported on this endpoint; use /api/v1/chat/completions with the required E2EE headers instead.
See the Responses API guide for the features and limitations of each mode.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
Request
- Base URL: https://api.venice.ai
- URL: https://api.venice.ai/api/v1/responses
- Auth: one of:
- HTTP bearer
- API key in header SIGN-IN-WITH-X
Request body
Example request
{
"model": "zai-org-glm-5-1",
"fallbacks": [
{
"model": "claude-opus-4-8"
}
],
"prompt_cache_retention": "24h",
"anon_user_id": "end-user-123"
}Response
Successful response
Example response
{
"id": "resp_abc123"
}Changes
No recorded changes to this operation across all 1 revision of this API.