> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Mark Indexed • AI Agent SDK

> mark_indexed: Mark file as indexed.

# mark\_indexed

Method

> This is a method of the [**FileTracker**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/FileTracker.md) class in the [**indexing**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/indexing.md) module.

Mark file as indexed.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def mark_indexed(filepath: str, info: Dict[str, Any], memory_ids: Optional[List[str]]) -> None
```

## Parameters

**filepath** `str` *required*

Path to file

**info** `Dict[str, Any]` *required*

File info from get\_file\_info()

**memory\_ids** `Optional`

Optional list of vector-store memory IDs produced for this file, so a later re-index can delete stale chunks before re-adding.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/knowledge/indexing.py#L365)
>
> `praisonaiagents/knowledge/indexing.py` at line 365


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.