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

# Get a telemetry trace

> Proxies the admin portal telemetry endpoint
(`admin.enneo.ai/api/telemetry/clients/{CLIENT_ID}/traces/{traceId}`) for the current
environment's client. Restricted to enneo and partner users (HTTP 403 for all other profile types).




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /internal/telemetry/trace/{traceId}
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /internal/telemetry/trace/{traceId}:
    get:
      tags:
        - Internal (Enneo only)
      summary: Get a telemetry trace
      description: >
        Proxies the admin portal telemetry endpoint

        (`admin.enneo.ai/api/telemetry/clients/{CLIENT_ID}/traces/{traceId}`)
        for the current

        environment's client. Restricted to enneo and partner users (HTTP 403
        for all other profile types).
      operationId: getTelemetryTrace
      parameters:
        - name: traceId
          in: path
          required: true
          schema:
            type: string
            pattern: ^[a-f0-9]{32}$
            example: ae7b734065c82c46c4e8e5c2a51a0657
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Success'
                  - type: object
                    properties:
                      trace:
                        type: object
                        description: Trace data returned by the admin portal.
        '403':
          description: Forbidden — caller is not an enneo or partner user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream failure — admin portal returned an error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Success:
      type: object
      description: Data format of Enneo success messages
      properties:
        success:
          type: boolean
          example: true
          description: Operation was successful
    Error:
      type: object
      description: Data format of Enneo error messages
      properties:
        error:
          type: string
          example: Contract 121 could not be processed
          description: Readable error message that should be shown to the user
        details:
          type: string
          example: >-
            Uncatched null point exception in testFunction() in
            /app/src/file:212
          description: Not easily readable error message that is for the developer
        txId:
          type: string
          example: c916167c94
          description: >-
            Internal transaction id. Useful for debugging. Corresponds to the
            OpenTelemetry trace ID.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````