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

# Create a semantic catalog

> Creates a new Semantic Catalog in the specified Project. A Semantic Catalog is a virtual catalog that groups Semantic Tables, which are backed by saved queries.


<span style={{display: "flex", gap: "10px", flexDirection: "row", alignItems: "center"}}>
  <img src="https://cdn.peaka.com/badges/partner-api-key-badge.png" />

  <img src="https://cdn.peaka.com/badges/project-api-key-badge.png" />
</span>


## OpenAPI

````yaml post /data/projects/{projectId}/semantic-catalogs
openapi: 3.0.1
info:
  title: Peaka Gateway API
  description: Peaka Gateway API Documentation
  version: '1.0'
servers:
  - url: https://partner.peaka.studio/api/v1
    description: Default Server URL (US Zone)
  - url: https://partner.eu.peaka.studio/api/v1
    description: EU Zone
security:
  - bearerAuth: []
paths:
  /data/projects/{projectId}/semantic-catalogs:
    post:
      tags:
        - Data -- Semantic Catalogs
      summary: Create a semantic catalog
      description: >
        Creates a new Semantic Catalog in the specified Project. A Semantic
        Catalog is a virtual catalog that groups Semantic Tables, which are
        backed by saved queries.
      operationId: createSemanticCatalog
      parameters:
        - name: projectId
          in: path
          description: ID of the Project
          required: true
          schema:
            type: string
          example: mtKDhe1U
      requestBody:
        description: Semantic Catalog Request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SemanticCatalogRequest'
            example:
              name: myCatalog
        required: true
      responses:
        '200':
          description: Catalog created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
              example:
                id: '688890918747898103'
                name: myCatalog
                displayName: myCatalog
                type: SEMANTIC
components:
  schemas:
    SemanticCatalogRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the catalog
    Catalog:
      type: object
      properties:
        id:
          type: string
          description: The ID of the catalog.
        name:
          type: string
          description: The name of the catalog.
        displayName:
          type: string
          description: The display name of the catalog.
        catalogType:
          type: string
          description: The type of the catalog.
        connectionId:
          type: string
          description: The connection ID of the catalog.
      description: |-
        This class represents a Catalog.
         It contains the id, name, display name, type, and connection ID of the catalog.
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        Use the Authorization header with the value 'Bearer <apiKey>' to
        authenticate. Partner API Keys have full access; Project API Keys are
        limited to their project scope. Learn more:
        https://docs.peaka.com/api-reference/authentication
      scheme: bearer
      bearerFormat: Api Key

````