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

# Update thread

> Update thread title and/or lead agent. Requires thread owner or admin role.
Set lead_agent_id to enable collaborative mode (lead agent produces single
combined response). Set to null to revert to broadcast dispatch.




## OpenAPI

````yaml /openapi.yaml put /chat/threads/{id}
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /chat/threads/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    put:
      summary: Update thread
      description: >
        Update thread title and/or lead agent. Requires thread owner or admin
        role.

        Set lead_agent_id to enable collaborative mode (lead agent produces
        single

        combined response). Set to null to revert to broadcast dispatch.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  nullable: true
                lead_agent_id:
                  type: string
                  format: uuid
                  nullable: true
                  description: Set lead agent for collaborative dispatch (null to clear)
      responses:
        '200':
          description: Thread updated
        '400':
          description: lead_agent_id not an active participant
        '404':
          description: Thread not found or not owner
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````