# Assets

Individual 3D asset management

## Upload asset files

> Uploads files for an asset in an asset pack

```json
{"openapi":"3.0.3","info":{"title":"Builder Server API","version":"2.10.0"},"tags":[{"name":"Assets","description":"Individual 3D asset management"}],"servers":[{"url":"https://builder-api.decentraland.org/v1","description":"Production environment","variables":{}},{"url":"https://builder-api.decentraland.zone/v1","description":"Development environment","variables":{}}],"security":[{"SignedFetch":[]}],"components":{"securitySchemes":{"SignedFetch":{"type":"apiKey","in":"header","name":"X-Identity-Auth-Chain-*","description":"Signed fetch authentication using Decentraland's ADR-44 specification.\nMultiple headers are used to provide the authentication chain.\n"}}},"paths":{"/assetPacks/{assetPackId}/assets/{id}/files":{"post":{"operationId":"uploadAssetFiles","tags":["Assets"],"summary":"Upload asset files","description":"Uploads files for an asset in an asset pack","parameters":[{"name":"assetPackId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Files uploaded successfully"},"401":{"description":"Unauthorized - authentication required or insufficient permissions","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"data":{"type":"object"}}}}}}}}}}}
```

## Get a single asset

> Returns an asset by ID

```json
{"openapi":"3.0.3","info":{"title":"Builder Server API","version":"2.10.0"},"tags":[{"name":"Assets","description":"Individual 3D asset management"}],"servers":[{"url":"https://builder-api.decentraland.org/v1","description":"Production environment","variables":{}},{"url":"https://builder-api.decentraland.zone/v1","description":"Development environment","variables":{}}],"security":[],"paths":{"/assets/{id}":{"get":{"operationId":"getAsset","tags":["Assets"],"summary":"Get a single asset","description":"Returns an asset by ID","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Asset details","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"thumbnail":{"type":"string"},"eth_address":{"type":"string"},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"asset_pack_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"model":{"type":"string"},"script":{"type":"string"},"thumbnail":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"category":{"type":"string"},"contents":{"type":"object"},"metrics":{"type":"object"},"parameters":{"type":"array"},"actions":{"type":"array"}}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}}}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"data":{"type":"object"}}}}}}}}}}}
```

## Get multiple assets

> Returns multiple assets by IDs

```json
{"openapi":"3.0.3","info":{"title":"Builder Server API","version":"2.10.0"},"tags":[{"name":"Assets","description":"Individual 3D asset management"}],"servers":[{"url":"https://builder-api.decentraland.org/v1","description":"Production environment","variables":{}},{"url":"https://builder-api.decentraland.zone/v1","description":"Development environment","variables":{}}],"security":[],"paths":{"/assets":{"get":{"operationId":"getAssets","tags":["Assets"],"summary":"Get multiple assets","description":"Returns multiple assets by IDs","parameters":[{"name":"id","in":"query","required":true,"schema":{"oneOf":[{"type":"string","format":"uuid"},{"type":"array","items":{"type":"string","format":"uuid"}}]}}],"responses":{"200":{"description":"List of assets","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"asset_pack_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"model":{"type":"string"},"script":{"type":"string"},"thumbnail":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"category":{"type":"string"},"contents":{"type":"object"},"metrics":{"type":"object"},"parameters":{"type":"array"},"actions":{"type":"array"}}}}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.decentraland.org/apis/apis/builder-server/assets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
