Responses
[OI] Responses wire.
POST /v1/responses is the [OI] Responses wire. It is bridged to the provider's native wire automatically, including for providers that only speak chat.
Request
curl https://api.aivokey.dev/v1/responses \
-H "Authorization: Bearer sk-aivo_..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"input": "Write a haiku about caching.",
"max_output_tokens": 256
}'
Notes
- Streaming emits
response.*events and ends withresponse.completed. - Usage is read from the
response.completedevent. - For Anthropic-only providers the request is bridged Responses → Chat → Messages transparently; the client still speaks Responses.