Hey @MeenalBo
First query, do you have any limit parameter set in your script which is restricting the retrieval of all definitions ? Might be worth checking that.
Did you try to use pagination or may be use the start parameter to retrieve segment definitions from 201 onwards ?
Ideally the endpoint should have given you all the definitions in one go but if not then try using the start parameter which would tell the endpoint to fetch definitions from the ones which have not been fetched yet.
Link to the documentation: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/segment-definitions.htm...
Cheers,
Abhinav