> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galtea.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Models

> List models with optional filters.

> [!WARNING]
>
> You are reading the docs of Galtea 5.16. [Read this page in the latest version](https://docs.galtea.ai/sdk/api/model/list.md).

## Returns

Returns a list of [Model](https://docs.galtea.ai/v5.16/concepts/model.md) objects matching the given filters.

## Example

```python theme={"system"}
models = galtea.models.list(
    sort_by_created_at="desc",
    limit=10,
)
```

## Parameters

**ids** `list[string]`

Filter by model IDs.

**organization\_ids** `list[string]`

Filter by organization IDs.

**names** `list[string]`

Filter by exact model names.

**name** `string`

Filter by partial name match.

**include\_default\_entities** `bool`

Include default/predefined models in the results.

**include\_own\_entities** `bool`

Include models owned by the user's organization.

**from\_created\_at** `str | int`

Filter models created at or after this timestamp. Accepts ISO 8601 string (e.g., `'2024-01-01T00:00:00Z'`) or Unix timestamp in seconds.

**to\_created\_at** `str | int`

Filter models created at or before this timestamp. Accepts ISO 8601 string (e.g., `'2024-12-31T23:59:59Z'`) or Unix timestamp in seconds.

**sort\_by\_created\_at** `string`

Sort by creation date. Valid values: `asc`, `desc`.

**offset** `int`

Number of results to skip before starting to collect. Use for pagination.

**limit** `int`

Maximum number of results to return in a single request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.