Files
OmniRoute/docs/i18n/tr/docs/reference/API_REFERENCE.md
Diego Rodrigues de Sa e Souza 143c087d47 feat(i18n): locale-expansion tooling — add-locale orchestrator, aliases, translation-ratio gate; retire duplicate 'in' locale (#12496)
Locale aliases (uk, fil/tl, zh-hant, legacy in→id) with fixed browser/CLI/cookie detection; config/i18n.json shipped in the npm package; duplicate 'in' locale retired (42 honest locales); real-translation ratio gate with ratchet baseline (advisory); add-locale orchestrator + shared libs (batched translation backend, config-generated language bars, run-translation --adopt/--targets-only, scaffold helpers); tests derive the locale count from config with surface parity guards; docs and every public locale-count claim aligned.
2026-09-02 17:45:50 -03:00

6.1 KiB
Raw Blame History

title, version, lastUpdated
title version lastUpdated
API Referansı 3.8.50 2026-08-23

API Referansı (Türkçe)

🌐 Languages: 🇺🇸 English · 🇸🇦 ar · 🇦🇿 az · 🇧🇬 bg · 🇧🇩 bn · 🇨🇿 cs · 🇩🇰 da · 🇩🇪 de · 🇪🇸 es · 🇮🇷 fa · 🇫🇮 fi · 🇫🇷 fr · 🇮🇳 gu · 🇮🇱 he · 🇮🇳 hi · 🇭🇺 hu · 🇮🇩 id · 🇮🇹 it · 🇯🇵 ja · 🇰🇷 ko · 🇮🇳 mr · 🇲🇾 ms · 🇳🇱 nl · 🇳🇴 no · 🇵🇭 phi · 🇵🇱 pl · 🇵🇹 pt · 🇧🇷 pt-BR · 🇷🇴 ro · 🇷🇺 ru · 🇸🇰 sk · 🇸🇪 sv · 🇰🇪 sw · 🇮🇳 ta · 🇮🇳 te · 🇹🇭 th · 🇺🇦 uk-UA · 🇵🇰 ur · 🇻🇳 vi · 🇨🇳 zh-CN · 🇹🇼 zh-TW


Tüm OmniRoute API uç noktaları için eksiksiz referans dokümantasyonu.


İçindekiler


Sohbet Tamamlama (Chat Completions)

POST /v1/chat/completions
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "model": "cc/claude-opus-4-6",
  "messages": [
    {"role": "user", "content": "Python'da bir fonksiyon yaz..."}
  ],
  "stream": true
}

Özel Başlıklar

Başlık Yön ıklama
X-OmniRoute-No-Cache İstek Önbelleği atlamak için true ayarlayın
x-omniroute-no-memory İstek Bu istek için bellek ve yetenek enjeksiyonunu atlamak için true ayarlayın
X-OmniRoute-Progress İstek İlerleme olayları için true ayarlayın
X-Session-Id İstek Harici oturum yakınlığı için yapışkan oturum anahtarı
Idempotency-Key İstek Tekilleştirme anahtarı (5 saniyelik pencere)
X-OmniRoute-Cache Yanıt HIT veya MISS (akışsız modda)
X-OmniRoute-Idempotent Yanıt İstek tekilleştirilmişse true
X-OmniRoute-Version Yanıt OmniRoute derleme sürümü (her zaman bulunur)
X-OmniRoute-Decision Yanıt Yönlendirme izi: strategy=<ad>; provider=<alias>; latency_ms=<n>

Gömme (Embeddings)

POST /v1/embeddings
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "model": "text-embedding-3-small",
  "input": "Vektör haline getirilecek metin"
}

Görsel Üretimi (Image Generation)

POST /v1/images/generations
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "prompt": "Güneş batarken fütüristik bir şehir",
  "n": 1,
  "size": "1024x1024"
}

Arama API'si (Search API)

POST /v1/search
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "query": "OmniRoute AI gateway nedir?",
  "provider": "perplexity"
}

Uyumluluk Uç Noktaları

  • OpenAI Responses: POST /v1/responses
  • Anthropic Messages: POST /v1/messages
  • Gemini Native: POST /v1beta/models/{model}:generateContent
  • Ollama Chat: POST /v1/api/chat
  • Token Sayımı: POST /v1/messages/count_tokens