Console and API keys
The Slice console is where you manage your Slice Cloud account: plan, API keys, functions, usage and activity. One account holds several keys and functions and one monthly allowance of runs.
Sign up or sign in
Section titled “Sign up or sign in”| You are | Go to |
|---|---|
| New to Slice Cloud | slicevm.com/console/?mode=signup |
| Returning | slicevm.com/console |
Both use the same flow: enter your email, and we send a one-time link that works for 15 minutes. Open it and press Sign in. There are no passwords. The first sign-in creates your account.
If you bought a plan before the console existed, sign in with the email you used at checkout: your plan, remaining runs and existing key appear in the console automatically, and the old key keeps working with full access. The older account page, where you paste a key to see its usage, still works but the console replaces it.
Choose a plan
Section titled “Choose a plan”New accounts pick a plan once:
- Free starts immediately, no card needed, and shows your first key (
default). - Pro and Scale open checkout with your email filled in. Use the same address so the plan lands on your account. Your existing keys keep working and get the new limits.
Limits per plan are on Plans and limits. Account in the side nav links to billing and invoices, or to upgrade.
Sections
Section titled “Sections”| Section | What it is for |
|---|---|
| Overview | Runs used this period, the refill date (UTC), your plan limits and shortcuts to keys and functions. |
| Sandbox | Running code remotely: the eval endpoint, the hosted MCP endpoint and how to connect. See Sandbox. |
| Functions | Create, deploy, roll back, configure and test functions, and see each run in its run log. |
| MCP servers | The default and named hosted MCP servers: compose their tools, see what an agent sees, try them, connect snippets and call log. |
| Artifacts | Files your runs kept (24 hours on Free, 7 days on Pro, 30 days on Scale), grouped by day and run, filtered by source or name, with previews (images at fit or actual size, CSV tables, JSON trees, text with line numbers), download and delete, and storage used against your plan. Run logs link straight to a run’s files. |
| API keys | Create, rotate and revoke keys. |
| Usage | The last 30 days: sandbox, function and MCP runs, then by function or by key, with code errors, runs stopped by the sandbox and average VM time. |
| Activity | Sign-ins and every key and function change. |
Sandbox, Functions and MCP servers each open with the same row: runs in the last 30 days, code errors and runs stopped by the sandbox, then the counts and limits that matter for that product. A function’s Test tab shows the files the run wrote, with the same previews.
API keys
Section titled “API keys”An account can hold several keys (Free 2, Pro 10, Scale 25). Every key draws on the account’s single monthly allowance of runs, so a second key for CI or staging does not add runs, and the runs-in-flight limit applies to the whole account.
Create one under API keys, Create key: give it a name, an access level and an optional expiry. A key’s secret is shown exactly once, when you create or rotate it. Store it in a secret manager.
Access
Section titled “Access”Each key has one of these access levels:
| Access | Scope | Can call |
|---|---|---|
| Full access | * |
Everything, including /v1/cas/upload |
| Sandbox eval only | sandbox:eval |
POST /v1/sandbox/eval and the MCP slice_eval_ts tool |
| Invoke any function | functions:invoke |
POST /v1/functions/<name>/invoke and the MCP fn_<name> tool for every function |
| Invoke one function | functions:invoke:<name> |
That one function, over HTTP or MCP, nothing else |
.cas uploads need the cas:upload scope, which Full access includes. Reading kept artifacts needs artifacts:read and reading run logs runs:read (both in the “Read run logs and artifacts” access option) and deleting them artifacts:delete; Full access includes both. A request outside the key’s access gets 403 forbidden and is not charged. On the hosted MCP server, tools/list shows only the tools the key may call.
Keys can expire after 7, 30, 90 or 365 days; an expired key gets 401 unauthorized.
Recommended keys
Section titled “Recommended keys”Use one key per place it lives, with the least access that works. If one leaks, you revoke that key and nothing else breaks.
| Use | Access | Expiry |
|---|---|---|
| AI agent or editor (MCP) | Sandbox eval only (sandbox:eval), or one function |
30 or 90 days |
| Backend that runs user code | Sandbox eval only | Never, rotate on a schedule |
| CI and deploy scripts | Full access, only if they upload .cas bundles; otherwise the narrowest that works |
90 or 365 days |
| Frontend, partner or customer | Invoke one function (functions:invoke:<name>) |
As short as practical |
A key in a browser can be read by anyone who opens the page. Only ever ship a key limited to one function there, and set that function’s runs in flight and allowed hosts so misuse stays cheap.
Rotate
Section titled “Rotate”Rotate creates a new key with the same name and access and shows its secret. Choose how long the old key keeps working while you switch: immediately, 1 hour, 24 hours or 7 days. Lost a key? Rotate it with Immediately.
Revoke
Section titled “Revoke”Revoke deletes the key. It stops working within a minute.
Usage and activity
Section titled “Usage and activity”Overview shows runs used this period, the refill date (UTC) and your limits. Usage totals the last 30 days by product and breaks them down by function or by key, with failed runs split in two and average VM time. Every run is either a sandbox run (HTTP or SDK eval, MCP run code, a code-mode script) or a function run (HTTP invoke, an MCP function tool, a call from a code-mode script, a console test). MCP is a way in rather than a product: Through MCP counts the runs that came through an MCP server, and they are already part of the other two. Each MCP server’s page shows its own runs and its refused calls (daily cap, rate limit, quota or bad input), which never ran and are not charged. Code errors are runs where your code threw or exited with a non-zero code. Stopped by sandbox are runs the sandbox ended: fuel, memory or time ran out, or the code did not catch a refused capability. A refusal your code catches is not a failure; it appears in the run’s deniedCapabilities. Runs from before November 27, 2026 count every failure as a code error. Numbers update about once a minute. Runs from the console’s Test button are listed under the key console.
Activity lists sign-ins and every key and function change. Sign out everywhere ends every console session on every device.
The same plan and usage are available to code at GET /v1/account, which costs no run.
Security
Section titled “Security”- Sign-in links are single use and expire after 15 minutes. Opening a link does not sign you in until you press the button, so mail scanners cannot use it.
- The console session is an HttpOnly, Secure cookie that lasts 30 days from your last visit.
- We never store key secrets; only their first characters are shown.