---
title: "bird assets uploads complete"
description: "Complete a media-library upload"
canonical: "https://bird.com/docs/cli/reference/assets-uploads-complete"
---

# `bird assets uploads complete`

## Usage

```bash
bird assets uploads complete <upload-id> [flags]
```

## Description

Checks the staged file and publishes it through the media library. Returns the saved result on retry, including when the result asset later becomes unavailable. Complete only after the PUT succeeds.

## Procedure

Step 2 of 2 of "Upload a file to the media library". Previous: bird assets uploads create.

## Examples

```bash
bird assets uploads complete <id>
```

## Options

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |
| `--response-schema` | Print the fields this command returns, then exit             |

## Related

| Name                                                                        | Description                                |
| --------------------------------------------------------------------------- | ------------------------------------------ |
| [`bird assets uploads cancel`](/docs/cli/reference/assets-uploads-cancel)   | Cancel a media-library upload              |
| [`bird assets uploads create`](/docs/cli/reference/assets-uploads-create)   | Create a media-library upload session      |
| [`bird assets uploads get`](/docs/cli/reference/assets-uploads-get)         | Get a media-library upload session         |
| [`bird assets uploads prepare`](/docs/cli/reference/assets-uploads-prepare) | Refresh a media-library upload instruction |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
