kg_admin

getKgScopeTree

List every kg_scope row for the caller's organisation, optionally narrowed to a workspace or project subtree. Each row carries scope_type, scope_id, state (on|off|inherit), settings, and is augmented with scope_name + parent_id for tree rendering. Capped at 500 rows.

post/tools/getKgScopeTree

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/getKgScopeTree
  • Auth: HTTP bearer

Request body

organisation_idstring required

Must match the credential's org

workspace_idstring

Optional — narrow the result to this workspace's subtree

project_idstring

Optional — narrow the result to this project's subtree

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.