Changelog & deprecations
Deprecations
Deprecated features get no new capabilities; the Today column says whether one still works or is accepted and ignored. Removal of anything still deprecated will be announced on this page first. A retired request field (such as pipeline) is accepted and ignored, not an error, so existing clients keep working.
| Deprecated | Since | Use instead | Today |
|---|---|---|---|
pipeline on upload | 2026-10-26 | Leave it out: every upload runs on Arrow | Accepted and ignored ("pipeline": "arrow" in the acknowledgement) |
content_type on upload | 2026-10-26 | Leave it out (choose what is indexed with options) | Accepted and ignored |
nino_tier on GET /videos/{id} | 2026-10-14 | index.options and index.report | Still returned; null for every upload |
"engine": "classic" on POST /search | 2026-10-14 | "engine": "arrow" (the default for new workspaces) | Still answers for older libraries |
rerank and search_options on POST /search | 2026-10-26 | Leave them out | Accepted and ignored: no re-ranker runs and no option is read |
2026-11-24
MCP 0.7.0: save a video. The local server, @niravi/mcp 0.7.0, adds download_video: it saves a video to your computer, the whole file or the part between start and end seconds, from any workspace the key can read (workspace, as on every tool). A part needs ffmpeg and downloads only that stretch; it starts on the keyframe before start, and accurate: true cuts on the exact frame instead. Files go to ~/Downloads/niravi/ unless you set NIRAVI_DOWNLOAD_DIR or Claude gives a path. The remote connector at mcp.niravi.io has no disk, so it keeps video_media, a 24-hour link to the file. @niravi/sdk and the Python SDK move to 0.7.0 with no API change. → Getting the video
The demo workspaces are retired. demo_newsroom, demo_enterprise and demo_creator are gone, and a new key no longer reads any demo by default: it reads its own home workspace and the ones you add to its list. A request that still names one answers 404 (workspace not found). The quickstart now checks the key with GET /api/v1/me and goes straight to an upload; the examples use your_workspace_id. → Quickstart
2026-11-19
MCP 0.6.0: every tool takes workspace. A key can read several workspaces and search covers all of them, but every other tool read only the default one, so opening a hit from another workspace answered “not found”. In @niravi/mcp 0.6.0 and the remote connector at mcp.niravi.io, every tool takes an optional workspace, sent as X-Workspace-Id on that call: Claude passes a hit’s workspace_id to open it. With no default workspace set, search covers every workspace the key can read, on the local server too. With one set (&workspace= on the connector URL, NIRAVI_WORKSPACE locally), search covers only that workspace: a connector URL with &workspace= searched every workspace before. The remote connector’s search thumbnails come from the v1 frame route, so they load with the key. The MCP page shows how to add Niravi to Claude Code. @niravi/sdk and the Python SDK move to 0.6.0 with no API change. → Workspaces
MCP 0.6.1 (same day): results are capped. Every tool result is cut to about 60,000 characters (get_video with full: true on a 2-hour video was about 3.7 million, more than a conversation holds). The largest lists keep their first items, whole, and long text such as subtitles keeps whole lines. A truncated note, first in the result, says how many items were dropped, the time the kept ones reach, and which tool or arguments reach the rest. Smaller results are unchanged. Both the npm package and the remote connector at mcp.niravi.io. → MCP
2026-11-11
SDKs and MCP 0.5.0. @niravi/sdk, @niravi/mcp and the Python SDK follow spec 1.5.0. New: transcript({ words: true }) / transcript(words=True) sends include=words. The generated types gain Place, a hit’s place, FaceItem.box_n, a segment’s words and meta.contract. They drop FaceItem.frame_path (the API has not sent it since 2026-11-01) and HTTPValidationError (a 422 is the error envelope): typed code that names either must drop it, which is why this is 0.5.0. The MCP server keeps its 36 read-only tools; only their descriptions changed. The Python SDK 0.5.0 is not on PyPI yet.
2026-11-10
Every search hit says where it is. A hit of POST /search or POST /search/{search_type} carries place (place/1): video_id, kind, the span t0_ms..t1_ms of a video hit, the 1-based page of a document hit, the box_n of an image or page hit, and uri, an identifier built from those fields. place is null when the asset kind could not be read. OpenAPI 1.5.0. → Search
Every response names its conventions. The Niravi-Contract header and meta.contract (errors too) read niravi.contract/1.0. → Output conventions
Face boxes, top-left. A face in GET /videos/{id}/faces carries box_n, [x, y, w, h] normalized with a top-left origin. bbox stays as stored (normalized bottom-left corners; keyframe pixels on old rows, where box_n is null): read box_n. OpenAPI 1.4.0.
Transcript words. GET /videos/{id}/transcript?include=words adds each segment’s words: text, start, end (seconds from the video start), confidence, speaker, interpolated. Off by default. OpenAPI 1.4.0. → Videos
2026-10-26
Removed: GET /recall/{video_id}/evidence. It returned a stored multi-agent deliberation result, which no hosted video has, so it answered 404 for every video since it was added. Use POST /recall/{video_id}/ask: its answer carries citations, the moments it was drawn from. OpenAPI 1.3.0 drops the route and RecallEvidenceResponse. SDKs and MCP 0.4.0 drop Video.evidence() (TypeScript) / evidence() (Python) and the recall_evidence tool (now 36 tools); code that called it only ever got a 404, so removing the call loses nothing. The remote connector at mcp.niravi.io now serves the same 36 tools as @niravi/mcp 0.4.0 (it had 24): pictures come back as images and get_video as a summary with counts.
Arrow is the only indexing engine. Every upload runs on Arrow: POST /videos, both SDKs, the dashboard and link imports. pipeline is no longer a field of POST /videos, and a client that still sends it is not refused: the value is ignored and the acknowledgement’s pipeline is "arrow". content_type is deprecated and ignored. → Indexing, Deprecations
Search: a spoken quote lands on the moment it was said. A whole-library Arrow search also looks for the query in what was said. When the query quotes speech (two or more words that count, said as the phrase or, from three words, close together in one transcript segment), that moment ranks first as a hit with source: "transcript", the line in text and its start as timestamp. Spoken hits score 0.95 to 1.0 and the hits under them are scaled to 0.94 or less, so a client that filters on score sees new values. A query with fewer than two words that count and a search inside one video (video_id) are unchanged. rerank and search_options are deprecated: accepted and ignored. → Search
People form on their own. When an upload has faces that match no one, the workspace’s faces are re-grouped as it finishes, so new people (status unverified; a person needs at least 3 good faces) are in GET /people once the upload is completed, with no call to POST /people/recluster. That call stays for re-grouping on demand, and for a workspace with more than 20,000 good faces, which is not re-grouped automatically. → People
OpenAPI 1.2.0. The consumer spec’s upload body no longer lists pipeline, content_type is marked deprecated, and UploadAck.pipeline names Arrow as the only engine. 1.2.0 also covers the face crop route GET /api/v1/videos/{video_id}/faces/{face_id}/crop, IndexInfo (a video’s index: options, report, stages_failed, degraded) and the per-workspace GET /engines fields (workspace_default, deployment_default), which reached the spec after the 0.2.0 SDKs were built. → API Reference
SDKs and MCP 0.3.0. @niravi/sdk and @niravi/mcp 0.3.0 follow spec 1.2.0. upload() no longer sends pipeline or contentType / content_type: both are still accepted and marked deprecated, so code written for 0.2 keeps running. The generated types drop the upload body’s pipeline (typed code that names it must drop it too), which is why this is 0.3.0. New: Video.faceCrop(faceId) (the face as JPEG bytes), Video.index (the IndexInfo), people() and person(id) (the workspace’s People; one person with their faces and appearances). The MCP server keeps its 37 read-only tools and depends on @niravi/sdk ^0.3.0. The Python SDK 0.3.0 has the same surface (face_crop(), index, people(), person()) and is not on PyPI yet. 0.3.1 (same day) refreshes the generated reference text only.
2026-10-16
Media access. Every route that returns a private workspace’s media or content (frames, face crops, video, analysis, evidence, exports) now requires a key or a signed-in member; demo workspaces stay public. Media links in v1 responses (frame_url, thumbnail_url, crop_url) point at v1 routes that take your key, and private media is served Cache-Control: private. New: GET /api/v1/videos/{id}/faces/{face_id}/crop.
Fixed: on-screen text on audio-first files. A video whose picture starts after its audio got a duplicated first keyframe: every keyframe timestamp was one second late and on-screen text and scene labels were lost. Keyframes now carry their real timestamps.
Engines and processing details. GET /engines answers for your workspace (default, workspace_default, deployment_default; Arrow is current). Video details gain index.stages_failed and index.degraded, and the upload’s eta_seconds counts the work queued ahead.
Arrow is the default search engine. Every new workspace searches with Arrow, and so does every workspace that is empty or holds only Arrow assets (existing ones were switched). engine on a request still overrides it. Every ingest path (HTTP, both SDKs, the dashboard, link imports) runs Arrow. → Indexing & engines
Search. → Search
moments_per_video(1 to 10, default 1) returns up to that many moments per video in a library search.- Each hit gains
raw_score(the fused score before pool normalisation; the weakest candidate reads 0);scoreis 0..1 with the best hit 1.0, and a whole-library Arrow search normalises it against the whole candidate pool. - Assets still processing (or failed) never appear in results.
- The first search of a library takes about 4 seconds, then under a second; a finished upload is searchable within seconds of completing (3 to 7 s measured).
- Magic search runs on Arrow workspaces: location, emotion, music and character search Arrow’s captions, scene labels, sound events, audio segments, face clusters and People.
meta.searchlists the legs used and the facets that are unavailable.
.nmap export. GET /videos/{id}/nmap downloads an asset’s whole index as one portable ZIP: manifest.json, raw.json and vectors.npz. 409 not_ready while processing; ETag + If-None-Match. → Videos
Frames and subtitles as files. GET /videos/{id}/frames/{timestamp} returns the nearest stored keyframe (one per second) and says which one; ?format=jpeg or Accept: image/jpeg returns the JPEG. subtitles.srt / subtitles.vtt return the raw file with ?format=file or Accept: application/x-subrip / text/vtt. → Videos
One error envelope. Every /api/v1 failure is {success: false, error: {code, message, status}, meta: {request_id}, detail}, including authentication, scope, workspace and rate-limit errors and unknown paths. detail is a legacy mirror. → Errors
Rate limits. The X-RateLimit-* headers are on every v1 response once the key is recognised (a 401 has none), plus X-RateLimit-Limit / X-RateLimit-Remaining aliases of the minute window. Limits for the paid plans (Starter, Studio, Team, Team Premium) are published, and a key follows its workspace’s current plan. → Rate limits
Chat and recall. Answers are grounded in the workspace’s engine (Arrow included) and carry citations (video_id, timestamp, text). A failure to compose an answer is 502 chat_unavailable, never an empty 200. → Recall & Chat
Processing. A job that cannot finish marks its video failed instead of leaving it processing. Long videos are processed with bounded memory: a 54-minute 1080p episode indexed in about 22 minutes.
Keys. In the dashboard, a workspace owner’s key list and new keys follow the selected workspace.
OpenAPI 1.1.0. The consumer spec adds the .nmap route, moments_per_video, raw_score, the ApiError envelope and ChatCitation. → API Reference
SDKs and MCP 0.2.0. @niravi/sdk 0.2.0: engine and momentsPerVideo on search; upload() takes pipeline, options, language and contentType, streams from disk with no upload timeout and is never resent after a 5xx; rateLimit reads every header; typed errors from the envelope; Video helpers for shots, characters, audio segments, sound events, storyboard, subtitles, frames, regions, .nmap and delete; downloadNmap, engines(), indexOptions(). @niravi/mcp 0.2.0: 37 read-only tools. The Python SDK 0.2.0 has the same surface and is not on PyPI yet.
2026-10-15
Arrow by default. Uploads run on Arrow: the HTTP API, the SDK’s upload() and the dashboard.
Docs. Concepts now gives the real rate-limit headers (X-RateLimit-Limit-Minute, X-RateLimit-Limit-Day, X-RateLimit-Remaining-Minute, X-RateLimit-Reset), the plan limits and the three error body shapes. Examples use the demo workspaces every key can read (demo_newsroom, demo_enterprise, demo_creator) and plain HTTP for Python.
2026-10-14
Images & documents. Upload photos, PDFs, decks, Office and text files with the same POST /videos; the response says kind (video / image / document). Video detail gains kind and page_count. → Images & documents
GET /videos/{id}/pages/{page}: a document page’s text, passages with boxes, render and regions.GET /videos/{id}/regions: every object, face and text box on an asset, normalized top-left.- Search hits (
engine: arrow) gainasset_kind,page,passageandregion.
Objects. A new objects stage boxes everyday things plus logos, signs, screens, flags, charts, diagrams, maps, posters and helmets, and your own vocabulary. → Indexing
People. Faces (now open-source models, on by default) are grouped into people across the whole workspace: GET /people, GET /people/{id}, rename / hide / cover with PATCH, merge, remove, recluster. → People
Delete purges. DELETE /videos/{id} is owner-only (403 for an asset shared into your workspace), hides the asset at once and purges it in the background: search indexes, pages, regions, faces and stored files, with People refreshed. The response adds "purging": true.
2026-10-13
Index options. Choose stages per upload (options form field) or per workspace (GET / PUT /index-options): transcript language, speakers, sounds, labels, OCR languages (English, Hindi), faces. Each video’s run is reported in index.report. → Indexing
2026-10-12
Engines. POST /search takes engine; GET /engines lists the engines and your default. The response says which engine answered (engine, recipe) and why another one did (engine_fallback).
2026-06-22
Workspaces. Per-key workspace access lists, GET /workspaces, X-Workspace-Id, read-only demo workspaces, and federated search with workspace_ids (each hit tagged with its workspace_id). → Concepts
MCP & SDKs. The TypeScript SDK and the MCP server on npm (@niravi/sdk, @niravi/mcp), and the remote MCP at mcp.niravi.io for Claude. → MCP
2026-06-17
API keys. Self-service keys with scopes and expiry in the dashboard, per-key usage, nv_ keys accepted as X-API-Key or Authorization: Bearer. → Concepts