Sapience icon

Sapience

Sapience API integration

Object → Create

AI-generated

Summary

Create a new Sapience object (metadata) of a selected type and return the API response.

Inputs

  • displayName (required) — Display name for the object.
  • scope — Scope of the object (Global, Org, Team, User). Defaults to 'user'.
  • schemaVersion — Schema version (1‑10). For Page type the version is forced to at least 2. Defaults to 1.
  • metadataType (required) — Type of object to create. Options: Folder, Page, Project, Task (Generic and Goal options exist in the UI but are not handled by the current source).

Output shape

The created object as returned by the Sapience API (JSON), wrapped in an array.

Additional parameters appear conditionally based on metadataType. For Page: parentProjectUid, mbaPageType, contentType, pageDescription, pageContent (when mbaPageType is Document). For Project: projectName, projectGoal, projectOwnerUsername. For Folder: folderName, folderPath. For Task: taskCreatorUsername, taskProjectSource, taskProjectUid / taskProjectUidManual, taskParentSource, taskParentType, taskParentProjectUid / taskParentGoalUid / taskParentUidManual, taskPriority (optional).

Links

Discussion