Skip to main content
In NexusAPI, /v1/responses is for the custom Provider configured in the Codex CLI guide, or for a model whose supported_endpoint_types in /v1/models includes openai-response.
When to use ResponsesUse /v1/responses only when supported_endpoint_types includes openai-response. If you receive status_code=500, not implemented, use the protocol listed for that model; this normally is not a temporary error to retry.

Endpoint and scope

Minimum verification request

Only after model support has been confirmed, test connectivity with:
input is not the same field as Chat Completions messages, and the response must not be parsed as choices[0].message. Use your client’s official schema for complete fields, streaming events, and result handling.

Codex CLI configuration essentials

Keep the key in the NEXUSAPI_API_KEY environment variable, never in config.toml or auth.json. See the Codex CLI guide for installation, OS-specific environment variables, and verification.

What to check first

  1. The key group contains the model and the model ID exactly matches the Model Marketplace.
  2. The client actually requests /v1/responses, not /v1/v1/....
  3. The model’s supported_endpoint_types includes openai-response; if not, use the listed matching protocol.
  4. Keep the Request ID, client version, and complete error text, then follow the self-check guide.