# Retrieve asset DocumentDb record

An asset, often referred to as a **token,** represents a digital artifact on the TEOS platform that can be stored, managed, and verified on blockchain.

This endpoint retrieves the document stored in the DocumentDB for a given asset, referenced by its uniqueAssetId. The document contains the structured JSON representing the asset, including its general and custom properties.

📘 Learn more about assets -[ link](https://app.gitbook.com/o/ZaeNizhnU47lCcTSk7wB/s/8Gkk33l0DIIchfRT86LP/~/changes/1/resources/using-the-teos-api/concepts/asset)

#### Request Endpoint:

```http
GET /odata/v1.0/Assets({key})/DocumentDbRecord
```

#### Parameters

No query parameters.

| **Parameter** | **Type** | **Description**            | **Mandatory** |
| ------------- | -------- | -------------------------- | ------------- |
| key           | Path     | UniqueAssetId of the asset | ✅             |

**Example:**

```http
GET /Assets('0x5f1e6522bd3b65be880007')/DocumentDbRecord
```

#### Response Body:

`application/json`— Returns the asset document as a JSON string.

Example Response Body:

```http
"string"
```

#### Response Codes:

| **Code** | **Description**                                   |
| -------- | ------------------------------------------------- |
| 200      | The DocumentDB record was successfully retrieved. |
| 401      | Unauthorized.                                     |
| 404      | The DocumentDB record does not exist.             |

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://teos-docs.coreledger.net/guides/assets/retrieve-asset-documentdb-record.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
