# Retrieve Frontend Settings

`GET /frontend/settings`

Authentication: no security requirement declared for this operation.

Responses:

- 200: frontend settings

Content type: application/json

Type: object

Schema: [frontend-settings](https://sourcey-libretranslate.pages.dev/it/api/models/frontend-settings/index.md)

- `apiKeys` (optional)
  Type: boolean
  
  Whether the API key database is enabled.

- `charLimit` (optional)
  Type: integer
  
  Character input limit for this language (-1 indicates no limit)

- `frontendTimeout` (optional)
  Type: integer
  
  Frontend translation timeout

- `keyRequired` (optional)
  Type: boolean
  
  Whether an API key is required.

- `language` (optional)
  Type: object
  
  - `source` (optional)
    Type: object
    
    - `code` (optional)
      Type: string
      
      Language code
    
    - `name` (optional)
      Type: string
      
      Human-readable language name (in English)
  
  - `target` (optional)
    Type: object
    
    - `code` (optional)
      Type: string
      
      Language code
    
    - `name` (optional)
      Type: string
      
      Human-readable language name (in English)

- `suggestions` (optional)
  Type: boolean
  
  Whether submitting suggestions is enabled.

- `supportedFilesFormat` (optional)
  Type: array
  
  Supported files format
  
  Items:
    Type: string

## Examples

### cURL

```bash
curl -X GET 'https://libretranslate.com/frontend/settings'
```

### JavaScript

```javascript
const response = await fetch('https://libretranslate.com/frontend/settings', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('https://libretranslate.com/frontend/settings')
print(response.text)
```
