> 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/api-reference/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`.

{% openapi src="/files/0gOkqzp7kyziG9XPpCBy" path="/{version}/database/schemas/{Id}/list-settings" method="get" %}
[norbix-hub-swagger.json](https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-7c7445e68689b62620e59cb01a3523deb46b865b%2Fnorbix-hub-swagger.json?alt=media)
{% endopenapi %}

## In Cloud

Schema builder → **List** tab — see [Schema Indexes](/codemash/cloud/database/collections/schema-indexes.md) and [Records](/codemash/cloud/database/collections/records.md).

## Use it from code

TS `norbix.hub.database.getDatabaseSchemaListSettings({ id })` · Python `hub.database.get_database_schema_list_settings(id)` · Go `c.Hub.Database.GetDatabaseSchemaListSettings(ctx, id, nil, &out)` · .NET `GetDatabaseSchemaListSettingsAsync(new GetDatabaseSchemaListSettings { Id = id })`.
