> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Commit and Index Upload

> Finalizes the data upload by committing the uploaded parts and indexing the dataset. This is Stage 3 of the upload process



## OpenAPI

````yaml /openapi/product/data-sets.yaml put /api/data/v3/datasources/{datasetId}/uploads/{uploadId}/commit
openapi: 3.0.0
info:
  title: Datasets API
  version: v1
  description: >
    The Domo Datasets API provides a set of endpoints for managing, creating,
    and updating datasets within Domo. The API allows developers to execute SQL
    queries on datasets,

    manage access permissions, retrieve metadata, append rows, share datasets,
    and perform various dataset operations.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: example
        description: Your Domo instance name
security:
  - developerToken: []
paths:
  /api/data/v3/datasources/{datasetId}/uploads/{uploadId}/commit:
    put:
      tags:
        - Datasets API
      summary: Commit and Index Upload
      description: >-
        Finalizes the data upload by committing the uploaded parts and indexing
        the dataset. This is Stage 3 of the upload process
      parameters:
        - name: datasetId
          in: path
          required: true
          schema:
            type: string
        - name: uploadId
          in: path
          required: true
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommitRequest'
            example:
              action: APPEND
              index: true
      responses:
        '200':
          description: Upload committed successfully
      x-codeSamples:
        - lang: HTTP
          source: >
            PUT /api/data/v3/datasources/{datasetId}/uploads/{uploadId}/commit
            HTTP/1.1

            Host: {instance}.domo.com

            X-DOMO-Developer-Token: {token}

            Content-Type: application/json


            {
              "action": "APPEND",
              "index": true
            }
components:
  schemas:
    CommitRequest:
      type: object
      required:
        - action
        - index
      properties:
        action:
          type: string
          enum:
            - APPEND
            - REPLACE
        index:
          type: boolean
        restateDataTag:
          type: string
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Developer token obtained from Domo

````