> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/sdks/database/schemas/get-database-schema-list-settings.md).

# Get Database Schema List Settings

Reads a schema's records-list settings — which columns the Cloud list shows, their order and the default sort.

Reads the records-list display settings of one collection: the columns Cloud's records list shows, in order, and the default sort. `settings` is `null` when the schema was never configured — Cloud then shows every field. `GET /{version}/database/schemas/{Id}/list-settings` The answer's `settings` is `{ columns: [{ field }], defaultSort: { field, order } }` (`order` `1` ascending, `-1` descending). Permission: `database:read` on the schema. AI tool: `get_database_schema_list_settings`.

This method is on the **Hub** surface (`norbix.hub.database`) — call it from admin tooling or IaC.

{% 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](/codemash/sdks/install.md).
{% endhint %}

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

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

const result = await norbix.hub.database.getDatabaseSchemaListSettings({
  id: 'sch_4kX9mQvR2tYw7ZbC1dFgHj',
});
```

{% endtab %}

{% tab title=".NET" %}

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

using var client = new NorbixClient();

var result = await client.Database.GetDatabaseSchemaListSettingsAsync(new GetDatabaseSchemaListSettings
{
    Id = "sch_4kX9mQvR2tYw7ZbC1dFgHj",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.database.get_database_schema_list_settings(
    id="sch_4kX9mQvR2tYw7ZbC1dFgHj",
)
```

{% endtab %}

{% tab title="Go" %}

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

var result map[string]any
err := c.Hub.Database.GetDatabaseSchemaListSettings(ctx, "sch_4kX9mQvR2tYw7ZbC1dFgHj", nil, &result)
```

{% endtab %}

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

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

final hub = NorbixHub();

final result = await hub.database.getDatabaseSchemaListSettings(id: 'sch_4kX9mQvR2tYw7ZbC1dFgHj');
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixHub

let client = try NorbixHubClient()

let result = try await client.database.getDatabaseSchemaListSettings([
    "id": "sch_4kX9mQvR2tYw7ZbC1dFgHj",
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import ai.norbix.sdk.hub.NorbixHub

val hub = NorbixHub()

val result = hub.database.getDatabaseSchemaListSettings(mapOf(
    "id" to "sch_4kX9mQvR2tYw7ZbC1dFgHj",
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix hub db schema list settings get sch_4kX9mQvR2tYw7ZbC1dFgHj
```

{% endtab %}
{% endtabs %}

## In Cloud

Manage this visually in Cloud — see [Database → Schemas](/codemash/cloud/database/collections/create-schema.md).

## API reference

Full request and response for this endpoint: [Get Database Schema List Settings](/codemash/api-reference/database/schemas/get-database-schema-list-settings.md).
