You can now use the Python client to grab the formatted results from either your (a) unlabeled collection campaigns in the UI or (b) more traditional Python client collection campaign.
Full python client docs are available here, and a brief example follows.
import aquariumlearning as alimport json# Your issue must have been created under the Rare Scenario issue typeISSUE_UUID ="..."# Either the unlabeled dataset that you want to search through# OR "" if you are querying the results of a Python-client-triggered# collection campaignUNLABELED_DATASET_NAME ="..."OUTPUT_JSON ="..."collection_client = al.CollectionClient()collection_client.set_credentials(api_key="YOUR_API_KEY")results = collection_client.get_unlabeled_results_for_issue( issue_uuid=ISSUE_UUID, unlabeled_dataset_name=UNLABELED_DATASET_NAME,# You can add the option retrigger_search=True to run the search# for the first time (or rerun))print(f"{len(results)} results found")withopen(OUTPUT_JSON, "w")as f: json.dump(results, f)
A particular unlabeled result might look something like the following (note: this is for the bounding box objection detection task):