detection
Language detection
Detect the language a text is written in. Returns an ISO 639-1 code and a confidence value.
post/api/v1/langdetect
Request
- Base URL: https://api.sapling.ai
- URL: https://api.sapling.ai/api/v1/langdetect
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.sapling.ai/oauth/authorize, token URL https://api.sapling.ai/oauth/token, scopes: sapling:api)
- none
Request body
Response
Successful response. Field-level schemas and examples: https://sapling.ai/docs/api/langdetect/ A batch (texts) request answers {"results": [...]} instead: one single-text response per input text, in input order.
Changes
No recorded changes to this operation across all 1 revision of this API.