responses
Responses Api
Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses
Supports background mode with polling_via_cache for partial response retrieval. When background=true and polling_via_cache is enabled, returns a polling_id immediately and streams the response in the background, updating Redis cache.
# Normal request
curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{
"model": "gpt-4o",
"input": "Tell me about AI"
}'
# Background request with polling
curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{
"model": "gpt-4o",
"input": "Tell me about AI",
"background": true
}'
post/openai/v1/responses
Request
- Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
- URL: https://apiclaw.biz/openai/v1/responses
- Auth: API key in header x-litellm-api-key
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.