Supaglue · Capability

Management API — Connections

Management API — Connections. 6 operations. Lead operation: List connections. Self-contained Naftiko capability covering one Supaglue business surface.

Run with Naftiko SupaglueConnections

What You Can Do

GET
Getconnections — List connections
/v1/customers/{customer-id}/connections
POST
Createconnection — Create a connection
/v1/customers/{customer-id}/connections
GET
Getprovideruserid — Get logged in User ID and details
/v1/customers/{customer-id}/connections/provider-user-id
GET
Getconnection — Get connection
/v1/customers/{customer-id}/connections/{provider-name}
DELETE
Deleteconnection — Delete connection
/v1/customers/{customer-id}/connections/{provider-name}
GET
Getconnectionratelimitinfo — Get connection rate limit info
/v1/customers/{customer-id}/connections/{provider-name}/rate-limit-info

MCP Tools

list-connections

List connections

read-only idempotent
create-connection

Create a connection

get-logged-user-id-and

Get logged in User ID and details

read-only idempotent
get-connection

Get connection

read-only idempotent
delete-connection

Delete connection

idempotent
get-connection-rate-limit-info

Get connection rate limit info

read-only idempotent

Capability Spec

management-connections.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Management API — Connections
  description: 'Management API — Connections. 6 operations. Lead operation: List connections. Self-contained Naftiko capability
    covering one Supaglue business surface.'
  tags:
  - Supaglue
  - Connections
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUPAGLUE_API_KEY: SUPAGLUE_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-connections
    baseUri: https://api.supaglue.io/mgmt/v2
    description: Management API — Connections business capability. Self-contained, no shared references.
    resources:
    - name: customers-customer_id-connections
      path: /customers/{customer_id}/connections
      operations:
      - name: getconnections
        method: GET
        description: List connections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createconnection
        method: POST
        description: Create a connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: customers-customer_id-connections-_provider_user_id
      path: /customers/{customer_id}/connections/_provider_user_id
      operations:
      - name: getprovideruserid
        method: GET
        description: Get logged in User ID and details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-sg-minor-version
          in: header
          type: string
        - name: provider_name
          in: query
          type: string
          required: true
    - name: customers-customer_id-connections-provider_name
      path: /customers/{customer_id}/connections/{provider_name}
      operations:
      - name: getconnection
        method: GET
        description: Get connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteconnection
        method: DELETE
        description: Delete connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: customers-customer_id-connections-provider_name-_rate_limit_info
      path: /customers/{customer_id}/connections/{provider_name}/_rate_limit_info
      operations:
      - name: getconnectionratelimitinfo
        method: GET
        description: Get connection rate limit info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.SUPAGLUE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: management-connections-rest
    port: 8080
    description: REST adapter for Management API — Connections. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/customers/{customer-id}/connections
      name: customers-customer-id-connections
      description: REST surface for customers-customer_id-connections.
      operations:
      - method: GET
        name: getconnections
        description: List connections
        call: management-connections.getconnections
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createconnection
        description: Create a connection
        call: management-connections.createconnection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/{customer-id}/connections/provider-user-id
      name: customers-customer-id-connections-provider-user-id
      description: REST surface for customers-customer_id-connections-_provider_user_id.
      operations:
      - method: GET
        name: getprovideruserid
        description: Get logged in User ID and details
        call: management-connections.getprovideruserid
        with:
          x-sg-minor-version: rest.x-sg-minor-version
          provider_name: rest.provider_name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/{customer-id}/connections/{provider-name}
      name: customers-customer-id-connections-provider-name
      description: REST surface for customers-customer_id-connections-provider_name.
      operations:
      - method: GET
        name: getconnection
        description: Get connection
        call: management-connections.getconnection
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconnection
        description: Delete connection
        call: management-connections.deleteconnection
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/{customer-id}/connections/{provider-name}/rate-limit-info
      name: customers-customer-id-connections-provider-name-rate-limit-info
      description: REST surface for customers-customer_id-connections-provider_name-_rate_limit_info.
      operations:
      - method: GET
        name: getconnectionratelimitinfo
        description: Get connection rate limit info
        call: management-connections.getconnectionratelimitinfo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-connections-mcp
    port: 9090
    transport: http
    description: MCP adapter for Management API — Connections. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-connections
      description: List connections
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-connections.getconnections
      outputParameters:
      - type: object
        mapping: $.
    - name: create-connection
      description: Create a connection
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-connections.createconnection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-logged-user-id-and
      description: Get logged in User ID and details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-connections.getprovideruserid
      with:
        x-sg-minor-version: tools.x-sg-minor-version
        provider_name: tools.provider_name
      outputParameters:
      - type: object
        mapping: $.
    - name: get-connection
      description: Get connection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-connections.getconnection
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-connection
      description: Delete connection
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: management-connections.deleteconnection
      outputParameters:
      - type: object
        mapping: $.
    - name: get-connection-rate-limit-info
      description: Get connection rate limit info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-connections.getconnectionratelimitinfo
      outputParameters:
      - type: object
        mapping: $.