Skip to main content

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.
Collate computes credits from weighted tokens. Collate 2.1 lowers three weights to match the prices of the newer default models. The divisor stays at 75,000 weighted tokens for each credit, as it was in Collate 2.0.8. 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.
Usage rows now carry a 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
The following work is no longer billed:
  • Landing page widget agents and internal memory work
  • The natural-language search bar, including its filter extraction and query embedding
Past usage from landing page widgets and the search bar is marked as not billable by the upgrade. Past search bar query embeddings cannot be told apart from chat embeddings, so they keep counting. The search bar no longer checks credits or budgets. It never falls back to keyword search because credits ran out. Chat still bills its own extraction and embedding with the chat turn.

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.
Update any dashboard or script that calls these endpoints: 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.
Collate 2.0.8 allowed these calls for any authenticated user. Use an admin token for integrations that read application limits. Non-admin users can read their own usage through the /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.
Collate 2.1 adds the following Billing capabilities:
  • Credit budgets cap credit use and can also set a daily ceiling.
  • Budget endpoints let you manage budgets with GET, PUT, and DELETE /v1/billing/budgets. Use GET /v1/billing/budgets/me for the caller’s own budgets.
  • Credit alert rules are managed with GET and PUT /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_ENABLED is off. That setting now switches entity quotas only.
A budget applies to one of the following scopes:
  • The whole workspace
  • Each user
  • One named user
  • One team
A credit alert rule can watch one of the following values:
  • The percent of the pool used
  • Daily credits
  • Run credits
  • Days until credits run out
  • A daily spike
Budgets are saved and enforced regardless of the 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.
The Assistants API changes as follows:
  • POST /v1/assistants/chatConversations/{id}/attachments uploads 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 Forbidden error.
  • PUT and DELETE /v1/assistants/chatConversations/{id}/messages/{messageId}/feedback rate or unrate an answer. GET .../feedback returns the caller’s votes.
  • GET /v1/assistants/chatConversations/{id} accepts fields=collaborators,feedback. An unknown value returns a 400 Bad Request error. Without fields the 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.
The 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).
Add 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.
With a plaintext channel, anything on the network path can read the signed identity token on every agent call and replay it until it expires. Configure TLS when the AI platform runs outside the same trusted network.

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.
Rows rank by severity, then by impact, then by age. Impact compares tier, visible downstream assets, and weekly usage. You can approve, reject, or dismiss a row. You can also snooze it for one day, three days, or one week. The server caches the list for each user for 2 minutes. The API is at 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.
SQL Studio now stores the credentials of each admin, user, and team connection under its own secret key. Earlier versions let several connections share one key. The migration runs on every migrate and migrate-secrets run, never deletes a secret or removes a reference, and does the following:
  1. Marks OAuth tokens and personal access tokens saved in 2.0 as expired, because a shared key may hold another person’s token.
  2. Keeps passwords and every other connection setting. Passwords saved in 2.0 keep working.
User and team connections may refer only to their own credentials. A save that refers to any other secret returns a 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.
Releases published to the update feed are now signed and notarized. The macOS menu bar icon uses a template image, so it follows light and dark appearance.

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.
The server now binds to 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.

Collate Model Context Protocol Tools Are Unchanged

The Collate-only tool definitions for the Model Context Protocol (MCP) server have no changes in Collate 2.1. Changes to the shared tools come from the platform. For more information, see Applications & Automation.