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

# completeUploadSession

> Finalize an upload session — the multipart upload is completed and asset processing begins

**Required scopes:** `write:assets`, `host:write:network_assets` (any one)



**mutation** `completeUploadSession(input: CompleteUploadSessionInput!): CompleteUploadSessionPayload`

## Arguments

**`input`**: `CompleteUploadSessionInput!` (required)

Parameters for CompleteUploadSession

## Returns

`CompleteUploadSessionPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`session`**: `UploadSession`

## Examples

```graphql Mutation
mutation CompleteUploadSession($input: CompleteUploadSessionInput!) {
  completeUploadSession(input: $input) {
    clientMutationId
    errors
    session {
      assetId
      assetStatus
      assetUrl
      estimateModelVersion
      estimateSource
      estimatedProcessingSeconds
    }
  }
}
```

```json Variables
{
  "input": {
    "sessionToken": "string"
  }
}
```

```json Response
{
  "data": {
    "completeUploadSession": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "session": {
        "assetId": "id",
        "assetStatus": "string",
        "assetUrl": "string",
        "estimateModelVersion": "string",
        "estimateSource": "string",
        "estimatedProcessingSeconds": 1
      }
    }
  }
}
```


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