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

# List Classifications

> List all classifications with optional filtering and pagination

# List Classifications

List all classifications with optional filtering and pagination.

## Query Parameters

**limit** `integer` (default: 10)

Maximum number of results to return (max: 1000000).

**before** `string`

Cursor for backward pagination.

**after** `string`

Cursor for forward pagination.

**fields** `string`

Comma-separated list of fields to include: `owners`. See [Supported Fields](#supported-fields) below.

**include** `string` (default: non-deleted)

Include `all`, `deleted`, or `non-deleted` entities.

```python GET /v1/classifications theme={null}
from metadata.sdk import configure
from metadata.sdk.entities import Classifications

configure(
    host="https://your-company.open-metadata.org/api",
    jwt_token="your-jwt-token"
)

# List first page
classifications = Classifications.list(limit=50)
for c in classifications.entities:
    print(f"{c.fullyQualifiedName.root} (mutuallyExclusive: {c.mutuallyExclusive})")

# List all with auto-pagination
for c in Classifications.list_all():
    print(f"{c.fullyQualifiedName.root}")

# With fields
classifications = Classifications.list(
    fields=["owners"],
    limit=50
)
```

```java GET /v1/classifications theme={null}
import org.openmetadata.sdk.models.ListParams;

// client is an initialized OpenMetadataClient.
// List first page
var params = new ListParams().setLimit(50);
var page = client.classifications().list(params);
for (var item : page.getData()) {
    System.out.println(item.getFullyQualifiedName());
}

// With fields
var filtered = new ListParams()
    .setFields("owners")
    .setLimit(50);
var filteredPage = client.classifications().list(filtered);
for (var item : filteredPage.getData()) {
    System.out.println(item.getFullyQualifiedName());
}
```

```bash GET /v1/classifications theme={null}
# List all
curl "{base_url}/api/v1/classifications?limit=50" \
  -H "Authorization: Bearer {access_token}"

# With fields
curl "{base_url}/api/v1/classifications?fields=owners&limit=50" \
  -H "Authorization: Bearer {access_token}"
```

```json Response theme={null}
{
  "data": [
    {
      "id": "06d90883-6be9-4f7e-9475-753f10a95e94",
      "name": "Certification",
      "fullyQualifiedName": "Certification",
      "description": "Certifying Data Asset will provide the users with a clear idea of...",
      "version": 0.1,
      "updatedAt": 1769982619610,
      "updatedBy": "admin",
      "deleted": false,
      "owners": [],
      "provider": "system",
      "mutuallyExclusive": true
    }
  ],
  "paging": {
    "after": "...",
    "total": 5
  }
}
```

***

## Returns

Returns a paginated list of classification objects. By default, only basic fields are included. Use the `fields` parameter to request additional data.

## Response

**data** `array`

Array of classification objects.

**properties**

**id** `string`

Unique identifier for the classification (UUID format).

**name** `string`

Classification name.

**fullyQualifiedName** `string`

Fully qualified name of the classification.

**mutuallyExclusive** `boolean`

Whether tags are mutually exclusive.

**provider** `string`

Provider: `user` or `system`.

**owners** `array`

List of owners. Only included when `fields` contains `owners`.

**paging** `object`

Pagination information.

**properties**

**total** `integer`

Total count of classifications matching the query.

**after** `string`

Cursor for the next page of results. Null if this is the last page.

**before** `string`

Cursor for the previous page of results. Null if this is the first page.

***

## Supported Fields

| Field | Description |
| - | - |
| `owners` | Owner references (users and teams) |

***

## Error Handling

| Code | Error Type | Description |
| - | - | - |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token |
| `403` | `FORBIDDEN` | User lacks permission to list classifications |


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