Gainsight · Capability

Gainsight CS Data Management API — Objects

Gainsight CS Data Management API — Objects. 2 operations. Lead operation: Gainsight List objects. Self-contained Naftiko capability covering one Gainsight business surface.

Run with Naftiko GainsightObjects

What You Can Do

GET
Listobjects — Gainsight List objects
/v1/meta/objects
GET
Getobject — Gainsight Get object metadata
/v1/meta/objects/{objectname}

MCP Tools

gainsight-list-objects

Gainsight List objects

read-only idempotent
gainsight-get-object-metadata

Gainsight Get object metadata

read-only idempotent

Capability Spec

cs-data-management-objects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gainsight CS Data Management API — Objects
  description: 'Gainsight CS Data Management API — Objects. 2 operations. Lead operation: Gainsight List objects. Self-contained
    Naftiko capability covering one Gainsight business surface.'
  tags:
  - Gainsight
  - Objects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GAINSIGHT_API_KEY: GAINSIGHT_API_KEY
capability:
  consumes:
  - type: http
    namespace: cs-data-management-objects
    baseUri: https://{domain}.gainsightcloud.com/v1
    description: Gainsight CS Data Management API — Objects business capability. Self-contained, no shared references.
    resources:
    - name: meta-objects
      path: /meta/objects
      operations:
      - name: listobjects
        method: GET
        description: Gainsight List objects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: meta-objects-objectName
      path: /meta/objects/{objectName}
      operations:
      - name: getobject
        method: GET
        description: Gainsight Get object metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: accessKey
      value: '{{env.GAINSIGHT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: cs-data-management-objects-rest
    port: 8080
    description: REST adapter for Gainsight CS Data Management API — Objects. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/meta/objects
      name: meta-objects
      description: REST surface for meta-objects.
      operations:
      - method: GET
        name: listobjects
        description: Gainsight List objects
        call: cs-data-management-objects.listobjects
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/meta/objects/{objectname}
      name: meta-objects-objectname
      description: REST surface for meta-objects-objectName.
      operations:
      - method: GET
        name: getobject
        description: Gainsight Get object metadata
        call: cs-data-management-objects.getobject
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cs-data-management-objects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gainsight CS Data Management API — Objects. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: gainsight-list-objects
      description: Gainsight List objects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cs-data-management-objects.listobjects
      outputParameters:
      - type: object
        mapping: $.
    - name: gainsight-get-object-metadata
      description: Gainsight Get object metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cs-data-management-objects.getobject
      outputParameters:
      - type: object
        mapping: $.