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

# Generate Title Endpoint

> Génère un titre court de conversation à partir de son premier message.

Best-effort : renvoie toujours un titre (fallback déterministe si le LLM est
indisponible) pour ne jamais bloquer le front.



## OpenAPI

````yaml /api-reference/openapi.json post /api/adk/generate_title
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/adk/generate_title:
    post:
      tags:
        - adk
      summary: Generate Title Endpoint
      description: >-
        Génère un titre court de conversation à partir de son premier message.


        Best-effort : renvoie toujours un titre (fallback déterministe si le LLM
        est

        indisponible) pour ne jamais bloquer le front.
      operationId: generate_title_endpoint_api_adk_generate_title_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateTitleRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
                title: Response Generate Title Endpoint Api Adk Generate Title Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    GenerateTitleRequest:
      properties:
        message:
          type: string
          title: Message
        agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Id
      type: object
      required:
        - message
      title: GenerateTitleRequest
      description: Schema for auto-generating a conversation title from its first message.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Quickstart](/quickstart.md)
- [Get Auth Url](/api-reference/emailing/get-auth-url.md)
- [Index Db Nl](/api-reference/rag/index-db-nl.md)
- [Microsoft Service Connect](/api-reference/integrations/microsoft-service-connect.md)
- [Secrets](/self-hosting/secrets.md)
