---
title: "Get Clarity Process Tree"
method: GET
path: "/v2/organizations/{orgId}/clarity/hierarchy/tree"
tags: ["Clarity"]
---

# Get Clarity Process Tree

`GET /v2/organizations/{orgId}/clarity/hierarchy/tree`

## Request

- Base URL: `https://api.duvo.ai`
- URL: `https://api.duvo.ai/v2/organizations/{orgId}/clarity/hierarchy/tree`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/duvo/apis/duvo-public-api/docs/v2/organizations/:orgId/clarity/hierarchy/tree/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the organization's process tree, or the subtree under rootId

## Path parameters

- `orgId` string, uuid, required

## Query parameters

- `rootId` string, uuid

## Response `200`

Default Response

- object
  - `nodes` object[], required
    - `id` string, uuid, required
    - `parentId` string, uuid, nullable, required
    - `processId` string, uuid, nullable, required
    - `name` string, required
    - `ownerLabel` string, nullable, required
    - `sortOrder` number, required
    - `existence` 'proposed' | 'active', required
    - `contentConfirmedAt` string, nullable, required
    - `existenceConfirmedAt` string, nullable, required
    - `source` 'ai' | 'human', required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `team` object, nullable, required
      - `id` string, uuid, required
      - `name` string, required
    - `depth` number, required
  - `truncated` boolean, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/duvo/apis/duvo-public-api.md) - [All operations](https://skmtc.dev/duvo/apis/duvo-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duvo/apis/duvo-public-api/revisions/dafcf3d868a9?raw)
