Download a JSON of your project ontology

From the UI

  1. Navigate to the project containing the ontology you wish to save.

  2. Navigate to the Settings tab, then the Category Schema section.

  1. Click on the "code" button (1) on the right. A panel showing the project's ontology JSON will appear. Copy the JSON to your clipboard using the "copy" button (2).

  1. Paste it into your text editor of choice and save.

From the SDK

  1. Get your API key. Note it somewhere.

  2. Run the following Python script, substituting the project ID and the API key with your own

import json
from ango.sdk import SDK

API_KEY = "<YOUR API KEY>"
PROJECT_ID = "<YOUR PROJECT ID>"

ango_sdk = SDK(API_KEY)

res = ango_sdk.get_project(PROJECT_ID)

json_object = json.dumps(res, indent=2)
print(json_object)

This script will print the category schema for the project.

Last updated