---
title: "content.stat()"
description: "Look up a single manifest entry by path or key without parsing the body."
canonical_url: "https://content.comark.dev/reference/content/stat"
---
# content.stat()

> Look up a single manifest entry by path or key without parsing the body.

## `content.stat(key)`

Looks up a single manifest entry by its public `path` or source key without parsing the body. Synchronous.

Public paths are normalized to lowercase when indexed. Lookup is case-insensitive, and the returned entry uses the normalized lowercase path.

**Parameters:**

- `key`: a public path or manifest key. Matching is case-insensitive.

**Returns:** [`ContentListFile`](https://content.comark.dev/reference/types/content#contentlistfiletdata)` | undefined`

## Usage

```ts [usage.ts]
const entry = content.stat('/posts/hello')
```


## Sitemap

See the full [sitemap](https://content.comark.dev/sitemap.md) for all pages.
