<@U04S8PLJWMT> is stream_interval.start_time taken...
# ask-ai
j
@kapa.ai is stream_interval.start_time taken from stream state dateUpdated?
k
Short answer: not necessarily. - In the Connector Builder’s incremental sync, the stream interval’s start_time is derived from the incremental configuration and the saved state. The docs state that “the most recent encountered date will be saved as the state … when the next sync is running, it picks up from that cutoff date as the new start date.” This implies stream_interval.start_time generally equals the cutoff from state for that stream (or the configured start time if no state exists). [[Incremental example](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/incremental-sync#example); [1.7 example](https://docs.airbyte.com/platform/1.7/connector-development/connector-builder-ui/incremental-sync#example)] - However, the docs don’t mention a specific field name like dateUpdated. The cursor field is whatever you configure (e.g., webPublicationDate in the example). So if your stream’s cursor is dateUpdated, then the stored state will reflect that cursor, and the next stream_interval.start_time will be based on that value. But there’s no universal mapping to a field named dateUpdated. [[Incremental example](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/incremental-sync#example); [Variables reference](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/reference#/definitions/RecordFilter)] - In code-based Python connectors, the same concept applies: you define cursor_field and update state from records; stream_slices produce time windows from state. Again, no fixed dateUpdated key—it's whatever cursor you implement. [[Python incremental tutorial](https://docs.airbyte.com/platform/connector-development/tutorials/custom-python-connector/incremental-reads); [1.7 Python tutorial](https://docs.airbyte.com/platform/1.7/connector-development/tutorials/custom-python-connector/incremental-reads)] Therefore: stream_interval.start_time comes from the connector’s incremental state (using the configured cursor), not specifically from a field named dateUpdated unless you chose that as your cursor. If you’re using the Close.com source, note it uses date_updated for some streams and date_created for others, which would influence the saved state and thus the interval start. [[Close.com notes](https://docs.airbyte.com/integrations/sources/close-com#notes)]