> ## 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.

# Create shared knowledge collection

> Creates a new shared knowledge collection owned by the authenticated user.



## OpenAPI

````yaml /openapi.yaml post /shared-knowledge/collections
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:
  /shared-knowledge/collections:
    post:
      summary: Create shared knowledge collection
      description: >-
        Creates a new shared knowledge collection owned by the authenticated
        user.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                description:
                  type: string
                visibility:
                  type: string
                  enum:
                    - private
                    - shared
                  default: private
      responses:
        '200':
          description: Collection created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedCollection'
        '401':
          description: Not authenticated
        '403':
          description: Requires user role
        '409':
          description: Duplicate collection name
      security:
        - bearerAuth: []
components:
  schemas:
    SharedCollection:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        visibility:
          type: string
          enum:
            - private
            - shared
        created_by:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````