Neon · Capability

Neon Management API — Data API

Neon Management API — Data API. 2 operations. Lead operation: Get Data API configuration. Self-contained Naftiko capability covering one Neon business surface.

Run with Naftiko NeonData API

What You Can Do

GET
Getprojectbranchdataapi — Get Data API configuration
/v1/projects/{project-id}/branches/{branch-id}/data-api
PUT
Updateprojectbranchdataapi — Update Data API configuration
/v1/projects/{project-id}/branches/{branch-id}/data-api

MCP Tools

get-data-api-configuration

Get Data API configuration

read-only idempotent
update-data-api-configuration

Update Data API configuration

idempotent

Capability Spec

management-data-api.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Neon Management API — Data API
  description: 'Neon Management API — Data API. 2 operations. Lead operation: Get Data API configuration. Self-contained Naftiko
    capability covering one Neon business surface.'
  tags:
  - Neon
  - Data API
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NEON_API_KEY: NEON_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-data-api
    baseUri: https://console.neon.tech/api/v2
    description: Neon Management API — Data API business capability. Self-contained, no shared references.
    resources:
    - name: projects-project_id-branches-branch_id-data-api
      path: /projects/{project_id}/branches/{branch_id}/data-api
      operations:
      - name: getprojectbranchdataapi
        method: GET
        description: Get Data API configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateprojectbranchdataapi
        method: PUT
        description: Update Data API configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.NEON_API_KEY}}'
  exposes:
  - type: rest
    namespace: management-data-api-rest
    port: 8080
    description: REST adapter for Neon Management API — Data API. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{project-id}/branches/{branch-id}/data-api
      name: projects-project-id-branches-branch-id-data-api
      description: REST surface for projects-project_id-branches-branch_id-data-api.
      operations:
      - method: GET
        name: getprojectbranchdataapi
        description: Get Data API configuration
        call: management-data-api.getprojectbranchdataapi
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateprojectbranchdataapi
        description: Update Data API configuration
        call: management-data-api.updateprojectbranchdataapi
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-data-api-mcp
    port: 9090
    transport: http
    description: MCP adapter for Neon Management API — Data API. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-data-api-configuration
      description: Get Data API configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-data-api.getprojectbranchdataapi
      outputParameters:
      - type: object
        mapping: $.
    - name: update-data-api-configuration
      description: Update Data API configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: management-data-api.updateprojectbranchdataapi
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.