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

# Generate tracker ticket data with AI

> Uses AI to draft a tracker ticket from an existing ticket. Returns `{ title, description }`: a short
title and a ~30-word summary written in the project's default summary language. Responds 404 when
`sourceTicketId` does not resolve to a ticket. `type` (e.g. `FEATURE_REQUEST`) is used as prompt context.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json post /tickets/generate-data
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /tickets/generate-data:
    post:
      tags:
        - Ticket
      summary: Generate tracker ticket data with AI
      description: >-
        Uses AI to draft a tracker ticket from an existing ticket. Returns `{
        title, description }`: a short

        title and a ~30-word summary written in the project's default summary
        language. Responds 404 when

        `sourceTicketId` does not resolve to a ticket. `type` (e.g.
        `FEATURE_REQUEST`) is used as prompt context.
      operationId: GenerateTrackerTicketData
      parameters:
        - in: header
          name: project
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                sourceTicketId:
                  type: string
                type:
                  type: string
              type: object
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````