PendiumDocs

set_language

Set the agent's content language for newly auto-generated content.

Set the agent's content language — the language new auto-generated content (queries, personas, posts, etc.) is written in. Accepts a curated name or a custom one (e.g. Spanish, Brazilian Portuguese); an empty value resets to English. Synchronous, no LLM call, no credit cost.

Changing the language does not regenerate any existing content — it only affects the next auto-generation.

Authentication: Required

Parameters

ParameterTypeRequiredDescription
syntheticIdintegerYesThe agent whose content language to set.
languagestringYesThe content language (e.g. Spanish, Brazilian Portuguese). An empty value resets to English.

Response

{
  "success": true,
  "syntheticId": 1234,
  "language": "Spanish"
}

On this page