# Data Source Ingestion API

**URL:** <https://community.hubspot.com/t/data-source-ingestion-api/161348>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [October 8, 2026, 5:38pm UTC](https://community.hubspot.com/t/data-source-ingestion-api/161348 "2026-10-08T17:38:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben-B](https://avatars.discourse-cdn.com/v4/letter/b/7ba0ec/32.png) [@Ben-B](https://community.hubspot.com/u/Ben-B)\
**Post date:** [October 8, 2026, 5:38pm UTC](https://community.hubspot.com/t/data-source-ingestion-api/161348/1 "2026-10-08T17:38:39Z")

</div>

Can we get a `lastIngestionDate` and `lastSuccessfulIngestionDate` in the response when retrieving a data source via the API?  
( [Retrieve data source - HubSpot docs](https://developers.hubspot.com/docs/api-reference/latest/data-studio/datasource-ingestion/get-datasource) )

It’s got a `lastIngestionStatus`, which is useful, but if it comes up as failed, there’s no way of knowing when the last successful one was.

Context: I’m writing a scheduled function to push data to custom HubSpot data sources via the API, and without knowing when the last successful ingestion was, I don’t know how far back to query my source data to bring things up-to-date.
