Skip to content
English

API Reference

Find documented endpoints, request examples, and protocol differences to clarify compatibility scope.

This page collects the existing endpoint documentation and request examples on this site. This site provides both Claude and OpenAI / GPT models. Choose the corresponding protocol based on the model and tool; the specific models are subject to the list available to your key.

EndpointPurposeDescription & Examples
POST /v1/messagesAnthropic native conversationRequest & Response, Anthropic SDK, curl
POST /v1/chat/completionsOpenAI-compatible conversationRequest & Response, OpenAI SDK, curl
POST /v1/responsesOpenAI ResponsesRequest & Response, Codex CLI
GET /v1/modelsQuery models available to your keyList format & query, Model selection
POST /v1/messages/count_tokensInput token countingEndpoint description
POST /v1/images/generationsText-to-image generationImage generation integration

For Claude native capabilities, first refer to the Anthropic integration tutorial. Before switching protocols, verify that the required capabilities are described in the corresponding tutorial; do not infer that tool calls, caching, or long-running tasks are supported solely because a request succeeds.

Codex uses /v1/responses; see Codex CLI integration. The currently available models are subject to the model description and the list actually returned by your key.

Endpoint details provide minimal requests, common fields, result reading, and compatibility boundaries; full parameters still require combining the protocol documentation of the selected model. This site does not yet provide a downloadable complete OpenAPI specification.

Embeddings, Batch, file hosting, and third-party proprietary models not confirmed in the public directory are not within the scope of commitment on this page. Confirm with support first when you need these capabilities.