Skip to main content
GET
/
api
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
assets
/
{id}
/
usage
curl -X GET "https://api.metabind.ai/api/v1/organizations/org123/projects/proj456/assets/asset789/usage" \
  -H "x-api-key: YOUR_API_KEY"
{
  "components": [
    {
      "id": "comp123",
      "name": "HeroComponent",
      "version": 2
    }
  ],
  "packages": [
    {
      "version": "1.0.0",
      "componentId": "comp123"
    },
    {
      "version": "1.1.0",
      "componentId": "comp123"
    }
  ],
  "content": [
    {
      "id": "cont456",
      "name": "Homepage Hero",
      "version": 1
    }
  ]
}
Get detailed information about where an asset is used across components, packages, and content items. Use this to understand dependencies before modifying or deleting an asset.

Path Parameters

organizationId
string
required
The unique identifier of the organization
projectId
string
required
The unique identifier of the project
id
string
required
The unique identifier of the asset

Response

components
object[]
Components that reference this asset
packages
object[]
Packages that include this asset
content
object[]
Content items that use this asset
curl -X GET "https://api.metabind.ai/api/v1/organizations/org123/projects/proj456/assets/asset789/usage" \
  -H "x-api-key: YOUR_API_KEY"
{
  "components": [
    {
      "id": "comp123",
      "name": "HeroComponent",
      "version": 2
    }
  ],
  "packages": [
    {
      "version": "1.0.0",
      "componentId": "comp123"
    },
    {
      "version": "1.1.0",
      "componentId": "comp123"
    }
  ],
  "content": [
    {
      "id": "cont456",
      "name": "Homepage Hero",
      "version": 1
    }
  ]
}