Yunhai AI platform · One API, multiple modelsView offers
Yunhai
DocsConsoleEN / 中Sign in
DocumentationResponses API

Responses API

The Responses API serves models and coding tools that support this protocol.

Example request

bash
curl http://localhost:3187/v1/responses \
  -H "Authorization: Bearer $YUNHAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_MODEL_ID","input":"Hello"}'

Confirm support

Select an upstream and model that support Responses. Support for Chat Completions does not automatically imply support for Responses or tool calls.

Coding tools

Codex custom providers use the Responses protocol. See the Codex guide.