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

# GET /assets/{assetId}

`GET /assets/{assetId}`

Retrieve an asset by assetId.

## Path parameters

- `assetId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- AssetResource — The items in the current page of results.
  - `kind` string, required — Discriminator property for AssetResource.
  - `id` string, required — The system generated unique id for the resource.
  - `name` string — The caller provided unique name for the resource.
  - `displayName` string — The name that can be used for display purposes.
  - `uuid` string, uuid — Universally Unique Identifier
  - `createdDate` string, date-time — The date this asset was first added to this workspace.
  - `updatedDate` string, date-time — The date this asset was last updated for this workspace.
  - `state` 'candidate' | 'confirmed' | 'dismissed' | 'candidateInvestigate' | 'associatedPartner' | 'associatedThirdparty' | 'archived' — The state of assets
  - `externalId` string — An optional customer provided identifier for this asset.
  - `labels` string[] — Customer labels assigned to this asset.
  - `wildcard` boolean — An indicator of whether this asset represents a wildcard rollup of assets on this domain.
  - `discoGroupName` string — The name of the DiscoGroup that brought added this asset to the workspace.
  - `auditTrail` AuditTrailItem[] — The history of how this asset was pulled into the workspace through the discovery process.
    - `id` string — This is typically the same as the name but might be different for different models.
    - `name` string — The caller provided unique name for the resource.
    - `displayName` string — The name that can be used for display purposes.
    - `kind` 'as' | 'contact' | 'domain' | 'host' | 'ipAddress' | 'ipBlock' | 'page' | 'sslCert' — The kind of asset.
    - `reason` string — An explanation of why this audit trail node was discovered from the previous node.
  - `reason` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/riskiq-microsoft-easm.md) · [All operations](https://skmtc.net/azure/apis/riskiq-microsoft-easm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/riskiq-microsoft-easm/versions/5865b52c51a3/schema)
