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

# Summarise a conversation's placeholder title from its first exchange (bearer token)



## OpenAPI

````yaml https://platform.ankra.app/openapi.json post /api/v1/chat/conversations/{conversation_id}/title/regenerate
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/chat/conversations/{conversation_id}/title/regenerate:
    post:
      tags:
        - chat
      summary: >-
        Summarise a conversation's placeholder title from its first exchange
        (bearer token)
      operationId: >-
        regenerate_conversation_title_endpoint_api_v1_chat_conversations__conversation_id__title_regenerate_post
      parameters:
        - in: path
          name: conversation_id
          required: true
          schema:
            format: uuid
            title: Conversation Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  conversation_id:
                    format: uuid
                    title: Conversation Id
                    type: string
                  title:
                    type: string
                    title: Title
                required:
                  - conversation_id
                  - title
                title: RegenerateTitleResponse
                type: object
          description: >-
            The conversation's placeholder title was replaced by a summarised
            one
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Bearer token missing (400) or invalid (401)
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Conversation not found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: The conversation already has a custom title
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: >-
            Validation Error, or the conversation has no user or assistant turns
            to summarise
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Title generation failed
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: AI inference is not configured on this deployment
components:
  schemas:
    ContractDetailError:
      example:
        detail: Cluster not found
      properties:
        detail:
          oneOf:
            - type: string
            - additionalProperties: true
              properties: {}
              type: object
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````