# Source Stream Settings

## Last Scanned Timestamp (`SOURCE_STREAM_LAST_SCANNED_TIMESTAMP`)

Last timestamp scanned from this data source. Used as part of `SCAN_WHERE_CLAUSE` for incremental scanning.

**How it works:**

* Stored after each successful scan
* Automatically updated when scans complete
* Used to filter records in subsequent scans
* Enables delta/incremental scanning

**Incremental scanning:**

* Set `SCAN_WHERE_CLAUSE` to include timestamp filter (e.g., `WHERE created_date > '<last_scanned_timestamp>'`)
* Scans only new or changed records
* Faster than full scans
* Schema discovery still runs for new data

**Resetting:**

* Remove timestamp from configuration to scan entire data source
* Useful for full re-scanning after schema changes
* Can be cleared manually in configuration


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datapancake.com/core-concepts/scan-configurations/source-stream-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
