Skip to main content
The credential an AI agent or automation uses to reach your workspace through the MCP Server. An API key can mint, read, edit and rotate these — see Create an MCP token.

The fields that decide what it reaches

Every axis is independent, and every one is narrowed on each request to what the API key’s creator can still reach. A scoped token can only ever be narrower than that person.
bearer_token is never returned to an API key, on any of these endpoints. The secret is handed over through a one-time reveal_url that only opens in its creator’s browser session.
id
string<uuid>
required
read-only
description
string
required
Maximum string length: 80
bearer_token
string
required
read-only
last_used_at
string<date-time> | null
required
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
mcp_config
string
required
read-only

MCP Configuration (Field only visible on expanded view. Expandable)

created_by
integer
required
read-only

Created by (Expandable)

expires_at
string<date-time>

When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.

use_created_by_permissions
boolean
tool_scope
any | null

Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.

live_connection_scopes
object[]
write-only
secret_scopes
string<uuid>[] | null

Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.

semantic_layer_scopes
object | null

Semantic Layer surface of this restricted token: {"folders": [...], "documents": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.

table_scopes
object | null

Catalog links for the TABLES axis: {"layers": [...], "folders": [...], "tables": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.

volume_scopes
object | null

Catalog links for the VOLUMES axis: {"layers": [...], "folders": [...], "volumes": [...]}. The same layer linked here brings volumes only, never tables.

all_tables
boolean
all_volumes
boolean
all_secrets
boolean
all_semantic_layer
boolean
all_live_connections
boolean
tables
string[]

Tables (Expandable)