GET
/
pub
/
v1
/
assets
/
{asset_id}
curl --request GET \
  --url https://api.rendernet.ai/pub/v1/assets/{asset_id} \
  --header 'X-API-KEY: <x-api-key>'
{
  "data": {
    "data": {
      "size": {
        "height": 512,
        "width": 512
      },
      "url": "object-url"
    },
    "id": "asset_id",
    "status": "active",
    "tags": [
      "api"
    ],
    "type": "image"
  },
  "err": {}
}

Headers

X-API-KEY
string
required

API key needed to access our public endpoints. You can find yours under the 'Account' section of the website

Path Parameters

asset_id
string
required

The id of the asset

Response

200 - application/json
The asset is successfully fetched
data
object
err
object

The error if the request was not successful