---
title: "Get Asset Path"
method: GET
path: "/assets/{asset_id}/path"
tags: ["Assets"]
---

# Get Asset Path

`GET /assets/{asset_id}/path`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/assets/{asset_id}/path`
- Auth: API key in header `Authorization`

Get full path from root to the asset (including the asset itself)

## Path parameters

- `asset_id` string, uuid, required: The ID of the asset

## Query parameters

- `collection_id` string, uuid, nullable: Optional collection ID to filter path by collection membership

## Response `200`

Successful Response

- PathSegment[]
  - `id` string, uuid, required: Resource ID
  - `name` string, required: Resource name

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
