---
title: "GET /assets/{code}"
method: GET
path: "/assets/{code}"
tags: ["Assets"]
---

# GET /assets/{code}

`GET /assets/{code}`

## Request

- Base URL: `https://instance_name.quable.com/api_1.php`
- URL: `https://instance_name.quable.com/api_1.php/assets/{code}`
- Auth: none declared

Return an asset

## Path parameters

- `code` string, required

## Query parameters

- `target_culture` string
- `active-only` boolean

## Response `200`

Success

- AssetRow
  - `id` integer, required
  - `code` string, required
  - `type` string, required
  - `active` boolean, required
  - `fields` array[], required
    - object[]
  - `documents` object[], required
    - `id` integer
    - `code` string
    - `links` object[]
      - `rel` string
      - `href` string
  - `variants` object[], required
    - `id` integer
    - `code` string
    - `links` object[]
      - `rel` string
      - `href` string
  - `links` object[], required
    - `rel` string
    - `href` string
  - `created_at` string, datetime, required
  - `updated_at` string, datetime, required
  - `created_by` object[], required
    - `id` integer
    - `username` string
  - `updated_by` object[], required
    - `id` integer
    - `username` string
  - `included` DocumentIncludedItem[], required
    - `code` string
    - `type` string
    - `values` EavValueLabel[]
      - `code` integer
      - `label` string

## Other responses

- `404`: No asset could be found using the given code

---

[API](https://skmtc.dev/quable/apis/quable-pim-dam-api-v4.md) - [All operations](https://skmtc.dev/quable/apis/quable-pim-dam-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/quable/apis/quable-pim-dam-api-v4/revisions/3d11b340c0f2?raw)
