navigation

getProjectHierarchy

Get the complete folder and document tree for a project in one call. Recommended first call for navigation.

post/tools/getProjectHierarchy

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/getProjectHierarchy
  • Auth: HTTP bearer

Request body

projectIdstring

Project ID. Required if folderId not provided.

folderIdstring

Start from this folder instead of project root.

maxDepthnumber

Max nesting depth. Default: 10, max: 20.

includeDocumentsboolean

Include documents. Default: true.

querystring

Filter by name/title (case-insensitive).

fromDatestring

ISO 8601 date filter (from).

toDatestring

ISO 8601 date filter (to).

dateFieldstring

Date field to filter. Default: updated_at.

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.