Gainsight Localization API

localization

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/localization/export/articles Export article translations as XLIFF · export XLIFF for articles #
Ask an LLM
“Can I export an article's text for translation?”
“Can I export only untranslated article strings for one language?”
Tell an agent
Export the XLIFF zip for article {id}.
Export article {id} XLIFF for target language {trgLang}.
GET /v1/localization/export/content Export a Content Library entry as XLIFF · export XLIFF #
Ask an LLM
“What's the way to send a Content Library entry out for translation?”
“Can I export content library XLIFF for a specific language?”
Tell an agent
Export XLIFF for content entry {contentId} of type {type}.
Export content {contentId} ({type}) translations for language {trgLang}.
GET /v1/localization/export/engagement Export an engagement as XLIFF · export XLIFF #
Ask an LLM
“Where do I get an in-app engagement's text out for translators?”
“Can I export the draft version of an engagement for translation?”
Tell an agent
Export the XLIFF zip for engagement {id}.
Export engagement {id} in draft ({draft}) for language {trgLang}.
GET /v1/localization/export/kcbot Export a Knowledge Center bot as XLIFF · export XLIFF #
Ask an LLM
“How do I export a KC bot's strings for localization?”
“Can I pick which KC version to export for translation?”
Tell an agent
Export the XLIFF zip for KC bot {id}.
Export KC bot {id} version {kcVersion} for language {trgLang}.
POST /v1/localization/import/articles Import article translations · import XLIFF #
Ask an LLM
“What endpoint loads translated articles back into PX?”
“Can I upload an XLIFF file to update article translations?”
Tell an agent
Import article translations from XLIFF file {file}.
Upload translated article file {file}.
POST /v1/localization/import/content Import Content Library translations · import XLIFF #
Ask an LLM
“Where would I upload a translated Content Library entry?”
“Can I import XLIFF into one specific content entry?”
Tell an agent
Import XLIFF {file} into content entry {contentId}.
Load translations for Content Library entry {contentId} from {file}.
POST /v1/localization/import/engagement Import engagement translations · import XLIFF #
Ask an LLM
“Can translated engagement text be brought back into PX?”
“Can I upload an XLIFF file to localize an in-app guide?”
Tell an agent
Import engagement translations from XLIFF {file}.
Upload the translated engagement file {file}.
POST /v1/localization/import/kcbot Import Knowledge Center bot translations · import XLIFF #
Ask an LLM
“How do I upload translated strings for a KC bot?”
“Can I import KC bot translations into a particular KC version?”
Tell an agent
Import KC bot translations from {file}.
Load translated KC file {file} into KC version {kcVersion}.

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/gainsight-localization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

gainsight-localization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Gainsight PX API provides a programmatic (server-based) method to access the users, accounts, and events that have been captured by the Gainsight PX subscription.
  version: 0.1.6
  title: Gainsight PX REST Localization API
  contact:
    name: Gainsight PX
    url: https://www.gainsight.com/product-experience/
    email: pxsupport@gainsight.com
  license:
    name: internal
servers:
- url: https://api.aptrinsic.com/
tags:
- name: Localization
  description: localization
