Last Execution Time of a Custom API

Hey Celigo World,

A question about the Celigo's APIs.

We're building a custom API using Celigo’s API Builder and need to support delta-style exports using a since_id or timestamp-based filter. Does Celigo internally store a LastExecutionTime (or last successful run timestamp) for custom-built APIs**, similar to how delta exports work in standard integrations?

Our goal is to implement logic that returns records created or updated since the last successful execution, so the API behaves incrementally rather than retrieving the full dataset each time.

I’m currently exploring a few alternative approaches but wanted to check if there’s a built-in token like {{lastExportDateTime}} available in the API Builder, or any best practices others have used to achieve this pattern.

Just brainstorming here — would appreciate any tips, examples, or things I might be overlooking!

Hi @SureshGarshakurthi

Thank you for the question. Since the custom APIs built using API builder are ideally stateless (unlike flows with delta exports), it is recommended to maintain the timestamp at consumer's end, and use it to fetch delta records. Hope this helps!

Thanks,
Kaustav

1 Like