---
url: https://api-doc.aive.com/api/operations/mutations/upload-container.md
---

Create a container from a previously finalized upload and start its extraction
process. Extraction is asynchronous; poll the container's uploadStatus or
subscribe to the extractionCompleted webhook event to know when it completes.

This mutation is not idempotent: do not call it multiple times for the same
upload unless you are explicitly retrying after a failure.

```graphql
uploadContainer(
  input: UploadContainerInput!
): UploadContainerOutput!
```

### Arguments

#### [uploadContainer.input](#input) ● [UploadContainerInput!](/api/types/inputs/upload-container-input) non-null input {#input}

### Type

#### [UploadContainerOutput](/api/types/unions/upload-container-output) union

The result of the uploadContainer mutation, either a success or an error.
