> For the complete documentation index, see [llms.txt](https://docs.imerit.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imerit.net/how-to/export-data/download-a-json-of-your-project-ontology.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
