> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/database/taxonomies/find-term-tree.md).

# Find Term Tree

A **taxonomy** is a hierarchical set of terms (categories, tags) you can attach to records. Finds the term tree.

This method is on the runtime **API** surface (`norbix.api.database`) — call it from your app.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.api.database.findTermTree({
  taxonomyName: 'orders',
  rootTermId: 'rootterm_4kX9mQvR2tYw7ZbC1dFgHj',
  depth: 10,
  databaseIntegrationId: 'int_4kX9mQvR2tYw7ZbC1dFgHj',
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Database.FindTermTreeAsync(new FindTermTreeRequest
{
    TaxonomyName = "orders",
    RootTermId = "rootterm_4kX9mQvR2tYw7ZbC1dFgHj",
    Depth = 10,
    DatabaseIntegrationId = "int_4kX9mQvR2tYw7ZbC1dFgHj",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixApi

norbix = NorbixApi()

result = norbix.database.find_term_tree(
    taxonomyName="orders",
    rootTermId="rootterm_4kX9mQvR2tYw7ZbC1dFgHj",
    depth=10,
    databaseIntegrationId="int_4kX9mQvR2tYw7ZbC1dFgHj",
)
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.API.Database.FindTermTree(ctx, "orders", map[string]any{
	"rootTermId": "rootterm_4kX9mQvR2tYw7ZbC1dFgHj",
	"depth": 10,
	"databaseIntegrationId": "int_4kX9mQvR2tYw7ZbC1dFgHj",
}, &result)
```

{% endtab %}

{% tab title="Dart / Flutter" %}

```dart
import 'package:norbix/norbix_api.dart';

final api = NorbixApi();

final result = await api.database.findTermTree(taxonomyName: 'orders', body: {
  'rootTermId': 'rootterm_4kX9mQvR2tYw7ZbC1dFgHj',
  'depth': 10,
  'databaseIntegrationId': 'int_4kX9mQvR2tYw7ZbC1dFgHj',
});
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.api.database.findTermTree([
    "taxonomyName": "orders",
    "rootTermId": "rootterm_4kX9mQvR2tYw7ZbC1dFgHj",
    "depth": 10,
    "databaseIntegrationId": "int_4kX9mQvR2tYw7ZbC1dFgHj",
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.api.NorbixApi

val api = NorbixApi()

val result = api.database.findTermTree(mapOf(
    "taxonomyName" to "orders",
    "rootTermId" to "rootterm_4kX9mQvR2tYw7ZbC1dFgHj",
    "depth" to 10,
    "databaseIntegrationId" to "int_4kX9mQvR2tYw7ZbC1dFgHj",
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix api db term tree find --taxonomyName orders --rootTermId rootterm_4kX9mQvR2tYw7ZbC1dFgHj --depth 10 --databaseIntegrationId int_4kX9mQvR2tYw7ZbC1dFgHj
```

{% endtab %}
{% endtabs %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Database → Taxonomies](/norbix-cloud/database/taxonomies.md).

## API reference

Full request and response for this endpoint: [Find Term Tree](/api-reference/database/taxonomies/find-term-tree.md).
