We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

What is the default limit for the number of instances returned from ListInstances API?

Received Response
edited Mar 3, 2020 9:15AM in Oracle Cloud Infrastructure - General 6 comments


We have roughly more than 200 instances in a compartment. We have written scripts to get the instances in a compartment and we are not getting all the instances. Is there a default limit? 

Also, we are receiving opc-next-page header, that means we need to query again the same API to fetch other instances as well.

ListInstances APIhttps://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Instance/ListInstances

If there is a default limit, Please let us know.


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!