---
updatedAt: 2025-10-09T17:18:07.000Z
agentTools:
  projectIndex: https://docs.uplynk.com/llms.txt
---

# Copy Asset

v2

View your libraries by clicking My Content from the [Content tab](https://cms.uplynk.com/static/cms2/index.html#/content).

Copies an asset from a library shared with your account to your CMS library. The following data will be copied from the original asset:

* Audio/video content
* Asset name
* Poster image
* Metadata
* Ad breaks
* Allowed domains
* Whether it requires a signed playback URL

The asset copied to your account will be assigned a unique system-defined ID (i.e., GUID).

### Request

Request syntax:

/jobs/copy-from-library

Request parameters:

Pass the following parameters through the msg parameter:

| Name                | Data Type | Description                                                                                                                                                                                                                                                                                                                                              |
| ------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| asset\_id  Required | String    | Identifies the asset that will be copied by its asset ID.  This asset must reside in a library shared with your account. Where can I find an asset ID? 1. Navigate to the CMS library by clicking the Content tab. 2. Select the desired asset. 3. The asset ID corresponding to the asset selected in the previous step is listed under the GUID label. |

#### Authentication

Pass a digital signature based off of msg.

### Response

The response for a successful request contains the following parameter.

| Name                  | Data Type  | Description                   |
| --------------------- | ---------- | ----------------------------- |
| [job](#jobDictionary) | Dictionary | Describes a Cloud Slicer job. |

### Sample Request/Response

A sample request/response is provided below.

The `Call` function, which is imported from `API Auth` for V2 APIs (see below), prepares the message body and digital signature.

<TutorialTile
  backgroundColor="#055b96"
  emoji="🔓"
  id="67e1aab8839d83004dcf9173"
  link="https://docs.uplynk.com/v2.0/recipes/api-auth-for-classic-authentication-v2-apis"
  slug="api-auth-for-classic-authentication-v2-apis"
  title="API Auth for Classic Authentication (V2 APIs)"
/> 

```python
from uplynk_api2_auth import Call

print(Call('/api2/cloudslicer/jobs/copy-from-library', asset_id='ae01164a50a04847b5624485aae1aac3'))

{
	'job' : {
		'state' : 'waiting',
		'last_error' : '',
		'args' : {},
		'attempts' : 0,
		'source' : {
			'beam_id' : 'ae01164a50a04847b5624485aae1aac3'
		},
		'finished' : 0,
		'asset' : None,
		'last_start' : 0,
		'owner' : 'a7231b9499a94e7a90e0438c6a136940',
		'progress' : '',
		'id' : 'a3b33c97e932443ea33bc44ab83abb33'
	},
	'error' : 0
}
```