NEXUS AI Database intelligence API
The Database intelligence API from NEXUS AI — 7 operation(s) for database intelligence.
The Database intelligence API from NEXUS AI — 7 operation(s) for database intelligence.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nexusai-run:nexusai-run-database-intelligence-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Nexusai Run Database intelligence API
version: 1.1.0
description: 'Operations tagged Database intelligence across 2 of this provider''s published API definitions: agents-nexusai-run-openapi.json, nexusai-run-agents-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
security:
- BearerAuth: []
tags:
- name: Database intelligence
paths:
/db-sources:
post:
operationId: platform_connectDatabaseSource
summary: Connect an external database source
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: write
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
engine:
type: string
enum:
- POSTGRESQL
- MYSQL
host:
type: string
port:
type: integer
dbName:
type: string
sslMode:
type: string
username:
type: string
password:
type: string
required:
- name
- engine
- host
- port
- dbName
- username
- password
get:
operationId: platform_listDatabaseSources
summary: List external database sources
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: read
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/db-sources/{id}:
get:
operationId: platform_getDatabaseSource
summary: Get an external database source
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: read
parameters:
- name: id
in: path
required: true
schema:
type: string
delete:
operationId: platform_deleteDatabaseSource
summary: Remove an external database source
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'204':
description: Resource deleted
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: destructive
parameters:
- name: id
in: path
required: true
schema:
type: string
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/db-sources/{id}/test:
post:
operationId: platform_testDatabaseSource
summary: Test an external database connection
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: write
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: false
content:
application/json:
schema:
type: object
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/db-sources/{id}/schema:
get:
operationId: platform_inspectDatabaseSchema
summary: Inspect an external database schema
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: read
parameters:
- name: id
in: path
required: true
schema:
type: string
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/db-sources/{id}/query:
post:
operationId: platform_executeDatabaseQuery
summary: Execute a database query
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: write
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
sql:
type: string
mode:
type: string
enum:
- preview
- execute
default: preview
limits:
type: object
confirmed:
type: boolean
description: Required for DML and DDL
required:
- sql
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/db-sources/{id}/propose-fix:
post:
operationId: platform_proposeDatabaseFix
summary: Propose a database schema fix
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: write
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
logSnippet:
type: string
description: Runtime error log to diagnose
deploymentId:
type: string
required:
- logSnippet
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/db-fix-proposals/{id}/apply:
post:
operationId: platform_applyDatabaseFix
summary: Apply a reviewed database fix
tags:
- Database intelligence
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: write
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: false
content:
application/json:
schema:
type: object
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
components:
schemas:
PlatformError:
type: object
properties:
status:
type: string
message:
type: string
description: 'Human-readable reason, for example "Query blocked: Statement type not permitted"'
required:
- message
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'NEXUS AI Access Token (prefix: nxk_).
Required scopes depend on the endpoint:
- deployments:create - Deploy containers
- deployments:read - View deployment status
- deployments:delete - Destroy deployments
- deployments:logs - View deployment logs
'
x-refined-from:
- agents-nexusai-run-openapi.json
- nexusai-run-agents-openapi.json