> ## 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.

# Index Result • AI Agent SDK

> IndexResult: Result of an indexing operation.

# IndexResult

> Defined in the [**indexing**](../modules/indexing) module.

<Badge color="blue">AI Agent</Badge>

Result of an indexing operation.

Attributes:
success: Whether indexing succeeded
files\_indexed: Number of files indexed
files\_skipped: Number of files skipped (unchanged)
chunks\_created: Number of chunks created
errors: List of error messages
duration\_seconds: Time taken for indexing
corpus\_stats: Stats about the indexed corpus

## Properties

<ResponseField name="success" type="bool">
  No description available.
</ResponseField>

<ResponseField name="files_indexed" type="int">
  No description available.
</ResponseField>

<ResponseField name="files_skipped" type="int">
  No description available.
</ResponseField>

<ResponseField name="chunks_created" type="int">
  No description available.
</ResponseField>

<ResponseField name="errors" type="List[str]">
  No description available.
</ResponseField>

<ResponseField name="duration_seconds" type="float">
  No description available.
</ResponseField>

<ResponseField name="corpus_stats" type="Optional[CorpusStats]">
  No description available.
</ResponseField>

## Methods

<CardGroup cols={2}>
  <Card title="total_files()" icon="function" href="../functions/IndexResult-total_files">
    Total files processed (indexed + skipped).
  </Card>
</CardGroup>

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Convert to dictionary.
</Accordion>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/knowledge/indexing.py#L139">
  `praisonaiagents/knowledge/indexing.py` at line 139
</Card>
