# ee.data.getAsset

<br />

Load info for an asset, given an asset id.

<br />

Returns the value call results, or null if a callback is specified.

| Usage | Returns |
|---|---|
| `ee.data.getAsset(id, *callback*)` | Object |

| Argument | Type | Details |
|---|---|---|
| `id` | String | The asset to be retrieved. |
| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |