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

# get_entity_provenance

> Track the conversation sources behind an entity.

# get\_entity\_provenance

Returns the provenance log for an entity: which conversations contributed to its creation and which facts were extracted from each source. Use this when you need to verify where knowledge came from or audit fact origins.

## Parameters

| Parameter | Type   | Required | Description                                                                  |
| --------- | ------ | -------- | ---------------------------------------------------------------------------- |
| `type`    | string | No       | Entity type (optional, helps disambiguate if multiple entities share a name) |
| `name`    | string | Yes      | Name of the entity                                                           |

## Read-only

Yes. This tool only reads from your memory.

## Example usage

```json theme={null}
{
  "name": "Alice"
}
```

```json theme={null}
{
  "type": "project",
  "name": "my-api"
}
```

## When to use

* Verifying where a piece of knowledge came from
* Auditing which conversations led to the creation of an entity
* Understanding how an entity's profile was built up over time
* Tracing a specific fact back to its original conversation

<Tip>
  If you're unsure whether a fact in an entity's dossier is accurate, use `get_entity_provenance` to trace it back to the original conversation where it was mentioned.
</Tip>

## How provenance works

Every time BaseLayer's dream engine distills a conversation into entities and facts, it records which conversation contributed which pieces of knowledge. The provenance log is a timeline of these contributions, letting you see the full history of how an entity was built.
