2026.04 Public API / SDK Changes

1 min read

Public API

Updated Endpoints

tech GET Retrieve Folder Info - The response now returns folder information including:

  • Folder metadata (id, name, createdAt, updatedAt, etc.)

  • scopeAccess - Array of access permissions (NEW)

tech GET Retrieve Folder Info List - The response now returns a paginated list of folders, where each folder includes:

  • Folder metadata (id, name, createdAt, updatedAt, etc.)

  • scopeAccess - Array of access permissions for each folder (NEW)

tech POST Search Content - The search endpoint now returns content items with the appliedIngestionConfig field included in each result. The appliedIngestionConfig field contains a JSON object with the ingestion configuration that was applied to the content.

SDK

Updated Functions

tech Folder path support for Folder.get_infos: Added parentFolderPath parameter as an alternative to parentId, allowing you to query subfolders by path instead of ID.

Example

subfolders = unique_sdk.Folder.get_infos(
    user_id=user_id,
    company_id=company_id,
    parentFolderPath="/Company/Reports",
    take=10,
    skip=0
)

 tech Folder path support for Content.get_infos: Added parentFolderPath parameter as an alternative to parentId, allowing you to query content by folder path.

Example

content_info_result = unique_sdk.Content.get_infos(
      user_id=user_id,
      company_id=company_id,
      parentFolderPath="/Company/Reports/Q1"
  )

 tech Folder path with auto-creation for Content.upsert: Added parentFolderPath and createFolderIfNotExists parameters. When uploading content, you can now specify a folder path instead of a scopeId. If createFolderIfNotExists defaults to True and the folder will be automatically created if it doesn't exist. To prevent automatic creation. set createFolderIfNotExists to False

Example

content = unique_sdk.Content.upsert(
      user_id=user_id,
      company_id=company_id,
      parentFolderPath="/Company/Reports/2024/Q1",
      input={
          "key": "quarterly-report.pdf",
          "title": "Q1 2024 Report",
          "mimeType": "application/pdf",
          "byteSize": 1024,
      },
  )

tech Content search now returns appliedIngestionConfig: The Content object returned by Content.search() and Content.upsert() now includes an appliedIngestionConfig field that contains the ingestion configuration that was applied to the content. This allows you to inspect which ingestion settings were used when processing the content.

Author

Last updated