Returns a list of classes in a specified object detector. The action can also return the metadata associated with each class.

Type: synchronous

Parameter Description Required
detector The name of the detector for which you want to list the classes. Yes
maxresults The maximum number of classes to return in the response. No
metadata A Boolean value (default false) that specifies whether to return the metadata associated with each class. No
start The starting point for the list when you set the maxresults parameter. For example, to start listing classes from the tenth class in the detector, set start=10. The entries in the detector are indexed from 1. No


The following example lists up to 10 classes contained in the roadscene detector:



The response always includes the identifier of each class that is returned. The response can also include metadata, if you set the parameter metadata=true.