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

# Get brand kit

> Get the project's brand kit from kih-hub.

view=catalog lists the available brand-kit section NAMES only (use this for 'what sections does my brand kit have' - do NOT use compose_by_section for that, it composes full content, not just names); compose returns a single composed system prompt; compose_by_section returns the composition split per section; compose_image_prompt renders the brand's DESIGN section into a gpt-image-ready prompt (pass subject/aspect_ratio/smart). Optional sections/content_type/author/audience/voice tailor the composition.



## OpenAPI

````yaml https://mcp.agent.writesonic.com/openapi.json post /api/v1/business/brand-kit
openapi: 3.1.0
info:
  title: hq-backend — Business API
  description: Public business tool endpoints (API-key auth).
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/business/brand-kit:
    post:
      tags:
        - business
      summary: Get brand kit
      description: >-
        Get the project's brand kit from kih-hub.


        view=catalog lists the available brand-kit section NAMES only (use this
        for 'what sections does my brand kit have' - do NOT use
        compose_by_section for that, it composes full content, not just names);
        compose returns a single composed system prompt; compose_by_section
        returns the composition split per section; compose_image_prompt renders
        the brand's DESIGN section into a gpt-image-ready prompt (pass
        subject/aspect_ratio/smart). Optional
        sections/content_type/author/audience/voice tailor the composition.
      operationId: get_brand_kit_api_v1_business_brand_kit_post
      parameters:
        - name: x-project-id
          in: header
          required: true
          schema:
            type: string
            format: uuid
            description: Project ID for tenant scoping
            title: X-Project-Id
          description: Project ID for tenant scoping
        - name: X-Workspace-Id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            description: Overrides the key's workspace
            title: X-Workspace-Id
          description: Overrides the key's workspace
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: User API key
            title: X-Api-Key
          description: User API key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrandKitArgs'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BrandKitArgs:
      properties:
        view:
          $ref: '#/components/schemas/BrandKitView'
          description: catalog lists available brand-kit sections; compose builds a prompt
        sections:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Sections
          description: >-
            Section keys to narrow compose/compose_by_section to (e.g. business,
            audience, objectives, content_type, authors, voice, design) — omit
            for the full kit. view=catalog does NOT list these keys (it lists
            approved VALUES for the content_type/author/audience/voice args
            below); to see this project's actual resolvable section keys, call
            compose_by_section with no `sections` filter first and read the keys
            of its response.
        content_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Type
          description: Content type to tailor the composition to
        author:
          anyOf:
            - type: string
            - type: 'null'
          title: Author
          description: Author persona to compose for
        audience:
          anyOf:
            - type: string
            - type: 'null'
          title: Audience
          description: Target audience to compose for
        voice:
          anyOf:
            - type: string
            - type: 'null'
          title: Voice
          description: Brand voice to compose with
        subject:
          anyOf:
            - type: string
            - type: 'null'
          title: Subject
          description: >-
            Image subject (compose_image_prompt view); omit for the brand's
            style-only block
        aspect_ratio:
          anyOf:
            - type: string
            - type: 'null'
          title: Aspect Ratio
          description: Aspect ratio for the image prompt (compose_image_prompt view)
        smart:
          type: boolean
          title: Smart
          description: Let the service expand a thin subject (compose_image_prompt view)
          default: false
      type: object
      required:
        - view
      title: BrandKitArgs
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BrandKitView:
      type: string
      enum:
        - catalog
        - compose
        - compose_by_section
        - compose_image_prompt
      title: BrandKitView
    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

````