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
| Parameter | Type | Required | Description |
|---|---|---|---|
syntheticId | integer | Yes | The agent whose content language to set. |
language | string | Yes | The content language (e.g. Spanish, Brazilian Portuguese). An empty value resets to English. |