Skip to main content
Before the split, one personal key could hold model access and platform scopes at the same time, for example Completion API together with Agent API or Knowledge Folder API. With the Model Gateway, new keys hold one kind only. Keys created before the split show the Gateway + Platform badge.

What keeps working

  • A combined key keeps working on every endpoint it worked on before, on api.langdock.com and on gateway.langdock.com.
  • Its spend still counts toward its owner’s spend limit.
  • You can reduce its scopes with Reduce scopes, but you cannot add scopes to it.
  • There is no shutdown date for combined keys today. They are marked as deprecated so you can replace them at your own pace.
If you revoke a combined key, it stops working everywhere, for model calls and for the Platform APIs.

Replace a combined key

1

Find your combined keys

In Settings > Account > API keys, filter Type by Gateway + Platform. Admins find all of them under Model Gateway > Manage and Platform API > Manage.
2

Create one key of each kind you need

Create a Model Gateway key for the tools and code that call models, and a Platform API key with the scopes your automations use. If the old key ran agents, turn on Run agents on the Model Gateway key.
3

Update your tools

Put the Model Gateway key into your coding tools and AI code, and the Platform API key into scripts that manage agents, workflows or knowledge folders. While you are at it, move model calls to gateway.langdock.com (see below).
4

Revoke the old key

Check that Last used of the old key no longer changes, then revoke it.

Move model calls to the Model Gateway endpoint

The classic endpoints keep working. Moving to the gateway gives you every model in every format, the estimated cost in each response and request level analytics. The provider paths also work on the gateway, for example https://gateway.langdock.com/api/public/openai/eu/v1/chat/completions, so a tool that only lets you change the host keeps working. Keep these on api.langdock.com: agent runs, embeddings, workspace keys and every Platform API.

For admins

  • Workspace keys keep every scope they have. In the create dialogs you now choose a Model Gateway or a Platform API workspace key. Workspace keys keep using the classic endpoints for model calls.
  • Do not narrow Personal API key scopes to force members off combined keys. Narrowing removes those scopes from existing keys immediately and they do not come back. Ask members to create new keys instead.
  • Model Gateway > Manage lists combined keys with a note that revoking them also stops their Platform API access.