# All Retrieve-Only

## getAppDataDir

Locate and get the application data directory&#x20;

```
MetaApi.getAppDataDir()
```

**Parameters**

```
no parameters.
```

**Returns**

```
The application data directory.
```

## getClassM

Get the object representing the class​

```
MetaApi.getClassM(className)
```

Parameters

```
className: name of the class (string)
```

Returns

```
Class metadata.
```

## getSchemaForDataStudio

Get class schema​ for the data studio

```
MetaApi.getSchemaForDataStudio(className, includeAllSysAttrs)
```

**Parameters**

```
className:          name of the class (string)
includeAllSysAttrs:  include all system attributes (bool)
```

**Returns**

```
List of dictionaries containing schema details.
```

## getDomainFileAsMap

get domain file as a hashmap.​

```
MetaApi.getDomainFileAsMap(fileName)
```

**Parameters**

```
fileName:    name of the file (string)
```

**Returns**

```
Content of the domain file as a dictionary.
```

## getMetadata

Get metadata based on the ID.

```
MetaApi.getMetadata(id)
or
MetaApi.getMetadata(modelClassName, folder, name) 
```

**Parameters**

```
id (string)
modelClassName (string)
folder (string)
name (string)
```

**Returns**

```
Metadata details.
```

## getClasses

Get classes based on the provided filter.

```
MetaApi.getClasses(filter)
or
MetaApi.getClasses(dsName, filter)
or
MetaApi.getClasses(dsName, schemaName, filter)
or
MetaApi.getClasses(appName, dsName, schemaName, filter)
```

**Parameters**

```
filter (string)
dsName (string)
schemaName (string)
appName (string)
```

**Returns**

```
List of classes.
```

## getClassNames

Get class names based on the provided filter.

```
MetaApi.getClassNames(filter)
or
MetaApi.getClassNames(dsName, filter)
or
MetaApi.getClassNames(dsName, schemaName, filter)
or
MetaApi. getClassNames(appName, dsName, schemaName, filter)
```

**Parameters**

```
filter (string)
dsName (string)
schemaName (string)
appName (string)
```

**Returns**

```
List of class names.
```

## getDataSourceNames

Get data source names based on the provided filter.

```
MetaApi.getDataSourceNames(filter)
or
MetaApi.getDataSourceNames(appName, filter)
```

**Parameters**

```
filter (string)
appName (string)
```

**Returns**

```
List of data source names.
```

## getDataSources

Get data sources based on the provided filter.

```
MetaApi.getDataSources(filter)
or
MetaApi.getDataSources(appName, filter)
```

**Parameters**

```
filter (string)
appName (string)
```

**Returns**

```
List of data sources.
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://trillo.gitbook.io/trillo-workbench-python-sdk/meta-api-metaapi/retrieve-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
