2025.50 Public API / SDK Changes — Unique AI Documentation

2025.50 Public API / SDK Changes

Public API Copy link to this section

Updates

techPOST Create Folder Structure - API to create folders at specified paths now supports the inheritAccess parameter to control whether folders inherit access permissions from their parent folder.

Currently, the following parameters are supported:

Body

Example

curl --location --request POST 'https://api.uat1.unique.app/public/chat/folder' \
--header 'x-user-id: <user-id>' \
--header 'x-company-id: <company-id>' \
--header 'Authorization: Bearer <api-key>' \
--header 'x-app-id: <app-id>' \
--header 'x-api-version: 2023-12-06' \
--header 'Content-Type: application/json' \
--data '{
    "paths": ["/Finance/Q1", "/Finance/Q2"],
    "inheritAccess": true
}'

SDK Copy link to this section

tech Create Folder Paths - Added inheritAccess parameter to control whether newly created folders inherit access permissions from parent folders. Defaults to True.

Example

unique_sdk.Folder.create_paths(
      user_id=user_id,
      company_id=company_id,
      paths=[\
          "/Company/Reports/Q1",\
          "/Company/Reports/Q2"\
      ],
      inheritAccess=False
  )

| Author | |