CopilotConfig
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
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
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.
Response
OK
Changes
No recorded changes to this operation across all 3 revisions of this API.