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

# Preview exact Linear ticket



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json post /issues/{issue_id}/linear-ticket/preview
openapi: 3.1.0
info:
  title: Lemma Platform API
  description: Lemma Platform HTTP API for AI observability and workspace operations.
  version: 0.1.0
servers:
  - url: https://api.uselemma.ai
    description: Lemma production API
security:
  - bearerAuth: []
paths:
  /issues/{issue_id}/linear-ticket/preview:
    post:
      tags:
        - Linear Tickets
      summary: Preview exact Linear ticket
      operationId: preview_linear_ticket
      parameters:
        - name: issue_id
          in: path
          required: true
          description: Lemma issue ID.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - ticket_reference
              properties:
                ticket_reference:
                  type: string
              additionalProperties: false
      responses:
        '200':
          description: Exact Linear ticket preview
          content:
            application/json:
              schema:
                type: object
                properties:
                  project_id:
                    type: string
                    format: uuid
                  issue_id:
                    type: string
                    format: uuid
                  ticket:
                    type: object
                    properties:
                      id:
                        type: string
                      identifier:
                        type: string
                      url:
                        type: string
                        format: uri
                      title:
                        type: string
                      team_id:
                        type: string
                      team_name:
                        type: string
                      team_key:
                        type: string
                      linear_project_id:
                        type:
                          - string
                          - 'null'
                      linear_project_name:
                        type:
                          - string
                          - 'null'
                      state_id:
                        type: string
                      state_name:
                        type: string
                      state_type:
                        type: string
                      linear_assignee:
                        type:
                          - object
                          - 'null'
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          avatar_url:
                            type:
                              - string
                              - 'null'
                        required:
                          - id
                          - name
                          - avatar_url
                        additionalProperties: false
                      updated_at:
                        type: string
                    required:
                      - id
                      - identifier
                      - url
                      - title
                      - team_id
                      - team_name
                      - team_key
                      - linear_project_id
                      - linear_project_name
                      - state_id
                      - state_name
                      - state_type
                      - linear_assignee
                      - updated_at
                    additionalProperties: false
                  preview_token:
                    type: string
                  expires_at:
                    type: string
                required:
                  - project_id
                  - issue_id
                  - ticket
                  - preview_token
                  - expires_at
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````