API Keys API

Reference for the 7 API Keys operations in the Intuidy API.

Updated in Intuidy 2026.11.218 min read

Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.

OperationMethod and pathAuthorization
List API keysGET /keysWeb session
Create an API keyPOST /keysWeb session
Update an API keyPATCH /keys/{keyId}Web session
Revoke an API keyDELETE /keys/{keyId}Web session
Apps connected as this keyGET /keys/{keyId}/connectionsWeb session
Disconnect one appDELETE /keys/{keyId}/connections/{grantId}Web session
What would this key reach?GET /keys/{keyId}/probeWeb session

List API keys

GET /keys

Returns all API keys for the authenticated user.

Managed via the Intuidy web interface (session-authenticated). Not reachable with a Bearer API key.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Response 200 OK

The body fields:

FieldTypeDescription
keysarray of object—
keys[].idinteger—
keys[].namestring—
keys[].prefixstringFirst 8 characters of the key for identification
keys[].scopesarray of string—
keys[].scope_level"user" or "client"—
keys[].createdstring (date-time)—
keys[].last_usedstring (date-time) or null—
keys[].kind"key" or "oauth""key" is a pasted key; "oauth" is a grant an MCP client got through OAuth sign-in
keys[].sensitive_readboolean or null—
keys[].sensitive_writeboolean or null—
keys[].expires_atstring (date-time) or null—

Create an API key

POST /keys

Create a new API key with specified scopes. The full key value is only returned once in the response — store it securely.

Managed via the Intuidy web interface (session-authenticated). Not reachable with a Bearer API key. Creating a client-level (organization-wide) key requires an administrator role.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Request body (application/json)

FieldTypeRequiredDescription
namestringYesHuman-readable key name
scopesarray of "workflows:read" or "workflows:write" or "workflows:execute" or "templates:read" or "templates:write" or "ontology:read" or "ontology:write" or "policies:read" or "policies:write" or "agents:read" or "agents:write" or "agents:execute" or "users:read" or "users:write" or "approvals:read" or "approvals:write" or "notebooks:read" or "notebooks:write" or "dashboards:read" or "dashboards:write" or "databases:read" or "databases:write" or "knowledge:read" or "integrations:read" or "integrations:write" or "mcp" or "mcp:read" or "mcp:write"NoPermission scopes (default: [workflows:read])
scope_level"user" or "client"No"user" for personal access, "client" for admin/org-wide access
sensitive_readboolean or nullNoWhether this key may read items marked sensitive (Settings → Data Sensitivity). false blocks it for this key even where the owner's role allows it; true or null never widen past the role. null = not set.
sensitive_writeboolean or nullNoThe same switch for writing to items marked sensitive.

Response 200 OK

The body fields:

FieldTypeDescription
keystringFull API key (only shown once). Starts with vntg_
idinteger—
namestring—
prefixstring—
scopesarray of string—
expires_atstring (date-time) or null—

Update an API key

PATCH /keys/{keyId}

Update the name or scopes of an existing API key.

Managed via the Intuidy web interface (session-authenticated). Not reachable with a Bearer API key.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Path parameters

NameTypeRequiredDescription
keyIdintegerYes—

Request body (application/json, optional)

FieldTypeRequiredDescription
namestringNo—
scopesarray of stringNo—
expires_atstring (date-time) or nullNoISO 8601 expiry in the future; null clears it. Same rule as key creation.
sensitive_readboolean or nullNoWhether this key may read items marked sensitive (Settings → Data Sensitivity). false blocks it for this key even where the owner's role allows it; true or null never widen past the role. null = not set.
sensitive_writeboolean or nullNoThe same switch for writing to items marked sensitive.

Response 200 OK

Errors 400, 403, 404. See Errors, pagination and limits.

Revoke an API key

DELETE /keys/{keyId}

Permanently revokes an API key. This action cannot be undone.

Managed via the Intuidy web interface (session-authenticated). Not reachable with a Bearer API key.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Path parameters

NameTypeRequiredDescription
keyIdintegerYes—

Response 200 OK

Errors 403, 404. See Errors, pagination and limits.

Apps connected as this key

GET /keys/{keyId}/connections

Lists the apps holding an OAuth connection bound to this key — one row per connection, not per token, so a client that has refreshed forty times is still one entry. A bound connection has no key of its own (it acts as this one), which is why it is listed here rather than beside the keys. Requires a signed-in web session, like the other key management operations: a compromised API key must not be able to enumerate or sever its own connections.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Path parameters

NameTypeRequiredDescription
keyIdintegerYes—

Response 200 OK

The body fields:

FieldTypeDescription
successboolean—
connectionsarray of object—
connections[].grantIdstringThe connection lineage, stable across refresh rotation
connections[].clientIdstringThe OAuth client — a Client ID Metadata Document URL, or a registered client id
connections[].connectedstring (date-time)—
connections[].lastRefreshedstring (date-time)—

Errors 401, 404. See Errors, pagination and limits.

Disconnect one app

DELETE /keys/{keyId}/connections/{grantId}

Ends a single OAuth connection bound to this key, leaving the key — and every other app connected as it — working. Revoking the key itself instead ends all of them. Permission mirrors revoking the key: company-wide keys are administrators only, personal keys are the owner's.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Path parameters

NameTypeRequiredDescription
keyIdintegerYes—
grantIdstringYes—

Response 200 OK

The body fields:

FieldTypeDescription
successboolean—

Errors 401, 403, 404. See Errors, pagination and limits.

What would this key reach?

GET /keys/{keyId}/probe

Applies the same ownership rules that every access method enforces and counts what they match, so the answer matches actual authorization. The secret is never returned. Requires a signed-in web session, like the other key management operations: a compromised API key must not be able to enumerate the reach of other keys.

Authorization: signed-in web session only. An API key or OAuth token can’t call this operation.

Path parameters

NameTypeRequiredDescription
keyIdintegerYes—

Response 200 OK

The body fields:

FieldTypeDescription
successboolean—
keyIdinteger—
namestring—
scopesarray of string—
scopeLevelstring—
activeboolean—
expiredboolean—
reachobject—
reach.workflowsinteger—
reach.notebooksinteger—
reach.dashboardsinteger—
reach.agentsinteger—

Errors 404, 429. See Errors, pagination and limits.