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

> ## Agent Instructions
> These docs cover three products: TrustGate (AI agent gateway), TrustGuard (runtime security), and TrustTest (AI red teaming). Start from each product overview for the definition and How it works. Prefer the .md URL next to a page in /llms.txt when you need the full article. Use /llms-full.txt for a single-file dump of the site.

# Read an application's end-user connection states

> For an MCP consumer whose application identifies its end users (identity.source = app). Reports, per connectable server, whether the named end user is connected, needs to reconnect, or has not connected. Authenticated with the consumer's API key.



## OpenAPI

````yaml /trustgate/api/openapi.json get /{slug}/connections
openapi: 3.0.0
info:
  description: >-
    Administrative API for managing gateways and their registries, policies,
    consumers and auth credentials.
  title: TrustGate Admin API
  contact:
    name: NeuralTrust
    url: https://neuraltrust.ai/contact
    email: support@neuraltrust.ai
  version: '1.0'
servers:
  - url: /
security: []
paths:
  /{slug}/connections:
    get:
      tags:
        - connections
      summary: Read an application's end-user connection states
      description: >-
        For an MCP consumer whose application identifies its end users
        (identity.source = app). Reports, per connectable server, whether the
        named end user is connected, needs to reconnect, or has not connected.
        Authenticated with the consumer's API key.
      parameters:
        - description: Consumer slug
          name: slug
          in: path
          required: true
          schema:
            type: string
        - description: End-user id the application uses
          name: end_user
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_api_handler_http_oauth.EndUserConnectionsResponse
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_NeuralTrust_TrustGate_pkg_api_handler_http_httpio.ErrorBody
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_NeuralTrust_TrustGate_pkg_api_handler_http_httpio.ErrorBody
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_NeuralTrust_TrustGate_pkg_api_handler_http_httpio.ErrorBody
components:
  schemas:
    pkg_api_handler_http_oauth.EndUserConnectionsResponse:
      type: object
      properties:
        connections:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_api_handler_http_oauth.EndUserConnectionResponse
        end_user:
          type: string
    github_com_NeuralTrust_TrustGate_pkg_api_handler_http_httpio.ErrorBody:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
    pkg_api_handler_http_oauth.EndUserConnectionResponse:
      type: object
      properties:
        account_ref:
          type: string
        code:
          type: string
        expires_at:
          type: string
        provider:
          type: string
        registry:
          type: string
        status:
          type: string

````