API keys
Create an API key on your account page to use your nodes from your own tools, and revoke it when you no longer need it.
An API key lets your own tools and scripts use your nodes through the central API at https://api.majesticmesh.com, like an OpenAI or Anthropic endpoint. It can do nothing else.
App key or API key
Your account page has two kinds of keys under Keys:
| Type | What it does |
|---|---|
| App key | Signs in the MajesticMesh desktop app: paste it into the app under Settings. |
| API key | Lets your own tools use your nodes like an OpenAI endpoint. |
The two are not interchangeable. An API key cannot sign in the app or register a node, and an app key does not work on the central API.
Create an API key
- Open your account page and go to Keys.
- Enter a Label so you can recognise the key later, for example the name of the tool that will use it.
- Set Type to API key.
- Click Create key.
- Copy the key from the dialog. API keys start with
mmk_api_.
The key is shown only once. Store it somewhere safe before you click I saved it. If you lose it, revoke it and create a new one.
If you get a message that you have reached the maximum number of active keys, revoke a key you no longer use first.
Keep it secret
- Treat the key like a password or an OpenAI key. Anyone who has it can use your nodes.
- Keep it on a server or in an environment variable, not in a browser or in front-end code. The central API does not allow cross-origin (CORS) requests from web pages.
- Do not commit it to a repository.
Your nodes never see the key itself: the relay keeps it and hands a node only a short-lived token signed for that node.
See and revoke keys
The table under Keys lists every key with its label, type, creation date, when it was last used and its status.
To revoke a key, click Revoke next to it and confirm. Clients that use it stop working. Revoking takes effect within 5 minutes.