Get the home sample language

GET /workspaces/{id}/agent-home-guide/sample-locale uses an ordinary product identity. There is no request body or language selection parameter. The generated service boundary requires regular access; a workspace path does not exempt authentication.

Request parameters

GET https://api.moi.matrixorigin.cn/v5/workspaces/{id}/agent-home-guide/sample-locale

An ordinary product identity for the current workspace is required. No business request body or language selection parameters.

Success fields

Returns the writeOK string code: "OK" envelope. data contains:

Field

Type

Meaning

region

string

Effective deployment region: cn or global

language

string

zh-CN or en-US, respectively

The interface language does not affect the result. This method neither updates user preferences nor initializes or uploads samples. Its GET handler shares the file-resolution error mapper, but the locale implementation only reads validated configuration. The method itself does not trigger every file-missing error.

Verification boundaries

Source fields and service cases for both regions have been checked. Local service results do not establish an end-to-end GET pass.

Last updated on