Skip to Content
Orbyte Labs

API keys

Create, list, and revoke keys in the linked environment.

Create a key

npx orbytelabs api-key create --name "Usage server"

The CLI prints the secret once. Save it on your server as ORBYTE_API_KEY.

Add --preset ingestion for balance reads, access checks, and usage tracking. The default standard preset also permits catalog deployment, grants, and checkout.

For an AI assistant or another read-only integration:

npx orbytelabs api-key create --name "AI assistant" --preset read_only

The read_only preset grants read permissions without allowing writes. See MCP server for client setup.

List keys

npx orbytelabs api-key list --limit 25
npx orbytelabs api-key list --cursor CURSOR

Lists show metadata without secrets. The CLI prints a continuation command when another page is available. --limit accepts 1 to 100.

Revoke a key

npx orbytelabs api-key revoke KEY_ID

Use the ID from api-key list. Revocation immediately prevents further use. These commands use your saved user login and the directory's linked environment. Unset ORBYTE_API_KEY for key administration so the shared CLI client selects your saved login. API keys cannot create, list, or revoke other keys.

On this page