GenAiConfig
Returns the resolved configuration for one `(accountId, departmentId)` pair. 404 when the brand has no row — deliberately not a 200 carrying `enabled: false`. The caller treats 404 as "disabled, cache the negative", which is cheaper and unambiguous. A row that was explicitly switched off does return 200 with `enabled: false`.
get/api/genai/config
Query parameters
accountIdinteger
Tenant id. Required, > 0.
departmentIdinteger
Brand id. Required, > 0 — there is no account-level row and no brand fallback, so a 0 here has no meaning and is rejected rather than widened.
Response
OK
Changes
No recorded changes to this endpoint across all 1 revision of this API.