> For the complete documentation index, see [llms.txt](https://docs.hos.accessacloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/atreemo-translator.md).

# Atreemo Translator

Api Methods for AtreemoTranslator

## Translate

> Translates the supplied nonempty Texts list to LanguageCode through the configured translation helper. A successful return contains the original-text-to-translated-text dictionary, not the internal TranslationOutput wrapper. Missing texts or a blank language code use BadRequest; external service behaviour and available language codes require instance confirmation.

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"AtreemoTranslator","description":"Api Methods for AtreemoTranslator"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"TranslationRequest":{"type":"object","nullable":false,"properties":{"Texts":{"type":"array","items":{"type":"string","nullable":true},"nullable":false,"minItems":1},"LanguageCode":{"type":"string","nullable":false,"minLength":1}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified.","required":["Texts","LanguageCode"]},"TranslatedTexts":{"type":"object","additionalProperties":{"type":"string"},"description":"Original text keys mapped to translated text values. The action returns output.TranslatedTexts, not TranslationOutput."}}},"paths":{"/api/AtreemoTranslator/Translate":{"post":{"operationId":"AtreemoTranslatorTranslate","summary":"Translate","tags":["AtreemoTranslator"],"description":"Translates the supplied nonempty Texts list to LanguageCode through the configured translation helper. A successful return contains the original-text-to-translated-text dictionary, not the internal TranslationOutput wrapper. Missing texts or a blank language code use BadRequest; external service behaviour and available language codes require instance confirmation.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationRequest"}}},"required":true},"responses":{"200":{"description":"Source return path at pinned commit; runtime and deployed-version alignment unverified.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslatedTexts"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/atreemo-translator.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
