2026.48 Unique API / SDK Changes
15 min read
Unique API Documentation: Check out the documentation to learn more about how Unique API Swagger works and where to access it: https://unique-ch.atlassian.net/wiki/x/Q4A5ZQ.
SDK Documentation: https://unique-ag.github.io/ai/unique-sdk/
Unique API
Rollout — Proxies
TECH From .48, the new Unique API is rolled out for the Proxies batch. This is the last planned batch.
Proxies —
/openai-proxy,/anthropic-proxy,/cursor-proxy.Also in this batch:
POST /openai/chat/completions, including calls that send a company id and no user.Also in this batch:
POST /magic-table/{tableId}/run/claim,POST /magic-table/{tableId}/run/heartbeat, andPOST /magic-table/{tableId}/run/release.
The base URL does not change. Integrations continue to work at
https://gateway.unique.app/public/chat/{resource}— no client action is required.
Behaviour changes to expect on these resources
403 Forbidden — RBAC is now enforced. Calls from users without the required role are rejected.
400 Bad Request — stricter request validation. Payloads that do not match the new contract now fail.
422 — internal errors return a clear, accurate message instead of a generic failure.
Full rollout order, per-domain resource lists and the complete set of behaviour changes: Unique API Version 2026.03.01.
New endpoints
TECH
POST /space/{spaceId}/copycopies a space in one call, keeping its modules, settings, additional models, alert, chat upload, title, subtitle, goals, prompts and scope rules. The caller gets Use, Upload and Manage access to the copy; the source's access entries are not copied. An optional uniquenamesets the copy's name, and with duplicate-as-draft enabled the copy is a draft.TECH
DELETE /magic-table/{tableId}/row/{rowId}permanently deletes one Agentic Table row, andGET /magic-table/{tableId}/rowsreturns itsrowId. Rows in a fully locked review status, final-review rows and the header row are rejected; rows on a completed sheet can be deleted.TECH EXPERIMENTAL
GET,PATCHandDELETE /projects/{projectId}/memoryread, create or replace, and delete the calling user's memory of a project they own. API only; requires Projects.TECH EXPERIMENTAL
POST /search/project-chats(relevance search with highlights),POST /search/project-chats/chunks(one chat in order, paginated) andPOST /search/project-chats/recent(newest activity first) search the earlier chats of a project the caller owns. They return empty results while project chat indexing is off for the company.TECH Message assessments accept an optional
contentIdonPOST /public/chat/message-assessmentandPATCH /public/chat/message-assessment/:messageId, so a generated file can carry its own assessment. One assessment is kept per message, type andcontentId;assessment[]on message reads carries it too (nullfor the message itself).TECH Sheet lists take
assignedToCallerto return only sheets assigned to the signed-in user. WithincludeAssignees, a caller who can do more than answer gets every person assigned to a live question; a caller who can only answer gets themselves and their groups.
Behavior change: deleting the Agentic Table header row is now also rejected on the existing GraphQL delete and on hard delete.
includeAssigneesleaves out anyone assigned only on the header row.
Proxies and chat completions
TECH A context overflow on the OpenAI Responses and Anthropic proxies reaches clients in the form each API documents. A streamed Responses request that overflows before the stream opens returns 200 with a
response.failedevent (codecontext_length_exceeded) instead of 400.TECH Anthropic proxy requests that LiteLLM refuses with 400 or 403 return that status instead of 422, with the upstream error type and code and a closed message instead of LiteLLM's error text. The proxy's own rejection of a hosted tool or of
mcp_serversreturns 400 instead of 422.TECH Chat completions return
systemFingerprintand numericusage.completionTokens,usage.promptTokensandusage.totalTokens, plususage.promptTokensDetailsandusage.completionTokensDetailswhen the provider reports them, with the same names as the 2023-12-06 API.TECH OpenAI proxy container file uploads follow the size limit the deployment configures (50 MB if unset); larger uploads return 413.
TECH Azure model calls always use the OpenAI v1 endpoint. Versioned Azure requests are served through it, and any
modelvalue in the request is replaced with the authorized deployment.
Changes to existing endpoints
TECH Space responses include the optional
effortslist ([{ value, label }]) onswitchableLanguageModels, and create and update requests accept it, so reading a space and writing it back keeps reasoning efforts. Version2026-03-01previously rejectedeffortswith 400. A list must not be empty, and eachvalueandlabelmust be a non-empty string.TECH
DELETE /public/content/:contentIdworks for users without a knowledge-write role when the content is in a folder they can write to or in one of their chats, and for services acting on a user's behalf. Content the caller cannot write to returns 404, and server errors readCould not delete content <id>.TECH Managing folder access requires permission to manage folder access; the deprecated folder-access GraphQL mutations are removed.
TECH A quoted numeric value in a metadata equality filter (for example
"412031870") is compared as text. Pass an unquoted number to match number-valued metadata. Acontainsfilter on such a field no longer fails.TECH
GET /v1/folderandGET /v1/folder/:scopeIduse the defaultskip0,take100 anddepth20 when a value is not a plain number, including repeated keys and bracket syntax.TECH Webhook deliveries answered with 429 or 5xx are retried up to five times over about one minute, so the endpoint can receive the same event again.
TECH Completing an Agentic Table sheet and saving its rows to the answer library succeeds while the sheet is idle.
TECH The OpenAPI documents (
/unique-api/openapi.jsonand/public/openapi.json) change slightly with the NestJS 12 upgrade: nullable object references declaretype: object, some path parameters show an example or default,messageis required inMagicTableBulkCellEntriesResponseDto, andSEARCHis no longer listed on the proxy paths. Operation IDs, routes and bodies are unchanged.
HTML apps (window.unique)
TECH
window.unique.ui.toastshows a message in Unique's toast, naming the app, with one optional button such as Undo, and resolves whether the user pressed it.TECH
window.unique.onfollows the current chat under thechat: ["read"]grant:chat.updatedlists what to read again (messages,references,knowledge),chat.statusreports turn start and end, andchat.current()returns the status. No event carries content.TECH
app.downloadsaves Word, Excel, PowerPoint, PDF, CSV, JSON, Markdown or text files up to 10 MB as a browser download, without a manifest grant. Pages without a manifest ask the user first; inline chat previews cannot save files.TECH
window.unique.knowledge.create()uploads a file the user picked into a granted folder, named by path or id, and returns its first ingestion state.window.unique.knowledge.info({ contentId })returns a file'sid, name andingestionStatus.TECH
window.unique.agenticTable.sheets.list()returns the user's access per sheet (READ,ANSWER,WRITE,MANAGE),assignedandapprovedcounts per assignee, and how many matching sheets are overdue or due this week in the user's time zone.
Behavior change: on a chat whose chat service returns assignees without the new counts,
assigneesis now[].
SDK
TECH Changes in the ai repository packages for 2026.48.
unique_sdk and unique-cli
unique_sdk.ProjectMemoryreads, writes and deletes the memory of a project the user owns (retrieve,modify,deleteand_asyncvariants).modifytakes the markdowndocumentand an optionalstate; withoutstatethe stored state is kept. Requires Projects for the user.unique-cli searchtakes further queries with-qand runs up to 8 concurrently, showing each chunk once and stopping at about 100,000 tokens. In an agent workspace it refuses more than 100 calls per minute.unique-cli agentic-table delete-rowpermanently deletes one Agentic Table row by its row id.unique-cli readrecords each document it returns in.unique/read-refs.jsonl, so the generated-file check can judge files against documents read in full.Fixed:
unique-cli searchwith several queries shows every query's results. The bundledunique-cli-uploaded-searchandunique-cli-mcpskills describe attached documents and chat-wide[mcpsourceN]numbers correctly.
unique_toolkit and Orchestrator
Chat and Agentic Table events expose the chat UI language as
payload.ui_language;ui_language(event)fromunique_toolkit.app.ui_languagereturns aUiLanguage(en,de,fr), falling back to English.build_unique_aitakes keyword-onlyevaluation_factories. A factory evaluation namedhallucinationreplaces the built-in hallucination check.New models:
litellm:gemini-4-hydrogenandlitellm:vertex-gemini-4-hydrogen(reasoning effort defaults tomedium;xhighnot supported yet), and GPT 6.2 Astra and GPT 6.2 Sol on Azure and LiteLLM, which leave outtemperature,top_p,logprobsandtop_logprobs.EXPERIMENTAL Activity Records building blocks: a CloudEvents event model, size limits and truncation, an outbox store with a migration entry point (
activity-recordsextra), a non-blocking relay with Prometheus metrics, and a RabbitMQ sender (activity-records-amqpextra) plus a logging sender for tests.Fixed: the hallucination check finds every cited source, including
[source 7],[source_7],[7],[source: 1, 2]and[**7**]. Customreference_patternsettings keep working.Fixed: the default Code Execution prompts include PDF layout rules so generated PDFs keep every word on the page. Spaces with their own
toolDescriptionForSystemPromptkeep it until it is reset.Fixed: follow-up questions apply
additionalLlmOptionsfromfollowUpQuestionsConfigto every LLM call, including language detection.Changed: the internal search and web search evaluation check lists say the hallucination entry is obsolete when the space uses the Hallucination check setting.
Security: the minimum Pillow version is raised to a patched release.
uqadm
uqadm space upsertanduqadm space migratetake--no-accessto keep the destination's access rights and--with-mcp-serversto copy MCP server bindings.uqadm space export --no-access,uqadm space diff --ignore-accessanduqadm kb sync --no-inherit-accessare new; scope rules are never copied.uqadm kb sync --skip-ingestionstores files without ingesting them, for code and skills that are read as files.Fixed:
uqadm kb rm --recursiveremoves the whole tree, prints each deleted item with a count, and exits non-zero when something could not be deleted.
SDK Documentation: https://unique-ag.github.io/ai/unique-sdk/
Unique API
Rollout — Proxies
TECH From .48, the new Unique API is rolled out for the Proxies batch. This is the last planned batch.
Proxies —
/openai-proxy,/anthropic-proxy,/cursor-proxy.Also in this batch:
POST /openai/chat/completions, including calls that send a company id and no user.Also in this batch:
POST /magic-table/{tableId}/run/claim,POST /magic-table/{tableId}/run/heartbeat, andPOST /magic-table/{tableId}/run/release.
The base URL does not change. Integrations continue to work at
https://gateway.unique.app/public/chat/{resource}— no client action is required.
Behaviour changes to expect on these resources
403 Forbidden — RBAC is now enforced. Calls from users without the required role are rejected.
400 Bad Request — stricter request validation. Payloads that do not match the new contract now fail.
422 — internal errors return a clear, accurate message instead of a generic failure.
Full rollout order, per-domain resource lists and the complete set of behaviour changes: Unique API Version 2026.03.01.
New endpoints
TECH
POST /space/{spaceId}/copycopies a space in one call, keeping its modules, settings, additional models, alert, chat upload, title, subtitle, goals, prompts and scope rules. The caller gets Use, Upload and Manage access to the copy; the source's access entries are not copied. An optional uniquenamesets the copy's name, and with duplicate-as-draft enabled the copy is a draft.TECH
DELETE /magic-table/{tableId}/row/{rowId}permanently deletes one Agentic Table row, andGET /magic-table/{tableId}/rowsreturns itsrowId. Rows in a fully locked review status, final-review rows and the header row are rejected; rows on a completed sheet can be deleted.TECH EXPERIMENTAL
GET,PATCHandDELETE /projects/{projectId}/memoryread, create or replace, and delete the calling user's memory of a project they own. API only; requires Projects.TECH EXPERIMENTAL
POST /search/project-chats(relevance search with highlights),POST /search/project-chats/chunks(one chat in order, paginated) andPOST /search/project-chats/recent(newest activity first) search the earlier chats of a project the caller owns. They return empty results while project chat indexing is off for the company.TECH Message assessments accept an optional
contentIdonPOST /public/chat/message-assessmentandPATCH /public/chat/message-assessment/:messageId, so a generated file can carry its own assessment. One assessment is kept per message, type andcontentId;assessment[]on message reads carries it too (nullfor the message itself).TECH Sheet lists take
assignedToCallerto return only sheets assigned to the signed-in user. WithincludeAssignees, a caller who can do more than answer gets every person assigned to a live question; a caller who can only answer gets themselves and their groups.
Behavior change: deleting the Agentic Table header row is now also rejected on the existing GraphQL delete and on hard delete.
includeAssigneesleaves out anyone assigned only on the header row.
Proxies and chat completions
TECH A context overflow on the OpenAI Responses and Anthropic proxies reaches clients in the form each API documents. A streamed Responses request that overflows before the stream opens returns 200 with a
response.failedevent (codecontext_length_exceeded) instead of 400.TECH Anthropic proxy requests that LiteLLM refuses with 400 or 403 return that status instead of 422, with the upstream error type and code and a closed message instead of LiteLLM's error text. The proxy's own rejection of a hosted tool or of
mcp_serversreturns 400 instead of 422.TECH Chat completions return
systemFingerprintand numericusage.completionTokens,usage.promptTokensandusage.totalTokens, plususage.promptTokensDetailsandusage.completionTokensDetailswhen the provider reports them, with the same names as the 2023-12-06 API.TECH OpenAI proxy container file uploads follow the size limit the deployment configures (50 MB if unset); larger uploads return 413.
TECH Azure model calls always use the OpenAI v1 endpoint. Versioned Azure requests are served through it, and any
modelvalue in the request is replaced with the authorized deployment.
Changes to existing endpoints
TECH Space responses include the optional
effortslist ([{ value, label }]) onswitchableLanguageModels, and create and update requests accept it, so reading a space and writing it back keeps reasoning efforts. Version2026-03-01previously rejectedeffortswith 400. A list must not be empty, and eachvalueandlabelmust be a non-empty string.TECH
DELETE /public/content/:contentIdworks for users without a knowledge-write role when the content is in a folder they can write to or in one of their chats, and for services acting on a user's behalf. Content the caller cannot write to returns 404, and server errors readCould not delete content <id>.TECH Managing folder access requires permission to manage folder access; the deprecated folder-access GraphQL mutations are removed.
TECH A quoted numeric value in a metadata equality filter (for example
"412031870") is compared as text. Pass an unquoted number to match number-valued metadata. Acontainsfilter on such a field no longer fails.TECH
GET /v1/folderandGET /v1/folder/:scopeIduse the defaultskip0,take100 anddepth20 when a value is not a plain number, including repeated keys and bracket syntax.TECH Webhook deliveries answered with 429 or 5xx are retried up to five times over about one minute, so the endpoint can receive the same event again.
TECH Completing an Agentic Table sheet and saving its rows to the answer library succeeds while the sheet is idle.
TECH The OpenAPI documents (
/unique-api/openapi.jsonand/public/openapi.json) change slightly with the NestJS 12 upgrade: nullable object references declaretype: object, some path parameters show an example or default,messageis required inMagicTableBulkCellEntriesResponseDto, andSEARCHis no longer listed on the proxy paths. Operation IDs, routes and bodies are unchanged.
GraphQL
TECH Removed: ingestion
createScopeAccessanddeleteScopeAccess. UsecreateScopeAccessesanddeleteScopeAccesses.TECH
messageCreate,messageCreateSyncandmessageUpdateDatareject apreviousMessagefrom another chat withMESSAGE_NOT_FOUND, and reject anypreviousMessageoperation other thanconnectby id, or anymessagesvalue, as a bad request.TECH
mcpServerCreateandrefreshMcpServerToolsreturn 502 with a correlation id when the server cannot be reached, 409 while another connection attempt for the same server runs, and 503 when the connection lock cannot be taken.TECH Oversized query documents are rejected before resolvers on all GraphQL APIs. Alias, depth and complexity limits are logged by default and can be enforced per deployment.
HTML apps (window.unique)
TECH
window.unique.ui.toastshows a message in Unique's toast, naming the app, with one optional button such as Undo, and resolves whether the user pressed it.TECH
window.unique.onfollows the current chat under thechat: ["read"]grant:chat.updatedlists what to read again (messages,references,knowledge),chat.statusreports turn start and end, andchat.current()returns the status. No event carries content.TECH
app.downloadsaves Word, Excel, PowerPoint, PDF, CSV, JSON, Markdown or text files up to 10 MB as a browser download, without a manifest grant. Pages without a manifest ask the user first; inline chat previews cannot save files.TECH
window.unique.knowledge.create()uploads a file the user picked into a granted folder, named by path or id, and returns its first ingestion state.window.unique.knowledge.info({ contentId })returns a file'sid, name andingestionStatus.TECH
window.unique.agenticTable.sheets.list()returns the user's access per sheet (READ,ANSWER,WRITE,MANAGE),assignedandapprovedcounts per assignee, and how many matching sheets are overdue or due this week in the user's time zone.
Behavior change: on a chat whose chat service returns assignees without the new counts,
assigneesis now[].
SDK
TECH Changes in the ai repository packages for 2026.48.
unique_sdk and unique-cli
unique_sdk.ProjectMemoryreads, writes and deletes the memory of a project the user owns (retrieve,modify,deleteand_asyncvariants).modifytakes the markdowndocumentand an optionalstate; withoutstatethe stored state is kept. Requires Projects for the user.unique-cli searchtakes further queries with-qand runs up to 8 concurrently, showing each chunk once and stopping at about 100,000 tokens. In an agent workspace it refuses more than 100 calls per minute.unique-cli agentic-table delete-rowpermanently deletes one Agentic Table row by its row id.unique-cli readrecords each document it returns in.unique/read-refs.jsonl, so the generated-file check can judge files against documents read in full.Fixed:
unique-cli searchwith several queries shows every query's results. The bundledunique-cli-uploaded-searchandunique-cli-mcpskills describe attached documents and chat-wide[mcpsourceN]numbers correctly.
unique_toolkit and Orchestrator
Chat and Agentic Table events expose the chat UI language as
payload.ui_language;ui_language(event)fromunique_toolkit.app.ui_languagereturns aUiLanguage(en,de,fr), falling back to English.build_unique_aitakes keyword-onlyevaluation_factories. A factory evaluation namedhallucinationreplaces the built-in hallucination check.New models:
litellm:gemini-4-hydrogenandlitellm:vertex-gemini-4-hydrogen(reasoning effort defaults tomedium;xhighnot supported yet), and GPT 6.2 Astra and GPT 6.2 Sol on Azure and LiteLLM, which leave outtemperature,top_p,logprobsandtop_logprobs.EXPERIMENTAL Activity Records building blocks: a CloudEvents event model, size limits and truncation, an outbox store with a migration entry point (
activity-recordsextra), a non-blocking relay with Prometheus metrics, and a RabbitMQ sender (activity-records-amqpextra) plus a logging sender for tests.Fixed: the hallucination check finds every cited source, including
[source 7],[source_7],[7],[source: 1, 2]and[**7**]. Customreference_patternsettings keep working.Fixed: the default Code Execution prompts include PDF layout rules so generated PDFs keep every word on the page. Spaces with their own
toolDescriptionForSystemPromptkeep it until it is reset.Fixed: follow-up questions apply
additionalLlmOptionsfromfollowUpQuestionsConfigto every LLM call, including language detection.Changed: the internal search and web search evaluation check lists say the hallucination entry is obsolete when the space uses the Hallucination check setting.
Security: the minimum Pillow version is raised to a patched release.
uqadm
uqadm space upsertanduqadm space migratetake--no-accessto keep the destination's access rights and--with-mcp-serversto copy MCP server bindings.uqadm space export --no-access,uqadm space diff --ignore-accessanduqadm kb sync --no-inherit-accessare new; scope rules are never copied.uqadm kb sync --skip-ingestionstores files without ingesting them, for code and skills that are read as files.Fixed:
uqadm kb rm --recursiveremoves the whole tree, prints each deleted item with a count, and exits non-zero when something could not be deleted.