---
title: "getLanguages"
slug: "api/catalog/operations/getlanguages"
sidebar:
  order: 208
---

<a id="ref-7ad18285c7cd"></a>
<a id="ref-0bef712dc515"></a>
<a id="ref-594cf6d86a11"></a>
<a id="ref-8432bd85bc6d"></a>

## Synopsis

```text
string[] getLanguages(SessionId sessionId) throws CatalogServiceFault;
```

See also: [SessionId](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [CatalogServiceFault](/pCon/configuratorOnline/specs/api/catalog/faults/catalogservicefault#ref-f8dbfd6fd5d6)

This operation queries the current list of catalog languages as set by the [`setLanguages`](/pCon/configuratorOnline/specs/api/catalog/operations/setlanguages) operation. If the `setLanguages` operation has not been invoked yet then the list of catalog languages is empty.

A [`CatalogServiceFault`](/pCon/configuratorOnline/specs/api/catalog/faults/catalogservicefault) is returned if any of the following conditions occurs:

- The `sessionId` parameter is not a valid string representation of an UUID or does not represent an open session.
