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

# Publish project as sensemaking topic

> Authors and publishes the project as a public sensemaking topic — the
`/explore` hub entry + the `/t/{slug}` page. Send `enabled: true` with a
`slug` (in this request or already saved) to publish; publishing builds the
public snapshot from the project's sessions. Editor access required.




## OpenAPI

````yaml /api-reference/openapi.yaml patch /projects/{id}/sensemaking
openapi: 3.1.0
info:
  title: Harmonica API
  version: 1.0.0
  description: >
    REST API for the Harmonica structured deliberation platform.

    Provides access to sessions and their data, including creating, updating,
    and querying sessions, plus response submission for active sessions.
  contact:
    name: Harmonica
    url: https://harmonica.chat
servers:
  - url: https://app.harmonica.chat/api/v1
    description: Production
  - url: http://localhost:3000/api/v1
    description: Local development
security:
  - apiKey: []
paths:
  /projects/{id}/sensemaking:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    patch:
      tags:
        - Projects
      summary: Publish project as sensemaking topic
      description: >
        Authors and publishes the project as a public sensemaking topic — the

        `/explore` hub entry + the `/t/{slug}` page. Send `enabled: true` with a

        `slug` (in this request or already saved) to publish; publishing builds
        the

        public snapshot from the project's sessions. Editor access required.
      operationId: publishProjectSensemaking
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SensemakingSettingsRequest'
      responses:
        '200':
          description: Updated sensemaking topic
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/SensemakingTopic'
                required:
                  - data
        '400':
          description: Validation error (malformed slug, or publishing without a slug)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: The chosen slug is already taken
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SensemakingSettingsRequest:
      type: object
      description: >-
        Author + publish a project as a public sensemaking topic. All fields are
        optional; send `enabled: true` (with a `slug` in this request or already
        saved) to publish.
      properties:
        slug:
          type: string
          nullable: true
          description: >-
            URL handle for /t/{slug}. Lowercase words separated by single
            hyphens.
        title:
          type: string
          nullable: true
          maxLength: 200
        description:
          type: string
          nullable: true
          maxLength: 500
        intro:
          type: string
          nullable: true
          maxLength: 2000
          description: Host-authored background paragraph.
        faq:
          type: array
          nullable: true
          maxItems: 10
          items:
            type: object
            properties:
              q:
                type: string
              a:
                type: string
            required:
              - q
              - a
        theme:
          type: string
          nullable: true
          description: Topic category powering the /explore hub filter.
        enabled:
          type: boolean
          description: Publish (true) or unpublish (false) the public topic page.
        reasoningLensEnabled:
          type: boolean
          description: Opt the embedding-based Reasoning lens in.
        knowledgeStatementsEnabled:
          type: boolean
          description: Source opinion-map statements from project knowledge.
    SensemakingTopic:
      type: object
      properties:
        workspace_id:
          type: string
          format: uuid
        enabled:
          type: boolean
        slug:
          type: string
          nullable: true
        theme:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        intro:
          type: string
          nullable: true
        faq:
          type: array
          nullable: true
          items:
            type: object
            properties:
              q:
                type: string
              a:
                type: string
        group_count:
          type: integer
        statement_count:
          type: integer
        voter_count:
          type: integer
        computed_at:
          type: string
          format: date-time
          nullable: true
        gallery_status:
          type: string
        reasoning_lens_enabled:
          type: boolean
        created_at:
          type: string
          format: date-time
      required:
        - workspace_id
        - enabled
        - group_count
        - statement_count
        - voter_count
        - gallery_status
        - reasoning_lens_enabled
        - created_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - unauthorized
                - forbidden
                - not_found
                - validation_error
                - rate_limited
                - internal_error
                - unprocessable
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: Invalid or missing API key
    Forbidden:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: forbidden
              message: You don't have access to this session
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: not_found
              message: Session not found
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: |
        API key authentication. Pass your key as a Bearer token.
        Keys use the format `hm_live_<32 hex chars>`.
        Generate keys from your Harmonica dashboard settings.

````