llm_analytics

Translate text to target language.

post/api/projects/{project_id}/llm_analytics/translate/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/llm_analytics/translate/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

textstring required

The text to translate

target_languagestring

Target language code (default: 'en' for English)

Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.