> ## 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.

# Apply an AI-driven text transformation

> Runs an AI text-modification operation on the supplied text and returns the transformed result.
Used by ops-fe's compose box (rephrase, shorten, translate, …).




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api post /ticket/textUpdate
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:
  /ticket/textUpdate:
    post:
      tags:
        - Ticket
      summary: Apply an AI-driven text transformation
      description: >
        Runs an AI text-modification operation on the supplied text and returns
        the transformed result.

        Used by ops-fe's compose box (rephrase, shorten, translate, …).
      operationId: ticketTextUpdate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                text:
                  type: string
                  description: Source text to transform.
                operation:
                  type: string
                  description: >-
                    Transformation operation (e.g. `rephrase`, `shorten`,
                    `translate`).
                parameters:
                  type: object
                  description: >-
                    Operation-specific parameters (e.g. target language for
                    `translate`).
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  text:
                    type: string
                    description: Transformed text.
        '400':
          description: Invalid input
        '403':
          description: Unauthorized
        '500':
          description: Internal error
components:
  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

````