API Keys
Generate, copy, identify, and revoke a personal Runner API key safely.
Updated Nov 17, 2026 · 5 min read
Create a personal API key for a script or tool, store its one-time secret, and revoke it when you no longer need it.
API keys are personal secrets for programmatic Runner access. Create one only for an application you trust, store it securely, and revoke it when it is no longer needed.
Before you start
- API keys is on for your account. It is conditional and appears only when enabled.
- A trusted secret manager to store the key. Runner shows the full key only once.
- You need a personal key, not a read-only Analytics API key. Those are in Workspace General.Workspace General
The page states Let your scripts use Runner as you. Keys belong to your personal account, not one store.
Never put a full key in chat, Agent Memory, a Skill, a screenshot, source control, or product documentation.
Open API keys
Select Settings → your account name → API keys. If the entry is absent, the feature is not available for the current account.
The API keys page reads Let your scripts use Runner as you. It has the Generate new key button and the empty state No keys yet. Create one when you want a script or tool to act on your behalf. Select the image to enlarge it.
The empty list is the starting state. No secret was generated or displayed in this example.
Inspect the dialog before creating a credential
- Select Generate new key.
- Find the optional Name field; a label such as
Reporting integrationhelps identify the application later. - Select Cancel if you are only exploring. No key is created until you select Create key.
The workflow below applies when API Keys is available and you are ready to store a new secret.
Generate and store a key
- Open your account name → API keys.
- Select Generate new key.
- Enter a descriptive Name, such as the application or environment. Do not put a secret in the name.
- Select Create key.
- In API key generated, reveal the key only if needed and select Copy.
- Store it in a trusted secret manager.
- Confirm the stored value before selecting I have saved it.
- Use the table Prefix to identify the key later without exposing the full value.
Runner warns that the full key will not be shown again. If you close the dialog without saving it, revoke that key and create a replacement rather than trying to recover the secret.
Revoke a key
- Match the intended key by Name and Prefix.
- Select its delete icon.
- Review the Revoke confirmation.
- Select Revoke only when the dependent application is ready to stop using it.
- Confirm API key revoked and remove the old secret from the application.
Revocation is destructive and cannot be undone. Create a new key if access is needed again.
What a key can call
A key works only with the Runner API at https://api.runnerai.com/v1. Send it in the header Authorization: Bearer <key>.
| To do this | Use |
|---|---|
| Any store or workspace action that an AI app can do through the Runner MCP server | GET /v1/tools lists the tools of the workspace. POST /v1/tools/{name} calls one tool. |
| Make an SDK with one typed method for each tool | Give an SDK generator https://api.runnerai.com/v1/doc/tools. |
| A simple read or change of sites, products, orders, customers, promotions, settings, analytics, deployments, domains or workflows | The other /v1 endpoints. They stay as they are. New actions come only as tools. |
The API reference is at https://api.runnerai.com/v1/docs.
Controls on the page
| Entry or button | Why it is useful | What happens next |
|---|---|---|
| Generate new key | Create a new credential. | A dialog opens with an optional Name field. |
| Name | Identify the application later without exposing the secret. | The name appears in the key table; blank creates an untitled key. |
| Create key | Generate the credential. | Runner opens API key generated and displays the full secret once. |
| Eye icon | Check the full newly generated value before storing it. | The one-time value is shown or masked in the success dialog. |
| Copy icon | Copy the new key accurately. | Runner copies it to the clipboard and shows confirmation. |
| I have saved it | Close the one-time secret view. | The full value is cleared from the dialog and cannot be shown again there. |
| Existing key table | Identify keys safely. | Runner shows Name, Prefix, Created, and Last Used, not the full secret. |
| Delete icon | Revoke an existing key. | A confirmation explains that revocation cannot be undone. |
| Revoke | Disable the selected key. | After success, the key is removed from the list and can no longer authenticate. |
States and limits
- The normal empty state reads No keys yet. Create one when you want a script or tool to act on your behalf.
- A new key’s full value appears only in its success dialog.
- Existing rows show a prefix and usage dates, not a recoverable key.
- Never under Last Used means Runner has not recorded a request for that key.
- Create and Revoke buttons show progress and should not be submitted repeatedly.
Didn’t work?
Pick what you see.
API keys is missing
The feature is disabled for this account. Do not use a copied direct link.
Copy to the clipboard fails
Reveal the new value and copy it by hand into a secure secret manager, then hide it again.
You lost a full key
Revoke its row and generate a replacement.
An application stops working after you revoke a key
Update it with a newly created key. The old key cannot be restored.
You selected the wrong key to revoke
Select Cancel in the confirmation, then compare Name and Prefix again.