> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/api-sdk-cli/hi/sdks/assets-and-custom-metadata.md).

# Assets और कस्टम मेटाडेटा

Python SDK से वर्कस्पेस लाइब्रेरी (Assets) में फ़ाइलें अपलोड करें, उन्हें टैग करें, कस्टम मेटाडेटा सेट करें और उनकी प्रोसेसिंग ट्रैक करें।

Assets वर्कस्पेस की लाइब्रेरी है: एक बार सेव की गई फ़ाइलें जिन्हें डेटासेट और प्रोजेक्ट्स में बार-बार इस्तेमाल किया जाता है। जब कई टीमें या प्रोजेक्ट रोबोट रिकॉर्डिंग को लेबल करेंगे, तो उन्हें Assets में अपलोड करें।

## लाइब्रेरी में अपलोड करना <a href="#upload-to-the-library" id="upload-to-the-library"></a>

```python
result = client.assets.upload(
    "./cell-04",
    folder="Robot cell 04",                 # created or reused
    tags=["site-berlin", "2026-11"],
    custom_metadata={"robot": "UR10e", "shift": "night"},
)
print(result.uploaded, "uploaded to", result.folder_name)
for failure in result.failed:
    print("Not uploaded:", failure.path, failure.error)
```

| आर्ग्युमेंट                      | उपयोग                                                                                                                                                            |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `folder` या `folder_id`          | नाम से (बनाया या दोबारा इस्तेमाल किया गया) या ID से लक्ष्य फ़ोल्डर। कोई एक दें, दोनों नहीं। दोनों के बिना फ़ाइलें `Untitled upload` नाम के फ़ोल्डर में जाती हैं। |
| `path`                           | लक्ष्य फ़ोल्डर के अंदर सब-फ़ोल्डर पाथ, जैसे `cameras/front`                                                                                                      |
| `tags`                           | हर फ़ाइल पर जोड़े जाने वाले टैग                                                                                                                                  |
| `custom_metadata`                | हर फ़ाइल पर सेव होने वाला JSON ऑब्जेक्ट                                                                                                                          |
| `generic_type`                   | टाइप तय करें, जैसे `pointcloud` या `tabular`                                                                                                                     |
| `primary_column`                 | टेबुलर CSV का टेक्स्ट कॉलम                                                                                                                                       |
| `defer_timeseries_configuration` | टाइम-सीरीज़ CSV अभी अपलोड करें और कॉलम बाद में चुनें                                                                                                             |
| `split_sensor_folders`           | केवल LiDAR                                                                                                                                                       |

## प्रोसेसिंग ट्रैक करना <a href="#follow-processing" id="follow-processing"></a>

```python
asset = result.assets[0]
status = asset.wait()            # default timeout 7 hours, for large rasters
if status.failed:
    asset.retry()                # lidar scenes and tiled rasters

asset = client.assets.asset("ASSET_ID")   # a handle by ID
print(asset.status().status)
```

## कस्टम मेटाडेटा <a href="#custom-metadata" id="custom-metadata"></a>

```python
asset.update_custom_metadata({"robot": "UR10e", "lighting": "low"})
client.assets.set_custom_metadata("ASSET_ID", None)    # clear it
```

नया मान पुराने मान की जगह ले लेता है। साफ़ करने के लिए `None` दें।

## टाइम-सीरीज़ कॉलम <a href="#time-series-columns" id="time-series-columns"></a>

```python
asset.configure_timeseries(x_column="timestamp", channels=["joint_1", "joint_2", "gripper"])
```

`defer_timeseries_configuration=True` के साथ अपलोड के बाद इसका इस्तेमाल करें।

## Asset फ़ील्ड <a href="#asset-fields" id="asset-fields"></a>

| फ़ील्ड                                                 | अर्थ                                                                         |
| ------------------------------------------------------ | ---------------------------------------------------------------------------- |
| `id`, `data_type`, `folder_id`, `file_size`, `created` | पहचान और स्थान                                                               |
| `file_name`                                            | सेव किया गया नाम। रिलीज़ इसी का इस्तेमाल करती हैं; फ़ाइलों को इसी से मिलाएँ। |
| `uploaded_name`                                        | ऐप में दिखने वाला नाम                                                        |
| `tags`, `custom_metadata`                              | आपके टैग और मेटाडेटा                                                         |
| `upload_status`                                        | प्रोसेसिंग स्थिति                                                            |

लाइब्रेरी में अपलोड की गई फ़ाइलों के लिए `file_name` और `uploaded_name` एक जैसे होते हैं। सीधे प्रोजेक्ट में अपलोड की गई फ़ाइलों के लिए ये अलग होते हैं।

## संबंधित पेज <a href="#related" id="related"></a>

[फ़ोल्डर](https://docs.unitlab.ai/api-sdk-cli/hi/sdks/folders.md) · [डेटासेट](https://docs.unitlab.ai/api-sdk-cli/hi/sdks/datasets.md) · [CLI: assets और फ़ोल्डर](https://docs.unitlab.ai/api-sdk-cli/hi/clis/cli-assets-and-folders.md)
