Voxta docs

API keys

What an API key may do, how to give an app only what it needs, and what older keys can do after upgrading.

An API key lets a program act as your account without your password. Examples are the VAM plugin, Voxy, a Discord bot, or your own scripts. Each key carries scopes: the list of things it may do. A key made for a chat bridge does not also get to edit every character you own.

Creating a key

Settings › Apps › API keys → Create API key. Name it after the client, then tick what it may do. API keys aren't offered in the mobile app.

A new key starts with Chats ticked and nothing else. Everything beyond that is a choice you make on purpose. The key is shown once, when it is created. Copy it then.

One key per client, so you can delete one without breaking the rest.

Scopes

Shown asScopeWhat it allows
ChatschatStart, read and delete this account's chats, send messages, and use the generation services.
InferenceinferenceThe OpenAI-compatible endpoints and the Decisions API. Nothing else.
Edit resourcesresources.writeCreate, edit, import and delete characters, scenarios, memory books, collections and packages.
Edit servicesservices.writeCreate, edit and delete presets, and choose which module and preset each service uses. Admin-only preset fields stay out of reach.
Observe chatssessions.readWatch this account's other open chats, audio included.
Drive chatssessions.writeSend messages into this account's other open chats.
Answer tool promptstools.writeAnswer tool permission prompts for anything short of destructive, and switch between Ask, Plan and Allow Edits.
Allow destructive toolstools.dangerousAnswer destructive prompts, choose Allow All, and give a chat a working folder, the shell and the disk tools.
Module developmentmodules.devBuild, load and test modules through the Module Development MCP endpoint. Administrators only, from the server's machine only.

Answer tool prompts and Allow destructive tools are marked dangerous. A key without either cannot answer a tool prompt. A person has to.

Allow destructive tools reaches the machine, so it is held to the same bar as an administrator doing it in person. It is only offered on an administrator account with a password, it includes Answer tool prompts, and it only works for a client connecting from the machine the server runs on.

Module development runs the code of the modules it loads. It is also marked dangerous. It works only for an administrator account, only from the machine the server runs on, and only when that account has the Module Development module. An account without a password can use it, because the key is refused from other machines.

Apps that ask for a key

Some apps sign in with a code instead of a pasted key. They show a code, and you enter it on Voxta's device page and approve. The approval screen lists the scopes the app asked for. You can untick any of them. Scopes your account cannot grant are shown greyed out with the reason, so the app does not find out at its first refused request. You can take scopes away, but you cannot add ones the app did not ask for.

An app running on the Voxta computer can skip the code. Voxta pops up "Authorize an app" with the scopes and three numbers. If you started it, pick the number the app shows. A wrong number or Deny turns the app down. Closing the popup only hides it. The name is the app's own claim, so approve only what you just started.

Keys made before 1.11

Older keys keep working, unchanged. They were issued one of three roles, which now read as:

Old keyNow holds
role:appChats, Inference, Edit resources, Observe chats, Drive chats
role:providerObserve chats, Drive chats
role:inspectorObserve chats

No old key gets a tool scope. Nobody agreed to hand an app the shell when those keys were made. To let a client answer tool prompts, create a new key with that scope.

This version ignores scopes it does not know, so the key doesn't break. A key made by a newer Voxta still works for everything both versions understand.

Keys and encryption

A key issued before you turned on encryption, or before your last key rotation, cannot read your content. The API keys page flags it. Delete it and create a new one.

On this page