> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapace.lk/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an asset

> Returns an asset's details.

Returns the same fields as [Upload an asset](/api-reference/assets/upload). To download the image itself, use [Get asset content](/api-reference/assets/content).

<ParamField path="id" type="string" required>
  The asset ID, for example `asset_Xr9Lm2Qv7Tn4Kp8Zs1Wd`.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.tapace.lk/v1/assets/asset_Xr9Lm2Qv7Tn4Kp8Zs1Wd \
    -H "Authorization: Bearer $TAPACE_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "object": "asset",
    "id": "asset_Xr9Lm2Qv7Tn4Kp8Zs1Wd",
    "slot": "icon",
    "contentType": "image/png",
    "byteSize": 4821,
    "width": 87,
    "height": 87,
    "createdAt": "2026-10-13T08:55:00.000Z"
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "type": "not_found_error",
      "message": "Asset not found."
    },
    "requestId": "req_8f3a2c1d9e7b6a54"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.