25 Mar 2024
	
		
		10:37 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		26 Mar 2024
	
		
		08:16 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 MaciejNeumann
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
Hi team, I have a small query on GET metric data points API, what is the limit that we can impose on retrieving the number of metrics by using the API GET metric data points.
Solved! Go to Solution.
25 Mar 2024 05:58 PM
As per doc:
The following limits apply:
The number of data points is limited to 20,000,000.
The number of data points per tuple is limited to 10,080.
https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/get-data-points
25 Mar 2024 06:02 PM
But if the idea is to impose some kind of limit on the result, you can work with the timeframe (from/to) and in the metric selector it self, using the limit field, as you do in Data Explorer. https://docs.dynatrace.com/docs/observe-and-explore/explorer#limit
