Gainsight · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Gainsight PX REST External Segments API

4 actions 4 updates phrasing extends openapi/gainsight-externalsegments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Gainsight's API. It is a proposal applied on top of the contract, not a document Gainsight publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/v1/external_segment/metadata'].put
$.paths['/v1/external_segment/metadata'].post
$.paths['/v1/external_segment/update_membership'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Gainsight PX REST External Segments API
  version: 1.0.0
extends: openapi/gainsight-externalsegments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/v1/external_segment/metadata'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an external segment
      effect: write
      questions:
      - Can I rename an external segment or change its description?
      - Is it possible to edit the metadata of a segment synced from outside?
      instructions:
      - text: Rename external segment {id} to {name}.
        slots:
          id: requestBody.id
          name: requestBody.name
      - text: Update the description of external segment {externalId} to {description}.
        slots:
          externalId: requestBody.externalId
          description: requestBody.description
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/external_segment/metadata'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an external segment
      effect: write
      questions:
      - How do I register a segment defined in another system?
      - Can creating an external segment fail if it already exists?
      instructions:
      - text: Create an external segment named {name} with external ID {externalId}.
        slots:
          name: requestBody.name
          externalId: requestBody.externalId
      - text: Register segment {name}, failing if it exists ({failIfExists}).
        slots:
          name: requestBody.name
          failIfExists: query.failIfExists
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/external_segment/update_membership'].post
  update:
    x-apievangelist-phrasing:
      intent: Change external segment membership
      effect: write
      questions:
      - What's the way to add users to, or drop them from, an external segment?
      - Can I update segment membership by account instead of by user?
      instructions:
      - text: Add identities to segments {add} and remove them from {remove}.
        slots:
          add: requestBody.add
          remove: requestBody.remove
      - text: 'Update {identityType} membership: add {add}, remove {remove}.'
        slots:
          identityType: requestBody.identityType
          add: requestBody.add
          remove: requestBody.remove
      method: generated
      generated: '2026-09-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/gainsight-externalsegments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.