paths:
  /v1/localization/export/articles:
    get:
      tags:
      - Localization
      summary: export XLIFF for articles
      description: retrieve the xliff file by filters in zip
      operationId: exportXLIFFForArticlesUsingGET
      parameters:
      - name: id
        in: query
        description: id
        required: true
        schema:
          type: string
      - name: strategy
        in: query
        description: strategy
        required: false
        schema:
          type: string
      - name: translated
        in: query
        description: translated
        required: false
        schema:
          type: boolean
          default: true
      - name: trgLang
        in: query
        description: trgLang
        required: false
        schema:
          type: string
      - name: version
        in: query
        description: version
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: byte
        '400':
          description: localization is disabled
        '435':
          description: article not found
        '436':
          description: article has no content
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
  /v1/localization/export/content:
    get:
      tags:
      - Localization
      summary: export XLIFF
      description: retrieve Content Library Entry xliff file by filters in zip
      operationId: exportContentXLIFFUsingGET
      parameters:
      - name: contentId
        in: query
        description: contentId
        required: true
        schema:
          type: string
      - name: strategy
        in: query
        description: strategy
        required: false
        schema:
          type: string
      - name: translated
        in: query
        description: translated
        required: false
        schema:
          type: boolean
          default: true
      - name: trgLang
        in: query
        description: trgLang
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: type
        required: true
        schema:
          type: string
          enum:
          - GUIDE
          - ANNOUNCEMENT
          - SLIDER
          - LINK
          - BOOLEAN_SURVEY
          - RATING_SURVEY
          - NPS_SURVEY
          - CES_SURVEY
          - MULTIPLE_QUESTION_SURVEY
          - ARTICLE
          - KNOWLEDGE_BASE_ARTICLE
          - CUSTOM_LINK
          - FUNC_CALL
          - COMMUNITY
      - name: version
        in: query
        description: version
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: byte
        '400':
          description: localization is disabled
        '435':
          description: Entry not found
        '436':
          description: Entry has no content
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
  /v1/localization/export/engagement:
    get:
      tags:
      - Localization
      summary: export XLIFF
      description: retrieve the engagement xliff file by filters in zip
      operationId: exportXLIFFForEngagementUsingGET
      parameters:
      - name: draft
        in: query
        description: draft
        required: false
        schema:
          type: boolean
          default: false
      - name: id
        in: query
        description: id
        required: true
        schema:
          type: string
      - name: strategy
        in: query
        description: strategy
        required: false
        schema:
          type: string
      - name: translated
        in: query
        description: translated
        required: false
        schema:
          type: boolean
          default: true
      - name: trgLang
        in: query
        description: trgLang
        required: false
        schema:
          type: string
      - name: version
        in: query
        description: version
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: byte
        '400':
          description: localization is disabled
        '435':
          description: engagement not found
        '436':
          description: engagement has no content
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
  /v1/localization/export/kcbot:
    get:
      tags:
      - Localization
      summary: export XLIFF
      description: retrieve the kcbot xliff file by filters in zip
      operationId: exportKCXLIFFUsingGET
      parameters:
      - name: id
        in: query
        description: id
        required: true
        schema:
          type: string
      - name: kcVersion
        in: query
        description: kcVersion
        required: false
        schema:
          type: string
          default: v1
      - name: strategy
        in: query
        description: strategy
        required: false
        schema:
          type: string
      - name: translated
        in: query
        description: translated
        required: false
        schema:
          type: boolean
          default: true
      - name: trgLang
        in: query
        description: trgLang
        required: false
        schema:
          type: string
      - name: version
        in: query
        description: version
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: byte
        '400':
          description: localization is disabled
        '435':
          description: KCBot not found
        '436':
          description: KCBot has no content
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
  /v1/localization/import/articles:
    post:
      tags:
      - Localization
      summary: import XLIFF
      description: import XLIFF content into article translation
      operationId: importXLIFFForArticlesUsingPOST
      responses:
        '200':
          description: OK
        '201':
          description: created
        '400':
          description: trgLang equals srcLang
        '432':
          description: xliff parser error
        '433':
          description: article id not found in xliff file
        '434':
          description: target language is not support by subscription
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: file
                  format: binary
              required:
              - file
  /v1/localization/import/content:
    post:
      tags:
      - Localization
      summary: import XLIFF
      description: import XLIFF content into Content Library Entry translation
      operationId: importXLIFFForContentEntryUsingPOST
      parameters:
      - name: contentId
        in: query
        description: contentId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '201':
          description: created
        '400':
          description: trgLang equals srcLang
        '432':
          description: xliff parser error
        '433':
          description: content id not found in xliff file
        '434':
          description: target language is not support by subscription
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: file
                  format: binary
              required:
              - file
  /v1/localization/import/engagement:
    post:
      tags:
      - Localization
      summary: import XLIFF
      description: import XLIFF content into engagement translation
      operationId: importXLIFFForEngagementUsingPOST
      responses:
        '200':
          description: OK
        '201':
          description: created
        '400':
          description: trgLang is empty
        '432':
          description: xliff parser error
        '433':
          description: engagement id not found in xliff file
        '434':
          description: target language is not support by subscription
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: file
                  format: binary
              required:
              - file
  /v1/localization/import/kcbot:
    post:
      tags:
      - Localization
      summary: import XLIFF
      description: import XLIFF content into kc translation
      operationId: importXLIFFForKCUsingPOST
      parameters:
      - name: kcVersion
        in: query
        description: kcVersion
        required: false
        schema:
          type: string
          default: v1
      responses:
        '200':
          description: OK
        '201':
          description: created
        '400':
          description: trgLang equals srcLang
        '432':
          description: xliff parser error
        '433':
          description: kc id not found in xliff file
        '434':
          description: target language is not support by subscription
        '437':
          description: strategy is not valid
        '438':
          description: xliff version is not supported
      deprecated: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: file
                  format: binary
              required:
              - file
components:
  securitySchemes:
    X-APTRINSIC-API-KEY:
      type: apiKey
      name: Aptrinsic API Key
      in: header