# Gurubase Gateway API

Gurubase Gateway is an AI gateway fully compatible with **OpenAI Chat Completions**. You switch by changing only the `base_url` and the API key (virtual key) in your existing OpenAI SDK; no code changes are required.

With masking enabled by default, detected personal-data fields are replaced in Türkiye by Gurubase Siper **before** a request is forwarded to the backend language model (e.g. Azure OpenAI). Masking can be disabled per virtual key; a disabled key forwards the request unchanged (passthrough). The response flows back.

> **Authentication:** All requests are sent with the
> `Authorization: Bearer <SANAL_ANAHTAR>` header. The virtual key is
> generated in the admin panel; the real provider (Azure) key is kept only
> inside the gateway and is never sent down to the client.

Version 1.0

Base URL `https://gw-tr.gurubase.io`

## Chat

OpenAI-compatible Chat Completions endpoints

- [POST Chat Completions (OpenAI compatible) `/v1/chat/completions`](/docs/en/api/gateway/chat/createchatcompletion/)

## Responses

OpenAI-compatible Responses API endpoint

- [POST Responses API (OpenAI compatible) `/v1/responses`](/docs/en/api/gateway/responses/createresponse/)

## Models

List of accessible models

- [GET List accessible models `/v1/models`](/docs/en/api/gateway/models/listmodels/)
