@Apoorv Shrivastava (MINDTREE LIMITED) ,
For the filter
parameter, you could include the filter in the request to the On Your Data service by adding it to the Azure Search data source parameters.
You may find the filter
parameter usage in the API documentation here:
Data source - Azure AI Search | parameters
Just to clarify, could you please let us know what custom fields are you looking to include in the index?
Edit:
Currently, custom fields mapping is not supported for IngestionREST API, our PG is actively working on this feature, but there is no ETA to share on this yet.
I have relayed this feedback to our product engineering team.
(I have converted comment to answer)
If the answer helped (pointed you in the right direction) > please click Accept Answer