---
title: "Get Asset Freshness"
method: GET
path: "/api/v1/sdk/freshness/{asset_id}"
tags: ["public-api", "public-freshness"]
---

# Get Asset Freshness

`GET /api/v1/sdk/freshness/{asset_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/freshness/{asset_id}`
- Auth: none declared

Get freshness status for a specific asset.

The asset_id can be either a UUID or qualified name.

**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()

freshness = client.freshness.get("postgresql.mydb.public.users")
if freshness.is_stale:
    print(f"Stale for {freshness.hours_since_update} hours")
```

**CLI Usage:**
```bash
armor freshness get postgresql.mydb.public.users
```

## Path parameters

- `asset_id` string, required

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
