Holger Lange
05/23/2024, 1:08 PMkapa.ai
05/23/2024, 1:09 PMend_date for an API pull is typically set to today's date by default if not provided. This is mentioned in the [Amazon Seller Partner source setup guide](https://docs.airbyte.com/integrations/sources/amazon-seller-partner#step-2-set-up-the-source-connector-in-airbyte). However, if you're developing a custom connector and need to get today's date dynamically, you would need to implement this in your connector's code. The specific implementation would depend on the programming language you're using to develop the connector. Please note that not all APIs or connectors support an end_date parameter. If you're working with a specific connector and need this feature, you may need to request it specifically for that connector, as mentioned in the [Github Issue](https://github.com/airbytehq/airbyte/issues/12466) discussion. If you're developing a connector with Python, you might find the [stream slices example](https://discuss.airbyte.io/t/1710) useful, which is a method for handling date ranges in data extraction.Holger Lange
05/23/2024, 1:11 PMkapa.ai
05/23/2024, 1:11 PMstart_date and end_date are indeed required fields. These fields are used to specify the time range for the data you want to extract from the source. For example, in the Facebook Marketing source, both start_date and end_date are required fields. The start_date and end_date should match the regex pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$, which represents a date-time format. If the end_date is not set, it will result in always syncing the latest data. The same applies to the start_date in the CommerceTools source, where it is a required field [source](https://github.com/airbytehq/airbyte/issues/34133). However, there is an open issue on GitHub suggesting that start_date should be an optional field on all connectors. The idea is to reduce the number of inputs required from users, thereby increasing activation rates. If start_date is not input, the suggestion is to either use a default start_date or load all the data in the user's account [source](https://github.com/airbytehq/airbyte/issues/20412). Please note that the requirement of these fields may vary depending on the specific connector. Always refer to the documentation or the JSON schema of the specific connector for the most accurate information.Holger Lange
05/23/2024, 1:12 PMkapa.ai
05/23/2024, 1:12 PMkapa.ai
05/23/2024, 1:12 PMstart_date and end_date fields would depend on the specific API you're connecting to. If the API requires these fields for data extraction, you would need to include them in your connector configuration. In the Connector Builder, you can define the necessary fields for your connector in the "Configuration" step. Here, you can add fields like start_date and end_date, specify their types, and set whether they are required or not. For a detailed walkthrough on how to use the Connector Builder, you can refer to the [Connector Builder documentation](https://docs.airbyte.com/connector-development/connector-builder-ui/overview) or watch the [demo video]() on Airbyte's YouTube channel. Please note that as of the current information, custom connectors are exclusive to Airbyte Open-Source deployments, with plans for their release on Airbyte Cloud scheduled for January 2024. You can track the progress on this development [here](https://github.com/orgs/airbytehq/projects/37?pane=issue&itemId=45471174).Holger Lange
05/23/2024, 1:33 PMkapa.ai
05/23/2024, 1:33 PMkapa.ai
05/23/2024, 1:33 PM