---
name: libretranslate
description: "LibreTranslate API skill. Use when working with LibreTranslate for detect, frontend, health. Covers 7 endpoints."
version: 1.0.0
generator: lapsh
---

# LibreTranslate
API version: 1.8.4

## Auth
ApiKey api_key in formData

## Base URL
Not specified.

## Setup
1. Set your API key in the appropriate header
2. GET /frontend/settings -- retrieve frontend settings
3. POST /detect -- create first detect

## Endpoints
7 endpoints across 7 groups. See references/api-spec.lap for full details.

### Detect
| Method | Path | Description |
|--------|------|-------------|
| POST | /detect | Detect Language of Text |

### Frontend
| Method | Path | Description |
|--------|------|-------------|
| GET | /frontend/settings | Retrieve Frontend Settings |

### Health
| Method | Path | Description |
|--------|------|-------------|
| GET | /health | Health Check |

### Languages
| Method | Path | Description |
|--------|------|-------------|
| GET | /languages | Get Supported Languages |

### Suggest
| Method | Path | Description |
|--------|------|-------------|
| POST | /suggest | Submit a Suggestion to Improve a Translation |

### Translate
| Method | Path | Description |
|--------|------|-------------|
| POST | /translate | Translate Text |

### Translate_file
| Method | Path | Description |
|--------|------|-------------|
| POST | /translate_file | Translate a File |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Create a detect?" -> POST /detect
- "List all settings?" -> GET /frontend/settings
- "List all health?" -> GET /health
- "List all languages?" -> GET /languages
- "Create a suggest?" -> POST /suggest
- "Create a translate?" -> POST /translate
- "Create a translate_file?" -> POST /translate_file
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints return the modified resource on success
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
