NEXUS AI Managed databases API

The Managed databases API from NEXUS AI — 8 operation(s) for managed databases.

GitHub OpenAPI

Operations 11

GET /managed-databases List managed databases #
POST /managed-databases Create a managed database #
GET /managed-databases/{id} Get a managed database #
DELETE /managed-databases/{id} Delete a managed database #
GET /managed-databases/{id}/connection Get managed database connection information #
POST /managed-databases/{id}/attach Attach a managed database #
POST /managed-databases/{id}/detach Detach a managed database #
POST /managed-databases/{id}/snapshots Create a managed database snapshot #
GET /managed-databases/{id}/snapshots List managed database snapshots #
POST /managed-databases/{id}/restore Restore a managed database #
POST /managed-databases/{id}/query Run a managed database query #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexusai-run:nexusai-run-managed-databases-api"
All apis
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.

Get an API 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 Specification

nexusai-run-managed-databases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexusai Run Managed databases API
  version: 1.1.0
  description: 'Operations tagged Managed databases 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: Managed databases
paths:
  /managed-databases:
    get:
      operationId: platform_listManagedDatabases
      summary: List managed databases
      tags:
      - Managed databases
      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
    post:
      operationId: platform_createManagedDatabase
      summary: Create a managed database
      tags:
      - Managed databases
      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
                displayName:
                  type: string
                provider:
                  type: string
                  enum:
                  - NEXUS_DOCKER
                  - AWS_RDS
                  - GCP_CLOUD_SQL
                  - AZURE_DATABASE
                engine:
                  type: string
                  description: postgres or redis on NEXUS_DOCKER; postgres or mysql on cloud providers
                engineVersion:
                  type: string
                instanceClass:
                  type: string
                  description: Cloud only
                allocatedGb:
                  type: integer
                  minimum: 20
                  maximum: 1000
                region:
                  type: string
                  description: Cloud only
                networkMode:
                  type: string
                  enum:
                  - public
                  - vpc
                databaseName:
                  type: string
                  description: NEXUS_DOCKER only; default appdb
                username:
                  type: string
                  description: NEXUS_DOCKER only
                password:
                  type: string
                  description: NEXUS_DOCKER only; generated when omitted
              required:
              - name
              - engine
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /managed-databases/{id}:
    get:
      operationId: platform_getManagedDatabase
      summary: Get a managed database
      tags:
      - Managed databases
      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_deleteManagedDatabase
      summary: Delete a managed database
      tags:
      - Managed databases
      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
  /managed-databases/{id}/connection:
    get:
      operationId: platform_getManagedDatabaseConnection
      summary: Get managed database connection information
      tags:
      - Managed databases
      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
  /managed-databases/{id}/attach:
    post:
      operationId: platform_attachManagedDatabase
      summary: Attach a managed database
      tags:
      - Managed databases
      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:
                deploymentId:
                  type: string
                envPrefix:
                  type: string
                  description: Default DATABASE, or REDIS for Redis
              required:
              - deploymentId
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /managed-databases/{id}/detach:
    post:
      operationId: platform_detachManagedDatabase
      summary: Detach a managed database
      tags:
      - Managed databases
      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:
                deploymentId:
                  type: string
              required:
              - deploymentId
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /managed-databases/{id}/snapshots:
    post:
      operationId: platform_createManagedDatabaseSnapshot
      summary: Create a managed database snapshot
      tags:
      - Managed databases
      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:
                notes:
                  type: string
    get:
      operationId: platform_listManagedDatabaseSnapshots
      summary: List managed database snapshots
      tags:
      - Managed databases
      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
  /managed-databases/{id}/restore:
    post:
      operationId: platform_restoreManagedDatabase
      summary: Restore a managed database
      tags:
      - Managed databases
      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:
                snapshotId:
                  type: string
                newName:
                  type: string
                  description: Name of the new database the snapshot restores into
              required:
              - snapshotId
              - newName
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /managed-databases/{id}/query:
    post:
      operationId: platform_queryManagedDatabase
      summary: Run a managed database query
      tags:
      - Managed databases
      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
                  description: One statement. See https://agents.nexusai.run/docs/sql-safety.md for what is allowed
                params:
                  type: array
                  items: {}
              required:
              - sql
    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