DOCUMENTATION
API リファレンス
OpenAI 互換のエンドポイントを提供します。
Evaluation sandbox: use
gpt-6.1-sol (check GET /v1/models). Azure models activate after contract.認証
すべてのリクエストに Authorization: Bearer <API_KEY> を付けます。キーはコンソールで発行・失効できます。
Authorization: Bearer sk-...
エンドポイント
| Method | Path | Body |
|---|---|---|
| POST | /v1/chat/completions | OpenAI Chat Completions |
| POST | /v1/responses | OpenAI Responses |
| POST | /v1/messages | Anthropic Messages |
| POST | /v1/embeddings | Embeddings |
| GET | /v1/models | — |
Chat Completions
POST /v1/chat/completions
Content-Type: application/json
{
"model": "gpt-6.1-sol",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello"}
],
"temperature": 0.7,
"max_tokens": 1024
}
{
"id": "chatcmpl_...",
"object": "chat.completion",
"model": "gpt-6.1-sol",
"choices": [
{
"index": 0,
"message": {"role": "assistant", "content": "Hello!"},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 18,
"completion_tokens": 5,
"total_tokens": 23
}
}
ストリーミング
stream: true を指定すると SSE で応答します。プロキシは proxy_buffering off で設定済みです。
data: {"choices":[{"delta":{"content":"Hel"}}]}
data: {"choices":[{"delta":{"content":"lo"}}]}
data: [DONE]
レート制限
プランごとに RPM / TPM を設定します。上限はコンソールに表示されます。
| Plan | RPM | TPM |
|---|---|---|
| PoC | 60 | 100,000 |
| Standard | 600 | 1,000,000 |
| Enterprise | Custom | Custom |
Limits are examples. Actual limits are shown in the console and the contract.