Returns the Copilot configuration for the given account. Returns platform
defaults (enabled=false, …) for accounts with no row. accountId
is required; the endpoint never falls back to the calling principal because the
caller is a service identity with no tenant scope of its own.
get/api/copilot/config
Query parameters
accountIdinteger
Tenant id (required, > 0).
departmentIdinteger
Optional brand scope; 0 (default) reads the account-level
row. A department read with no row falls back to the account-level row as a whole,
so existing callers that omit the param get exactly the dept-0 row as before.