Collate AI & Credits
Collate 2.1 recalibrates how Collate AI usage turns into credits and stops billing some built-in work. It removes two Billing API endpoints and restricts two others to admins. It also changes how Structured Query Language (SQL) Studio stores credentials. All changes are compared against Collate 2.0.8.Credit Weights Follow the Newer Model Generation
Behavioral. The same work now costs fewer credits, and the cost of a credit is unchanged.
Input, output, and cache write weights are unchanged. Collate estimates that a typical conversation costs about 12% fewer credits. That figure comes from an internal benchmark and not from production data.
If you forecast spend from earlier numbers, run a representative week again and compare. A deployment that still pins an older model should keep the earlier weights through the
COLLATE_AI_WEIGHT_* settings until it moves to the newer models.
Landing Page Widgets and the Search Bar Are No Longer Billed
Behavioral. Work that Collate does not charge for no longer counts against your credits, and the upgrade marks past usage as not billable.
billable flag. Rows marked as not billable keep their real credit value for Collate’s own cost tracking. Credit reads skip them. Token reports still include them. The credit reads that skip them are:
- Totals
- Balance
- Budgets
- Alerts
- History
- Breakdowns
- Landing page widget agents and internal memory work
- The natural-language search bar, including its filter extraction and query embedding
Two Billing API Endpoints Are Removed
Breaking. Clients of
GET /v1/billing/credits/breakdown/sources and GET /v1/billing/credits/breakdown/users/{userName}/agents fail.
The daily endpoint accepts
startTs and endTs in epoch milliseconds. It defaults to the 30 days before the end of the window and rejects a window that ends before it starts.
Credit Limit Endpoints Require an Admin
Breaking.
GET /v1/collate/apps/limits/{fqn}/history and GET /v1/collate/apps/limits/{fqn}/cycle now return a 403 Forbidden error to users who are not admins./v1/billing/credits/me/* endpoints and the new GET /v1/billing/budgets/me endpoint.
Credit Budgets and Alerts Are Available
Additive. Admins can cap AI credit use and get notified before the pool runs out.
- Credit budgets cap credit use and can also set a daily ceiling.
- Budget endpoints let you manage budgets with
GET,PUT, andDELETE /v1/billing/budgets. UseGET /v1/billing/budgets/mefor the caller’s own budgets. - Credit alert rules are managed with
GETandPUT /v1/billing/creditAlert. - Credit use for each AI Automation run is available from
GET /v1/billing/credits/automation-runs. - Credit limits can be saved and are enforced when
LIMITS_ENABLEDis off. That setting now switches entity quotas only.
- The whole workspace
- Each user
- One named user
- One team
- The percent of the pool used
- Daily credits
- Run credits
- Days until credits run out
- A daily spike
limits.enable setting. That setting only turns on entity quotas such as the number of assets and users. A budget written before the scope field existed behaves as a workspace-wide ceiling.
Budget and credit alert settings are described in the admin guide. For more information, see Billing and Usage.
Conversations Gain Attachments and Feedback
Additive. Collate AI chats accept data files and answer ratings, and the conversation API returns more data on request.
POST /v1/assistants/chatConversations/{id}/attachmentsuploads a comma-separated values (CSV) or Excel file for analysis. A Context Center document can be attached with.../attachments/documents.- Viewers and read-only admins cannot attach or remove files. They receive a
403 Forbiddenerror. PUTandDELETE /v1/assistants/chatConversations/{id}/messages/{messageId}/feedbackrate or unrate an answer.GET .../feedbackreturns the caller’s votes.GET /v1/assistants/chatConversations/{id}acceptsfields=collaborators,feedback. An unknown value returns a400 Bad Requesterror. Withoutfieldsthe response is unchanged.- A chat message can now end with the status
warning, in addition to the earlier statuses.
Hybrid Search Matches More Semantic Results
Behavioral. The default minimum semantic score drops from 0.7 to 0.625.
COLLATE_SEMANTIC_SCORE_THRESHOLD setting controls which documents match a hybrid search. Its default now equals a cosine similarity of 0.25 instead of 0.4, so more loosely related results can appear. Set the variable to 0.7 to keep the earlier behavior. The default is calibrated for the Titan embedding model, so recalibrate it if you use another provider.
The hybrid search API also gains GET /v1/hybrid/nlq/extract and POST /v1/hybrid/nlq/canonicalize. The canonicalize endpoint makes no model call and runs no search.
AI Platform Connections Can Use Transport Layer Security
Additive. Set
aiPlatformConfiguration.trustedCertsPath to move the connection to the AI platform from plaintext to Transport Layer Security (TLS).tlsCertPath and tlsKeyPath as well for mutual TLS. All files use the Privacy-Enhanced Mail (PEM) format. If you leave the settings empty, the channel stays plaintext.
Needs You Now Appears on the AI Mode Home Page
Additive. AI Mode shows a Needs you now list of items that need your attention. Classic mode does not.
GET /v1/landingPage/needsYouNow.
Collate 2.1 also adds optional Weekly Member Emails at /v1/notifications/weeklyEmails. They are off until an admin turns them on and sets a schedule.
SQL Studio Credentials Are Stored for Each Connection
Breaking. If the server stores secrets in an external secrets manager, users and teams that signed in to SQL Studio with Open Authorization (OAuth) or a personal access token must sign in again once.
migrate and migrate-secrets run, never deletes a secret or removes a reference, and does the following:
- Marks OAuth tokens and personal access tokens saved in 2.0 as expired, because a shared key may hold another person’s token.
- Keeps passwords and every other connection setting. Passwords saved in 2.0 keep working.
400 Bad Request error, and a connection that already refers to one asks for the credential again. Admin connections can refer to any secret. Old keys stay in your secrets store until you remove them. Before you upgrade, ./collate-bootstrap/collate-ops.sh check-query-runner-secrets lists, without changing anything, every user and team the upgrade would mark expired. Only one write at a time can change the connections of a service.
Collate 2.1 also makes the following changes to SQL Studio:
- A team OAuth connection acts as the person who signed it in, for every member. The team page names that person. Only a team owner or an admin can sign a team in.
- A query for a service that does not exist or was deleted is rejected with a clear failure and is not dispatched.
- New authentication options exist for Azure service principals and for Microsoft Fabric.
- Chat and SQL Studio can query uploaded CSV and Excel files without a database service.
Collate Desktop Is Signed and Notarized
Additive. The macOS app is signed and notarized, so macOS opens it without a security prompt.
The Local Web Server Answers Only the Local Machine
Breaking. The local ingestion web server returns a
403 Forbidden error to any request whose Host header is not localhost, 127.0.0.1, or ::1.127.0.0.1:8001, and the Docker images publish the port on the host loopback only. This blocks Domain Name System (DNS) rebinding attacks from a web page. If you reach the server through another hostname, list the extra names in CL_ALLOWED_HOSTS, separated by commas. The GET /api/v1/server/ response now masks the stored token. Posting the mask back keeps the token only when server_url is unchanged.