# 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.

<figure><img src="/files/GzGMreaSbEhD7I3eCCRO" alt=""><figcaption></figcaption></figure>

3. 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).

<figure><img src="/files/rZMljaE9sOa0O1m6c8rh" alt=""><figcaption></figcaption></figure>

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

## From the SDK

1. [Get your API key](/sdk/sdk-documentation.md#obtaining-your-api-key). Note it somewhere.
2. [Download and install the \`ango\` package from pip](/sdk/sdk-documentation.md#how-to-install-the-ango-sdk).
3. Run the following Python script, substituting the project ID and the API key with your own

```python
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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imerit.net/how-to/export-data/download-a-json-of-your-project-ontology.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
