> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langdock.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Completion API Overview

> Provider-compatible completion endpoints for OpenAI, Anthropic, Google, and Mistral models through one Langdock API key

The Completion API gives you provider-compatible completion endpoints through one Langdock API key. Each endpoint follows the official specification of its provider, so you can use existing SDKs and clients by changing the base URL.

## Before You Start

* **API key**: To use the API, create a [personal API key](/en/using-langdock/account/personal-api-keys) or ask your workspace admin for a workspace API key with the Completion API scope.
* **Regions**: Each endpoint includes a `{region}` path segment. See the endpoint pages for the supported regions and how to list the models available in your workspace.

## Base URL

```
https://api.langdock.com
```

<Warning>
  **Dedicated deployments**

  Replace `api.langdock.com` with `<your-deployment-url>/api/public` in all requests.
</Warning>

## Available Endpoints

| Method | Endpoint | Description |
| - | - | - |
| `POST` | `/openai/{region}/v1/chat/completions` | [OpenAI Chat Completions](/en/developer/completion-api/openai) |
| `POST` | `/openai/{region}/v1/responses` | [OpenAI Responses](/en/developer/completion-api/openai-responses) |
| `POST` | `/openai/{region}/v1/images/generations` | [OpenAI Image Generations](/en/developer/completion-api/openai-images) |
| `POST` | `/anthropic/{region}/v1/messages` | [Anthropic Messages](/en/developer/completion-api/anthropic) |
| `POST` | `/google/{region}/v1beta/models/{model}:{action}` | [Google Gemini](/en/developer/completion-api/google) |
| `POST` | `/mistral/{region}/v1/fim/completions` | [Mistral Codestral](/en/developer/completion-api/mistral) |

## Rate Limits

Rate limits are enforced per workspace, model, and API key. See the Rate limits section on each endpoint page for the current limits and how they are shared.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.