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`.
Changed onget/api/genai/config
Request
- Base URLhttps://api.infoset.app (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
roomIdinteger
Response
OK
Changes
- info
added the new optional
queryrequest parameterroomId - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json)
- info