Skip to main content

Parameters

The /api/agent endpoint accepts several optional parameters to customize the agent’s behavior.

residence — Jurisdiction

Country code of the end-user’s fiscal residence. The agent adapts its answers to local legislation.

language — Response language

The language the agent responds in.
residence and language are independent. A user residing in Switzerland (residence: "ch") can receive answers in English (language: "en").

extended_thinking — Deep reasoning

Activates Claude’s native extended thinking mode.
Extended thinking uses more tokens but produces significantly better answers for complex cross-border scenarios.

effort — Analysis depth

Controls how deeply the agent analyzes the question.

Example: complex cross-border query