---
title: "Retrieve specific asset"
method: GET
path: "/assets/{asset_id}"
tags: ["Assets"]
---

# Retrieve specific asset

`GET /assets/{asset_id}`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/assets/{asset_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/assets/:asset_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a specific [asset](#tag/asset_model)'s information, given their asset ID. When an asset created by `/assets/generate` fails to generate, it is deleted but stays retrievable for 3 days with `deleted` set to `true`, `ai_generation_status` set to `failed` and the reason in `ai_generation_error`. After that it returns 404.

## Path parameters

- `asset_id` string, required

## Response `200`

OK

- AssetItem
  - `data` Asset
    - `type` string, required
    - `id` string, required
    - `attributes` object, required
      - `id` string, required
      - `creator_id` string, required
      - `subject` string, required
      - `from_name` string, nullable, required
      - `from_email` string, nullable, required
      - `reply_email` string, nullable, required
      - `type` 'email' | 'landing', required
      - `name` string, required
      - `folder_path` string, required
      - `campaign` string, required
      - `brand` string, required
      - `language_code` string, nullable, required
      - `version` string, required
      - `parent_asset_id` string, nullable, required
      - `ai_generation_status` 'started' | 'completed' | 'failed', nullable: Status of AI content generation. Only present on assets created via the /assets/generate endpoint. Null for non-AI assets.
      - `ai_generation_error` string, nullable: Why AI content generation failed, when `ai_generation_status` is `failed` (for example, an image URL in the prompt that could not be accessed). Null otherwise.
      - `deleted` boolean: Whether the asset has been deleted. Only true for an asset whose AI generation failed in the last 3 days; other deleted assets return 404.
      - `approval_status` 'draft' | 'review' | 'rejected' | 'approved' | 'completed', nullable, required: Where the asset is in your company's approval workflow.

## Other responses

- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
