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

# Create dataset

> Create a new empty dataset. Add items separately



## OpenAPI

````yaml /api-reference/openapi.json post /datasets
openapi: 3.1.0
info:
  title: Calibrate Public API
  version: 0.1.0
  description: Programmatic API for CI/automation. Pass your key in the `X-API-Key` header.
servers:
  - url: https://api.calibrate.artpark.ai
    description: Production
security: []
paths:
  /datasets:
    post:
      tags:
        - datasets
      summary: Create dataset
      description: Create a new empty dataset. Add items separately
      operationId: create_new_dataset_datasets_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatasetCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    DatasetCreateRequest:
      properties:
        name:
          type: string
          title: Name
          description: Dataset name, unique within the workspace
        dataset_type:
          type: string
          enum:
            - stt
            - tts
          title: Dataset Type
          description: >-
            `stt` items carry audio + ground-truth text. `tts` items carry text
            only
      type: object
      required:
        - name
        - dataset_type
      title: DatasetCreateRequest
    DatasetResponse:
      properties:
        uuid:
          type: string
          maxLength: 36
          minLength: 36
          title: Uuid
          description: Dataset ID
          examples:
            - f47ac10b-58cc-4372-a567-0e02b2c3d479
        name:
          type: string
          title: Name
          description: Dataset name
        dataset_type:
          type: string
          title: Dataset Type
          description: Dataset type (`stt` or `tts`)
        item_count:
          type: integer
          title: Item Count
          description: Number of items in the dataset
        eval_count:
          type: integer
          title: Eval Count
          description: Number of evaluation jobs that used this dataset
        created_at:
          type: string
          title: Created At
          description: When the dataset was created (ISO 8601 UTC)
        updated_at:
          type: string
          title: Updated At
          description: When the dataset was last updated (ISO 8601 UTC)
      type: object
      required:
        - uuid
        - name
        - dataset_type
        - item_count
        - eval_count
        - created_at
        - updated_at
      title: DatasetResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.