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

# Create Eval Dataset Endpoint

> B7 — golden-labels CSV upload ({issue_id, expected_loop_group}),
stored via UploadStore with its content_hash recorded. `workspace_id`
(shape-validated, FIX 1(b)) is used for a direct upload; `client_profile_id`
(FIX 4) derives the real workspace_id from that client's profile instead.



## OpenAPI

````yaml /openapi.json post /v1/provisioning/eval-datasets
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/provisioning/eval-datasets:
    post:
      tags:
        - provisioning-portal
      summary: Create Eval Dataset Endpoint
      description: >-
        B7 — golden-labels CSV upload ({issue_id, expected_loop_group}),

        stored via UploadStore with its content_hash recorded. `workspace_id`

        (shape-validated, FIX 1(b)) is used for a direct upload;
        `client_profile_id`

        (FIX 4) derives the real workspace_id from that client's profile
        instead.
      operationId: create_eval_dataset_endpoint_v1_provisioning_eval_datasets_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Body_create_eval_dataset_endpoint_v1_provisioning_eval_datasets_post
        required: true
      responses:
        '201':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    Body_create_eval_dataset_endpoint_v1_provisioning_eval_datasets_post:
      properties:
        client_profile_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Client Profile Id
        file:
          contentMediaType: application/octet-stream
          title: File
          type: string
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
      required:
        - file
      title: Body_create_eval_dataset_endpoint_v1_provisioning_eval_datasets_post
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````