2026.04 Public API / SDK Changes — Unique AI Documentation

2026.04 Public API / SDK Changes

1 min read

Public API Copy link to this section

Updated Endpoints

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

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

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 Copy link to this section

Updated Functions

tech Folder path support forFolder.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 forContent.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 forContent.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 returnsappliedIngestionConfig: 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 | |