> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List the Gainsight subtypes and their latest runs

> Each subtype the saved config enables (default = accounts, product_usage, survey_activity, activity) with its label and its newest run, as the app's sync table shows them. A subtype the config does not enable is left out.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/gainsight/subtypes
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/gainsight/subtypes:
    get:
      tags:
        - integrations
      summary: List the Gainsight subtypes and their latest runs
      description: >-
        Each subtype the saved config enables (default = accounts,
        product_usage, survey_activity, activity) with its label and its newest
        run, as the app's sync table shows them. A subtype the config does not
        enable is left out.
      operationId: integrations_gainsight_list_subtypes
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GainsightSubtypes'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    GainsightSubtypes:
      properties:
        subtypes:
          description: Each subtype the saved config enables, in the app's order
          items:
            $ref: '#/components/schemas/GainsightSubtype'
          title: Subtypes
          type: array
      required:
        - subtypes
      title: GainsightSubtypes
      type: object
    GainsightSubtype:
      properties:
        label:
          title: Label
          type: string
        latest_run:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            Its newest run, as GET /runs/{run_id} returns it; null if it never
            ran
          title: Latest Run
        subtype:
          title: Subtype
          type: string
      required:
        - subtype
        - label
        - latest_run
      title: GainsightSubtype
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.