# Create Purposes API Examples

## Basic Purpose

```yaml
name: A basic purpose
```

## Advanced Purpose

```yaml
name: Use Purposes
acknowledgement: You promise to be good
description: For use with projects to do policy adjustments
kAnonNoiseReduction: Medium
```

## Sub-Purpose

```yaml
name: Purpose Hierarchy
acknowledgement: The root acknowledgement
subpurposes:
  - name: Purpose Hierarchy.Child 1
    acknowledgement: Override the root acknowledgement
  - name: Purpose Hierarchy.Child 2
  - name: Purpose Hierarchy.Child 1.Grandchild 1
  - name: Purpose Hierarchy.Child 1.Grandchild 2
  - name: Purpose Hierarchy.Child 2.Grandchild 1
  - name: Purpose Hierarchy.Child 2.Grandchild 2
```


---

# 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://documentation.immuta.com/2024.3/developer-guides/api-intro/immuta-v2-api/purposes.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.
