---
title: "Upload input units"
method: POST
path: "/v2.0/public/projects/MeanOpinionScore/{projectId}/inputUnits"
tags: ["Mean Opinion Score"]
deprecated: true
---

# Upload input units

`POST /v2.0/public/projects/MeanOpinionScore/{projectId}/inputUnits`

> **Deprecated.**

|<i style="color: #EB9D06">The endpoint will be deprecated</i>

The uploading of input units is an asynchronous process.
Our API performs a variety of syntax evaluations upon method invocation and will return syntax-type errors
immediately.
If the uploaded input units passes syntax evaluations, the Project state will change to PROCESSING DATA UPLOAD.
Errors found during asynchronous processing of the uploaded input units will change the Project state to UPLOAD
ERRORS.
To retrieve the specific errors for each input unit call Get Project Status.
            
**Permission Required:** Upload Data

## Path parameters

- `projectId` string, uuid, required

## Request body

- DefinedCrowdPublicApiApiModelsProjectsUploadInputUnitsUploadInputUnitsViewModel1DefinedCrowdPublicApiApiModelsProjectsUploadInputUnitsInnerObjectsUploadAudioInputUnitViewModelDefinedCrowdPublicApiApiVersion1000CultureNeutralPublicKeyTokenNull
  - `inputUnitDetails` DefinedCrowdPublicApiApiModelsProjectsUploadInputUnitsInnerObjectsUploadAudioInputUnitViewModel[], required — List of input units.
    - `audioFileUrl` string, uri, required — URL to the audio file that is going to be listened by the contributors.
    - `id` string, uuid, nullable — Client generated identifier that will be used as InputUnit Id.
    - `details` string, nullable — Client generated additional meta-data. An optional string with at most 500 characters.
  - `autoStartOnUploadSuccess` boolean, nullable — Your project will automatically start once all data input units were successfully uploaded and the project status is UPLOAD SUCCESS

## Response `200`

Input Units were successfully added.

## Other responses

- `400` — Not enough data units. Invalid input parameters.
- `401` — Invalid authentication (project from another enterprise or invalid/expired token).
- `403` — Project not accepting more input units. Invalid Enterprise Subscription.
- `404` — Project does not exist.

---

[API](https://skmtc.net/definedcrowd/apis/defined-ai-api.md) · [All operations](https://skmtc.net/definedcrowd/apis/defined-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/definedcrowd/defined-ai-api/revisions/14cab8ac3bca/schema)
