# API reference

Source: https://developers.krans.ai/docs/api/v1

Base URL: https://api.krans.ai/v1. Authenticate with `Authorization: Bearer $KRANS_API_KEY`. OpenAPI: https://developers.krans.ai/openapi.json

## Ventures

A venture is one workspace. Every other resource belongs to exactly one.

### List the ventures this credential can read

`GET https://api.krans.ai/v1/ventures` · MCP tool `list_ventures`

Call this first. `ventures` is the id list (default first), `venture_profiles` gives each one's name, description, phase, website and status in the same order. The list is the ventures you are a member of today, narrowed to the key's ventures. `transcript_access` says whether verbatim transcripts and quotes are available to this credential.

Response 200:
- `_venture` (null, required): Always null: this lists every venture you can read.
- `ventures` (string[], required): Venture ids, default first.
- `venture_profiles` (object[], required): { id, name, description, phase, website_url, status }, same order.
- `default_venture` (string | null, required): Used when venture_id is omitted on an MCP connection.
- `total` (integer, required): Number of ventures.
- `note` (string, required): How venture_id works for this credential.
- `transcript_access` (boolean, required): Whether this credential has the transcripts grant.
- `transcript_note` (string, required): What to do when transcripts are not available.

## Conversations

A conversation is one recorded or imported call. Calls awaiting review are visible only to their creator and workspace admins.

### Search or list conversations

`GET https://api.krans.ai/v1/conversations` · scope `conversations:read` · MCP tool `search_conversations`

With query, searches title, outcome and summary. Without, lists by recorded date, newest first (or by sort_by). Calls still awaiting review are shown only to the person who imported them.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `ids` (any, query): Comma-separated conversation ids, up to 100. Fetch several records in one call.
- `updated_since` (string, query): Only conversations changed at or after this time. Use for incremental sync.
- `sort_by` ("recorded_at" | "created_at" | "updated_at", query): Sort key. Default recorded_at (newest call first, undated calls last).
- `sort_direction` ("asc" | "desc", query): Default desc.
- `query` (string, query): Keywords, up to 500 characters (e.g. 'pricing feedback'), matched in the title, outcome, summary, a participant's name or the account. Omit to browse by date.
- `from_date` (string, query): Recorded on or after (ISO date, e.g. 2026-01-01).
- `to_date` (string, query): Recorded on or before; a bare date includes the whole day.
- `limit` (integer, query): Page size, 1 to 100. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `conversations` (object[], required): { id, title, filename, recorded_at, status, duration_seconds, account_name, updated_at }
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

### Create a conversation from an upload

`POST https://api.krans.ai/v1/conversations` · scope `conversations:write`

Step 2 of 2, after the file is PUT to the URL from POST /uploads. Processing starts straight away (status submitted): a call you create yourself is never held for review. A file already in the venture (same file_hash), a second call with the same external_id, or a second call for the same source.meeting_id, is refused with 409. If processing can't be started the call is not kept and the answer is 503: send the same request again. participants (who attended) helps name the speakers on calls that are on no connected calendar. venture_id may be left out when the API key covers exactly one venture.

Body:
- `venture_id` (string): Must match the upload. Required when you can reach several ventures (API key or MCP); optional with exactly one.
- `key` (string, required): From POST /uploads.
- `title` (string, required): 1 to 200 characters, one line.
- `filename` (string, required): Original file name.
- `file_size` (number, required): Bytes.
- `recorded_at` (any): ISO date-time. If omitted, parsed from the title, then the filename.
- `duration_seconds` (number): Length of the recording.
- `description` (string): Up to 1000 characters.
- `file_hash` (string): SHA-256 of the file, used to refuse duplicates.
- `uploader_was_participant` (boolean): Whether you were on the call. Default true.
- `external_id` (string): Your own id for this recording (up to 200 characters). A second import with the same id in the venture is skipped.
- `call_type` ("exploration" | "validation" | "commercial" | "solution_fit" | "investor" | "connector" | "recruitment" | "partner" | "training" | "support" | "customer_success" | "in_person_meeting" | "internal" | "intra_company" | "other"): Optional call type. When set, the pipeline uses it instead of classifying the call itself.
- `participants` (object[]): Who was in the meeting. Optional; helps name speakers on calls that are on no connected calendar. An entry with contact_id names a known contact (its name and email are used).
- `source` (object): Where the meeting came from.
- `account` (object): The company the meeting was with.

Response 201:
- `id` (string, required): Conversation id.
- `title` (string, required)
- `status` (string, required): submitted: processing started.
- `venture_id` (string, required)
- `created_at` (string, required)

### Import recordings from URLs

`POST https://api.krans.ai/v1/conversations/import-url` · scope `conversations:write` · MCP tool `import_conversations_from_urls`

Queues 1 to 50 recordings to download from https URLs into the venture, in the background. Each URL must serve the audio or video file itself, at most 5 GB, from a public host. Each imported call starts processing as an upload does; an item with a transcript keeps its recording but takes its text from the transcript (no transcription). An item whose external_id or source.meeting_id is already in the venture is skipped; a file already in the venture (same content) is skipped after download. Returns one result per item (error_code on each one skipped or refused) and a job_id: poll GET /conversations/import-url/{job_id} for what happened to each item. Send an Idempotency-Key header to make a retry safe. venture_id may be left out when the API key covers exactly one venture.

Body:
- `venture_id` (string): Venture the recordings belong to. Required when you can reach several ventures (API key or MCP); optional with exactly one.
- `items` (object[], required): 1 to 50 items { url, title, recorded_at, call_type?, uploader_was_participant?, external_id?, participants?, duration_seconds?, source?, account?, transcript? }. Each item is checked on its own: an invalid one comes back refused, the rest still import.

Response 201:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `job_id` (string | null, required): Poll GET /conversations/import-url/{job_id}. Null when nothing was accepted.
- `accepted` (number, required)
- `skipped` (number, required)
- `refused` (number, required)
- `items` (object[], required)

### Status of a URL import

`GET https://api.krans.ai/v1/conversations/import-url/{job_id}` · scope `conversations:read` · MCP tool `get_url_import_status`

What happened to each item of an import_url request so far. created = the call exists and is processing; skipped = it was already in the venture (conversation_id is that call); failed = see error (send that item again once fixed). Items not listed yet are still downloading or queued. done is true once every accepted item has an outcome.

Parameters:
- `job_id` (string, path, required): From POST /conversations/import-url.

Response 200:
- `job_id` (string, required)
- `venture_id` (string, required)
- `status` (string, required): pending, processing, completed, completed_with_errors or failed.
- `done` (boolean, required)
- `total` (number, required): Items accepted.
- `created` (number, required)
- `skipped` (number, required)
- `failed` (number, required)
- `pending` (number, required)
- `items` (object[], required)
- `created_at` (string, required)
- `completed_at` (string | null, required)

### Import transcripts

`POST https://api.krans.ai/v1/conversations/transcripts` · scope `conversations:write` · MCP tool `import_transcripts`

Queues 1 to 50 transcript files to import into the venture, in the background, with the meeting's metadata. Each transcript is a key from POST /uploads (kind transcript) or an https URL to the file; formats: Circleback .md, TXT, SRT, VTT, DOCX, Fireflies CSV or JSON, at most 10 MB. Each item is checked on its own: an invalid one comes back refused with an error_code, the rest are queued. An item whose external_id or source.meeting_id is already in the venture is skipped. Each imported call starts processing as an upload does. Returns one result per item and a job_id: follow it with GET /imports/{job_id}. Send an Idempotency-Key header to make a retry safe.

Body:
- `venture_id` (string): Venture the calls belong to. Required when you can reach several ventures (API key or MCP); optional with exactly one.
- `items` (object[], required): 1 to 50 items { title, transcript, recorded_at?, duration_seconds?, source?, external_id?, call_type?, uploader_was_participant?, account?, participants?, anonymous_speakers? }. Each item is checked on its own.

Response 201:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `job_id` (string | null, required): Follow it with GET /imports/{job_id}. Null when nothing was accepted.
- `accepted` (number, required)
- `skipped` (number, required)
- `refused` (number, required)
- `items` (object[], required)

### List your imports

`GET https://api.krans.ai/v1/imports` · scope `conversations:read` · MCP tool `list_imports`

Your import jobs in a venture, newest first, each with a count per item status and calls_processing. By default only jobs still in progress (status=active). Venture admins see every member's jobs (user_id says whose); members see their own. Read one job's items with GET /imports/{job_id}.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `status` ("active" | "done" | "all", query): active = pending or processing (default); done = finished; all.
- `kind` ("url" | "transcript" | "drive", query): Only jobs of this kind: url, transcript or drive.
- `limit` (integer, query): Page size, 1 to 100. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `items` (object[], required)
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

### Status of one import

`GET https://api.krans.ai/v1/imports/{job_id}` · scope `conversations:read` · MCP tool `get_import`

Every item of one of your import jobs (a venture admin can read any member's) with its index, external_id, title, status (queued, imported, duplicate, failed), phase, conversation_id, conversation_status, conversation_state (processing, ready, failed), error_code and message. job_id comes from the import request or GET /imports. Works for url, transcript and drive imports.

Parameters:
- `job_id` (string, path, required): From the import request or GET /imports.

Response 200:
- `job_id` (string, required)
- `kind` (string, required): url, transcript or drive.
- `status` (string, required): pending, processing, completed, completed_with_errors, failed or cancelled.
- `total` (number, required): Items accepted.
- `queued` (number, required)
- `imported` (number, required)
- `duplicate` (number, required)
- `failed` (number, required)
- `calls_processing` (number, required): Imported calls that are still being processed (not completed, failed or held for review).
- `created_at` (string, required)
- `completed_at` (string | null, required)
- `venture_id` (string, required)
- `done` (boolean, required): True once the job is finished.
- `items` (object[], required)

### Get one conversation

`GET https://api.krans.ai/v1/conversations/{id}` · scope `conversations:read` · MCP tool `get_conversation`

Title (AI summary), filename (original recording name), date, duration, summary, speakers, primary account and the latest intelligence run.

Parameters:
- `id` (string, path, required): Conversation id, copied verbatim from the conversation list.
- `lang` ("en" | "display", query): en (default) returns the canonical English summary; display returns it in your display language.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `_conversation` (object, required): { id } of the conversation.
- `id` (string, required): Conversation id.
- `venture_id` (string, required)
- `title` (string | null, required): AI-generated title.
- `filename` (string | null, required): Original recording name.
- `date` (string | null, required): When the row was created.
- `recorded_at` (string | null, required): When the call happened.
- `source_url` (string | null, required): Link back to the meeting in the tool it came from, when imported with one.
- `duration_seconds` (number | null, required)
- `duration_ms` (number | null, required)
- `conversation_type` (string | null, required): Call type of the latest intelligence run.
- `summary` (string | null, required)
- `status` (string | null, required): Pipeline status, e.g. completed, summarizing, extracting.
- `processing_progress` (number | null, required)
- `processing_message` (string | null, required)
- `updated_at` (string | null, required)
- `primary_account` (any, required): { id, name, domain, industry, size, location, description }
- `account_match_source` (string | null, required): How the account was set: manual (a person chose it), speaker_derived (guessed from the contacts on the call, waits for review), speaker_consensus (every outside speaker on the call works there, counts as confirmed), none (marked as having no external account), another pipeline source, or null when no account is set.
- `speakers` (object[], required): One row per person.
- `intelligence_run` (any, required): { id, call_type, alignment_score, model, prompt_version, date }. date is the call's date (the run is stamped with the recording time), not when the analysis ran.

### Change the recorded date or call type

`PATCH https://api.krans.ai/v1/conversations/{id}` · scope `conversations:write` · MCP tool `update_conversation_details`

Send exactly one field. Changing call_type on a finished call keeps its learnings and re-runs only the reflection; on a call without learnings (or mid-pipeline) the learnings and reflections are discarded and re-extracted for the new type, and status becomes extracting. Changing recorded_at recomputes signals and re-orders threads, without re-extraction. To rename, use PATCH /conversations/{id}/title.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `recorded_at` (string): When the call happened, ISO date-time. Must be in the past.
- `call_type` ("exploration" | "validation" | "commercial" | "solution_fit" | "investor" | "connector" | "recruitment" | "partner" | "training" | "support" | "customer_success" | "in_person_meeting" | "internal" | "intra_company" | "other"): New call type.

Response 200:
- `id` (string, required): Conversation id.
- `recorded_at` (string): When changed.
- `call_type` (string): When changed.
- `reprocessing` (boolean, required): True when re-extraction or reflection was queued.
- `reflection_eligible` (boolean): Call type change: whether the new type gets a reflection.
- `learnings_kept` (boolean): Call type change: true when the learnings were kept.
- `status` (string): Date change: the call's pipeline status.
- `signals_recompute_enqueued` (boolean): Date change: signals recompute queued.
- `thread_reconcile_enqueued` (boolean): Date change: thread re-order queued.

### Delete a conversation

`DELETE https://api.krans.ai/v1/conversations/{id}` · scope `conversations:write` · MCP tool `delete_conversation`

Soft delete: the call, its transcript segments, learnings and placements are hidden, and its threads are reconciled. Restorable by an admin.

Parameters:
- `id` (string, path, required): Conversation id.

Response 200:
- `id` (string, required): Conversation id.
- `deleted` (boolean, required): Always true.

### Rename a conversation

`PATCH https://api.krans.ai/v1/conversations/{id}/title` · scope `conversations:write` · MCP tool `rename_conversation`

Cosmetic. Nothing is reprocessed.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `title` (string, required): 1 to 300 characters, trimmed.

Response 200:
- `id` (string, required): Conversation id.
- `title` (string, required): The saved title.

### Get the transcript

`GET https://api.krans.ai/v1/conversations/{id}/transcript` · scope `conversations:read` · MCP tool `get_transcript`

The word-for-word transcript with speaker names and timestamps. format=segments (default) returns structured turns, format=text one plain string; only the requested form is returned. Needs the transcripts grant: check transcript_access on GET /ventures first.

Parameters:
- `id` (string, path, required): Conversation id, copied verbatim from the conversation list.
- `format` ("segments" | "text", query): segments (default): structured turns. text: one plain string, 'Speaker [HH:MM:SS]: text' per line.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `_conversation` (object, required): { id } of the conversation.
- `date` (string, required): Generated at.
- `conversation_id` (string, required)
- `segment_count` (integer, required)
- `format` ("segments" | "text", required)
- `segments` (object[]): { speaker_name, text, start_ms, end_ms }. Present when format=segments.
- `plain_text` (string): Present when format=text.

### List a conversation's learnings

`GET https://api.krans.ai/v1/conversations/{id}/learnings` · scope `conversations:read` · MCP tool `get_conversation_intelligence`

Every learning the latest analysis extracted from the call: type, evidence tier (E0 to E5), confidences and evidence rows. Quotes appear only with the transcripts grant; without it each evidence row keeps speaker and timestamp.

Parameters:
- `id` (string, path, required): Conversation id, copied verbatim from the conversation list.
- `include_segment_text` (any, query): Add the full transcript segment to each evidence row. Default false; much larger responses.
- `limit` (integer, query): Page size, 1 to 100. Default 25.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `_conversation` (object, required): { id } of the conversation.
- `date` (string, required): Generated at.
- `intelligence_run` (any, required): { id, model, prompt_version, call_type, alignment_score, created_at }
- `learnings` (object[], required)
- `total_learnings` (integer, required): Same as total (the MCP name).
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

### Get coaching reflections

`GET https://api.krans.ai/v1/conversations/{id}/reflections` · scope `conversations:read` · MCP tool `get_conversation_reflections`

What helped, what hurt and what was missed in the call, each moment with impact and confidence scores and evidence quotes (quote text only with the transcripts grant), plus what to repeat, stop and try next time.

Parameters:
- `id` (string, path, required): Conversation id, copied verbatim from the conversation list.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `_conversation` (object, required): { id } of the conversation.
- `found` (boolean, required): False when no reflection has been generated; message explains why.
- `message` (string)
- `call_outcome` (string | null)
- `intent_alignment` (any)
- `generated_at` (string | null)
- `insights` (object[])
- `date` (string, required): Generated at.

### List the people on a call

`GET https://api.krans.ai/v1/conversations/{id}/speakers` · scope `conversations:read` · MCP tool `get_conversation_speakers`

Each person's name, email, job title (as role), company and how they were identified. One row per person; a guess is flagged identity unconfirmed, and a rejected guess has id null and its diarisation label as name.

Parameters:
- `id` (string, path, required): Conversation id, copied verbatim from the conversation list.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `_conversation` (object, required): { id } of the conversation.
- `speakers` (object[], required): { id, name, email, role, account, affiliation_type, match_source, identity }
- `total` (integer, required): Number of speakers (the whole list).

### List the accounts on a call

`GET https://api.krans.ai/v1/conversations/{id}/accounts` · scope `conversations:read` · MCP tool `get_conversation_accounts`

The call's primary account (the main external organisation), plus the accounts of its confirmed participants.

Parameters:
- `id` (string, path, required): Conversation id, copied verbatim from the conversation list.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `_conversation` (object, required): { id } of the conversation.
- `primary_account` (any, required): { id, name, domain, industry, size, location }
- `speaker_accounts` (object[], required): Accounts of confirmed participants, same fields.
- `date` (string, required): Generated at.

### Set the call's account

`PUT https://api.krans.ai/v1/conversations/{id}/account` · scope `conversations:write` · MCP tool `set_conversation_account`

Send account_id, or none: true to record that the call has no account. Signals are recomputed and the call is re-threaded. If exactly one external participant has no account, they are linked to this one.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `account_id` (string): Account in the same venture.
- `none` (boolean): true marks the call as having no account. Use instead of account_id.
- `match_source` ("calendar" | "manual" | "speaker_derived"): Recorded as how the account was chosen. Left empty when omitted.

Response 200:
- `id` (string, required): Conversation id.
- `account` (any, required): { id, name, logo_url, industry, size }
- `account_match_source` (string | null, required)

### Clear the call's account

`DELETE https://api.krans.ai/v1/conversations/{id}/account` · scope `conversations:write` · MCP tool `clear_conversation_account`

Removes the account and leaves the question unanswered in review, unlike none: true. The call leaves its thread and re-threads once an account is set again.

Parameters:
- `id` (string, path, required): Conversation id.

Response 200:
- `id` (string, required): Conversation id.
- `account` (null, required): Always null.

### Link speakers to the call's account

`POST https://api.krans.ai/v1/conversations/{id}/account/link-speakers` · scope `conversations:write` · MCP tool `link_speakers_to_account`

Links 1 to 50 contacts who are participants of this call to the call's account. An anonymised participant cannot be linked from the call. Safe to retry.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `speaker_ids` (string[], required): 1 to 50 contacts who are participants of this call.

Response 200:
- `linked_speaker_ids` (string[], required)
- `account_id` (string, required)

### Get upload URLs

`POST https://api.krans.ai/v1/uploads` · scope `conversations:write`

Step 1 of 2. PUT each file's bytes to its upload_url with the same Content-Type; a transcript's upload_url is signed for exactly file_size bytes, so S3 refuses any other size. A recording (audio or video) then goes to POST /conversations with its key; a transcript (kind transcript, at most 10 MB) goes to POST /conversations/transcripts. Send one file with filename, content_type and file_size, or up to 50 in files; the batch answers { files: [...] } in the same order.

Body:
- `venture_id` (string): Venture the files belong to. Omit it to use your only venture; a credential with several ventures must send it (422 venture_required).
- `filename` (string): Original file name, with extension. Stored sanitised under the venture's own prefix.
- `content_type` (string): MIME type of the file.
- `file_size` (integer): Bytes.
- `kind` ("recording" | "transcript"): Default recording. transcript: a transcript file (.txt, .md, .srt, .vtt, .docx, .csv, .json) of at most 10 MB for POST /conversations/transcripts.
- `files` (object[]): Batch form: 1 to 50 files. Do not combine with the single-file fields.

Response 200:


## Review

The For review queue: everything waiting on a person. Item ids look like <kind>:<source_id>.

### List the review queue

`GET https://api.krans.ai/v1/review` · scope `review:read` · MCP tool `list_review_items`

Everything waiting on a person, newest first, up to 100 items per kind, paged. Kinds: speaker (who is speaking on a call), account (which company a call is with), recording (a held import: process or ignore it), thread (which deal a call belongs to), duplicate (contacts that may be one person). The default compact view carries the ids you need to act; call get_review_item for the full context and the exact answer calls before deciding. Answer with answer_review_speaker, answer_review_account, answer_review_thread, approve_review / dismiss_review (recordings), merge_contacts / dismiss_duplicate_contact (duplicates). Held recordings are listed to their creator and to venture admins only.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `kind` ("speaker" | "account" | "recording" | "thread" | "duplicate", query): Only this kind.
- `counts_only` (any, query): Return counts and total only.
- `view` ("compact" | "full", query): compact (default): ids, title, suggestion. full: every field the review lane holds (large; prefer get_review_item per item).
- `mine` (any, query): Only items about you: a call you created or spoke in, a recording you imported, a duplicate on one of your calls.
- `quick` (any, query): Only quick wins: items one confident Yes answers (strong evidence behind the suggestion).
- `unseen` (any, query): Only items you have not opened (mark_review_seen).
- `limit` (integer, query): Page size, 1 to 100. Default 25.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): The venture read.
- `items` (object[]): { id, kind, title, sub, at, mine, quick, seen, ...kind fields }. compact: speaker conversation_id, slot_id, status, suggestion { contact_id, name }, twin_count · account conversation_id, suggestion { account_id, name, basis }, twin_count · recording conversation_id, source, recorded_at · thread conversation_id, thread_id, account_id, candidate_count · duplicate keeper_id, record_count. full adds the pane fields (alternatives, candidates, records, attendees, …).
- `counts` (object, required): Items per kind in the whole queue (filters and paging aside): { speaker, account, recording, thread, duplicate }
- `views` (object): Items flagged mine / quick in the loaded kinds.
- `total` (integer, required): Items matching kind + filters, across all pages (counts_only: the whole queue).
- `limit` (integer): Page size used.
- `offset` (integer): Offset used.
- `has_more` (boolean): True when another page exists.
- `next_cursor` (string | null): Pass as cursor to get the next page. null on the last page.
- `seen` (string[]): Ids on this page you have opened (also each item's seen).

### Get one review item with its context

`GET https://api.krans.ai/v1/review/items/{item_id}` · scope `review:read` · MCP tool `get_review_item`

Everything needed to answer one item, and next_steps: the exact calls that answer it with arguments filled in (pick one; replace <placeholders>). speaker: the suggestion with its source and confidence, alternatives with why, the first words spoken (quote, needs transcripts), every other voice on the call with talk time, twin slots answered together. account: the people on the call, attendee domains, the suggestion and alternatives with their basis, and evidence (what the call says about who they work for). thread: the parked thread and each candidate thread with their calls, oldest first, plus the model's rationale and its 0-100 confidence (null when placement step 2 parked it, which gives no score). duplicate: every record with its email, account, job title and up to 10 recent calls. recording: source, attendees and the account guess. An item already answered is not_found.

Parameters:
- `item_id` (string, path, required): <kind>:<id> as list_review_items returns it, e.g. speaker:<uuid>.
- `include_evidence` (any, query): Account items: read the call's evidence (default true; the first read of a call takes a few seconds).

Response 200:
- `_venture` (object, required)
- `item` (object, required): The full item, as list_review_items view=full, plus the pane context.
- `seen` (boolean, required): You have opened it before.
- `evidence` (any): Account items only.
- `next_steps` (object[], required): The answers this item offers: tool to call, its arguments, and what choosing it means.

### Read a call's account evidence

`GET https://api.krans.ai/v1/review/conversations/{id}/account-evidence` · scope `review:read` · MCP tool `get_review_account_evidence`

What the call itself says about which company the outside people work for: the lines where they introduce themselves and every company named, each matched to an existing account when one has that name. Read once per call by a model on first request (a few seconds) and stored; later reads are instant. get_review_item already includes this for account items.

Parameters:
- `id` (string, path, required): Conversation id (an account item's conversation_id).
- `twin_conversation_ids` (any, query): The item's twin_conversation_ids: other copies of the same meeting, read together. Comma-separated or an array.

Response 200:
- `conversation_id` (string, required)
- `evidence` (any, required): null = the transcript read failed or there is no transcript yet; try again later.

### Mark review items seen or unseen

`POST https://api.krans.ai/v1/review/seen` · scope `review:read` · MCP tool `mark_review_seen`

Only changes your own read state.

Body:
- `venture_id` (string, required): Workspace the items belong to.
- `item_ids` (string[], required): 1 to 1000 item ids, as GET /review returns them (<kind>:<source id>).
- `seen` (boolean, required): true marks them opened, false marks them unread.

Response 200:
- `count` (integer, required): Ids received.

### Answer a speaker review item

`POST https://api.krans.ai/v1/review/speakers/answer` · scope `review:write` · MCP tool `answer_review_speaker`

Says who is speaking on a speaker item, for the main slot and every other slot the item stands for (twin_slots: other copies of the meeting, and other calls where the same person is suggested) at once. confirm = yes, it is the suggestion (only when the item's status is suggested; a suggestion without contact_id creates that contact). link = it is contact_id (an alternative from get_review_item, a contact from search_contacts, or one you made with create_contact). not_a_person = noise, music, a bot or a duplicate voice: a suggested slot drops its suggestion (the next-best may take its place), an unidentified slot is hidden from YOUR queue only. Learnings and the summary are refreshed when the change affects them. Refused on an anonymised participant. Slots are answered one by one, main slot first; if one fails you get the error, the answered ones leave the queue and an unanswered twin comes back as its own item.

Body:
- `item_id` (string, required): speaker:<slot id>, as list_review_items returns it.
- `answer` ("confirm" | "link" | "not_a_person", required): confirm | link | not_a_person.
- `contact_id` (string): Required for link: the contact who is speaking (same venture).

Response 200:
- `item_id` (string, required)
- `answer` ("confirm" | "link" | "not_a_person", required)
- `contact_id` (string | null, required): The contact the slots now name (null for not_a_person).
- `slots` (object[], required): Every slot answered, main slot first.

### Answer an account review item

`POST https://api.krans.ai/v1/review/accounts/answer` · scope `review:write` · MCP tool `answer_review_account`

Sets which account (company) a call is with, on the call and every twin copy of the meeting at once. Send exactly one of: account_id (the suggestion, an alternative, or an account from search_accounts), new_account (creates the account first; when its domain is taken you get domain_taken and should use that account instead), or none: true (an internal call with no outside company). Signals are recomputed and the call is re-threaded. Calls are answered one by one; if one fails you get the error and the item stays in the queue (a new account is created first, so on a retry pass its account_id). Before creating an account, check search_accounts and the item's evidence (get_review_item) so you do not create a duplicate.

Body:
- `item_id` (string, required): account:<conversation id>, as list_review_items returns it.
- `account_id` (string): An existing account in the same venture.
- `new_account` (object): Create this account and link the call to it.
- `none` (boolean): true = the call has no outside company.

Response 200:
- `item_id` (string, required)
- `conversation_ids` (string[], required): Every call answered, the item's call first.
- `account` (any, required): The account the calls now belong to; null for none.

### Answer a thread review item

`POST https://api.krans.ai/v1/review/conversations/{id}/thread` · scope `review:write` · MCP tool `answer_review_thread`

Settles where a parked call belongs (a thread is one company's deal). confirm = it belongs in from_thread_id, the thread it was parked in. move = it belongs in thread_id instead (one of the item's candidates: another thread of the SAME company). new = it starts a new deal for that company (only when the parked thread has an account). Compare the call with each thread's calls (get_review_item) before moving or starting a new one.

Parameters:
- `id` (string, path, required): Conversation id (the item's conversation_id).

Body:
- `from_thread_id` (string, required): The thread the call is parked in (the item's thread_id).
- `action` ("confirm" | "move" | "new", required): confirm | move | new.
- `thread_id` (string): Required for move: the target thread (same account).
- `venture_id` (string): Optional. When sent it must be the call's venture.

Response 200:
- `action` ("confirm" | "move" | "new", required)
- `thread_id` (string, required): The thread the call is in now.

### Approve a held recording

`POST https://api.krans.ai/v1/review/conversations/{id}/approve` · scope `review:write` · MCP tool `approve_review`

Marks the call reviewed and starts processing if it has not started (transcription; speaker identification for a transcript-only call such as Granola). Only the recording's creator or a venture admin may approve it.

Parameters:
- `id` (string, path, required): Conversation id of the held recording.

Response 200:
- `id` (string, required): Conversation id.
- `status` ("submitted" | "already_processing", required): submitted = processing queued now.

### Dismiss a held recording

`POST https://api.krans.ai/v1/review/conversations/{id}/dismiss` · scope `review:write` · MCP tool `dismiss_review`

Soft-deletes the recording before it is processed. Only the recording's creator or a venture admin may dismiss it.

Parameters:
- `id` (string, path, required): Conversation id of the held recording.

Response 200:
- `id` (string, required): Conversation id.
- `dismissed` (boolean, required): Always true.

### Confirm a speaker match

`POST https://api.krans.ai/v1/review/conversations/{id}/speakers/{speakerId}/confirm` · scope `review:write` · MCP tool `confirm_speaker`

Turns the suggested identity into a confirmed one: linked to an existing contact with the same email or name, else promoted in place. The summary is regenerated. Refused on an anonymised speaker.

Parameters:
- `id` (string, path, required): Conversation id.
- `speakerId` (string, path, required): Speaker on this call.

Response 200:
- `speaker_id` (string, required): The contact the speaker now is (the existing one when linked).
- `match_source` (string, required): manual
- `outcome` ("promoted" | "linked_to_existing", required)

### Approve a participant suggestion

`POST https://api.krans.ai/v1/review/conversations/{id}/participants/{slotId}/approve` · scope `review:write` · MCP tool `approve_participant`

Confirms the slot's suggested identity: an existing contact, or the suggested person as a new contact. The summary and learnings are refreshed when the change affects them. Refused on an anonymised participant.

Parameters:
- `id` (string, path, required): Conversation id.
- `slotId` (string, path, required): Participant slot on this call.

Response 200:
- `slot_id` (string, required)
- `contact_id` (string, required): The contact now confirmed on this slot.

### Dismiss a participant suggestion

`POST https://api.krans.ai/v1/review/conversations/{id}/participants/{slotId}/dismiss` · scope `review:write` · MCP tool `dismiss_participant`

Drops the slot's current suggestion; the next-best suggestion, if any, takes its place. Refused on an anonymised participant.

Parameters:
- `id` (string, path, required): Conversation id.
- `slotId` (string, path, required): Participant slot on this call.

Response 200:
- `slot_id` (string, required)

### Dismiss a duplicate-contact suggestion

`POST https://api.krans.ai/v1/review/contacts/{id}/dismiss-duplicate` · scope `review:write` · MCP tool `dismiss_duplicate_contact`

Records that the two contacts are different people, so the pair stops appearing.

Parameters:
- `id` (string, path, required): Contact id.

Body:
- `duplicate_contact_id` (string, required): The other contact of the pair.

Response 200:
- `contact_id` (string, required)
- `duplicate_contact_id` (string, required)

## Speakers and participants

A speaker is a voice in one call; a participant slot is who we think that voice is. Changes here regenerate the call's summary, and re-extract learnings when a speaker switches side.

### Add a contact as a speaker

`POST https://api.krans.ai/v1/conversations/{id}/speakers` · scope `contacts:write` · MCP tool `add_speaker`

Puts a contact from the same venture on this call. With reassign_from_speaker_id, that speaker's segments move to the contact. Refused on an anonymised speaker.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `contact_id` (string, required): Contact in the same venture.
- `reassign_from_speaker_id` (string): A speaker on this call whose segments move to this contact (usually an unmapped placeholder).
- `is_host` (boolean): Mark the contact as the call's host.
- `match_source` ("calendar" | "internal" | "manual" | "extracted"): How the contact was identified. Sent = the speaker is confirmed at once.

Response 201:
- `speaker` (object, required): { id, name, email, display_color, match_source }
- `segments_reassigned` (integer, required): Segments moved to the contact.

### List participant slots with their identity claims

`GET https://api.krans.ai/v1/conversations/{id}/participants` · scope `contacts:read` · MCP tool `list_participants`

One row per voice on the call: confirmed (a contact), suggested (a guess to approve or dismiss), unlinked, unidentified, or anonymized (hidden by the team: no name, no claims). Team members first.

Parameters:
- `id` (string, path, required): Conversation id.

Response 200:
- `_conversation` (object, required)
- `participants` (object[], required)

### Rename a speaker on a call

`PATCH https://api.krans.ai/v1/conversations/{id}/speakers/{speakerId}` · scope `contacts:write` · MCP tool `rename_speaker`

Sets the display name or colour of a speaker on this call. Refused on an anonymised speaker.

Parameters:
- `id` (string, path, required): Conversation id.
- `speakerId` (string, path, required): Speaker id.

Body:
- `display_name` (string): 1 to 100 characters.
- `display_color` (string): Hex colour from the speaker palette, e.g. #3B82F6.

Response 200:
- `speaker` (object, required): { id, display_name, display_color }

### Remove a speaker from this call

`DELETE https://api.krans.ai/v1/conversations/{id}/speakers/{speakerId}` · scope `contacts:write` · MCP tool `remove_speaker`

By default the voice becomes an unmapped placeholder again. To give its segments to someone else, send leave_unmapped: false with reassign_to_speaker_id. A speaker that is not on the call reads as already removed.

Parameters:
- `id` (string, path, required): Conversation id.
- `speakerId` (string, path, required): Speaker id.

Body:
- `leave_unmapped` (boolean): Default true.
- `reassign_to_speaker_id` (string): Required when leave_unmapped is false. A speaker in the same venture.

Response 200:
- `segments_reassigned` (integer, required): Segments moved.
- `placeholder_speaker_ids` (string[]): When left unmapped: the placeholder speakers that now hold the segments.
- `spoke_in_deleted` (boolean, required): True when the speaker's link to the call was removed.
- `message` (string, required): What happened, in words.

### Link an unmapped voice to a contact

`POST https://api.krans.ai/v1/conversations/{id}/speakers/link` · scope `contacts:write` · MCP tool `link_speaker_to_contact`

Moves an unmapped placeholder's segments to a contact in the same venture and records the link as your decision. Use reassign for a speaker that is not a placeholder. Refused on an anonymised speaker.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `unmapped_speaker_id` (string, required): Placeholder speaker on this call.
- `target_contact_id` (string, required): Contact to attribute the voice to.

Response 200:
- `segments_transferred` (integer, required): Segments moved to the contact.
- `target` (object, required): { id, name }
- `assembly_ai_label` (string | null, required): The voice's diarisation label, e.g. B.

### Move segments from one speaker to another

`POST https://api.krans.ai/v1/conversations/{id}/speakers/reassign` · scope `contacts:write` · MCP tool `reassign_speaker_segments`

Moves all of a speaker's segments on this call (or only segment_ids) to another contact in the venture, adding that contact to the call when needed. Refused when the source speaker is anonymised.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `from_speaker_id` (string, required): Speaker on this call whose segments move.
- `to_speaker_id` (string, required): Contact in the venture that gets them. Must differ from from_speaker_id.
- `segment_ids` (string[]): Only these segments. Default: all.

Response 200:
- `segments_reassigned` (integer, required): Segments moved.

### Merge speakers on this call

`POST https://api.krans.ai/v1/conversations/{id}/speakers/merge` · scope `contacts:write` · MCP tool `merge_speakers`

Moves the sources' segments to the target. Reversible with unmerge. Every speaker must be on this call and in its venture; refused when any of them is anonymised.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `target_speaker_id` (string, required): The speaker that keeps the segments.
- `source_speaker_ids` (string[], required): At least one; must not include the target.

Response 200:
- `segments_reassigned` (integer, required): Segments moved to the target.
- `speakers_merged` (integer, required): Sources folded in.

### Undo a speaker merge on this call

`POST https://api.krans.ai/v1/conversations/{id}/speakers/unmerge` · scope `contacts:write` · MCP tool `unmerge_speakers`

Gives every merged segment back to the speaker it came from and puts those speakers back on the call. Refused on an anonymised speaker.

Parameters:
- `id` (string, path, required): Conversation id.

Body:
- `speaker_id` (string, required): The speaker that absorbed others.

Response 200:
- `segments_restored` (integer, required): Segments given back.
- `speakers_restored` (object[], required): { id, name, display_name, display_color, avatar_url, is_unmapped, … } per restored speaker.

### Set the contact on a participant slot

`POST https://api.krans.ai/v1/conversations/{id}/participants/{slotId}/link` · scope `contacts:write` · MCP tool `link_participant`

Links the slot to a contact in the same venture and moves its transcript lines onto that contact. Refused on an anonymised participant.

Parameters:
- `id` (string, path, required): Conversation id.
- `slotId` (string, path, required): Participant slot id (slot_id from list_participants).

Body:
- `contact_id` (string, required): Contact in the same venture.

Response 200:
- `slot_id` (string, required): The slot that was linked.
- `contact_id` (string, required): The contact it now names.

### Clear the contact on a participant slot

`POST https://api.krans.ai/v1/conversations/{id}/participants/{slotId}/unlink` · scope `contacts:write` · MCP tool `unlink_participant`

The slot goes back to unidentified. Refused on an anonymised participant.

Parameters:
- `id` (string, path, required): Conversation id.
- `slotId` (string, path, required): Participant slot id (slot_id from list_participants).

Response 200:
- `slot_id` (string, required): The slot that was unlinked.

## Contacts

Everyone spoken with on a venture's calls. Merged contacts redirect: reading a merged id returns the survivor with merged_from_contact_id.

### Search contacts

`GET https://api.krans.ai/v1/contacts` · scope `contacts:read` · MCP tool `search_contacts`

The venture's contacts, everyone spoken with on its calls, filtered by name or email, account, affiliation and how recently we last spoke. confirmed_calls counts the reviewed calls they were confirmed on. Placeholders, pending contacts and merged-away duplicates are excluded. Open one with get_contact.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `ids` (any, query): Comma-separated contact ids, up to 100. Fetch several records in one call.
- `updated_since` (string, query): Only contacts changed at or after this time. Use for incremental sync.
- `sort_by` ("created_at" | "updated_at", query): Sort by a timestamp instead of sort. Overrides sort when sent.
- `sort_direction` ("asc" | "desc", query): Direction for sort_by. Default desc.
- `query` (string, query): Keyword over name, display name, email, job title, affiliation or the name of a linked account.
- `account` (string, query): Account name keyword: contacts linked to a matching account.
- `affiliation` ("internal" | "external" | "unknown", query): internal is your own team; external is customers, investors and partners.
- `recency` ("7d" | "30d" | "90d" | "older" | "never", query): Last contact: 7d/30d/90d = within that window, older = more than 90 days ago, never = no recorded contact.
- `from_date` (string, query): Last contact on or after this date (ISO, e.g. 2026-01-01).
- `to_date` (string, query): Last contact on or before; a bare date includes the whole day.
- `sort` ("call_count" | "last_contact" | "name", query): Default call_count: most active first, by the app's activity tally (it also counts unconfirmed calls, so the order can differ slightly from confirmed_calls).
- `limit` (integer, query): Page size, 1 to 500. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `contacts` (object[], required): { contact_id, name, role, account, affiliation, email, linkedin, confirmed_calls, last_contact, updated_at }
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

### Create a contact

`POST https://api.krans.ai/v1/contacts` · scope `contacts:write` · MCP tool `create_contact`

Adds a contact to the venture. An email another contact in the venture already has is refused (email_taken). Without an affiliation, a teammate's email makes the contact internal.

Body:
- `venture_id` (string, required): Venture to add the contact to.
- `name` (string, required): 1 to 200 characters.
- `email` (any): Unique per venture.
- `company` (any): Free-text company label, up to 200. Link an account with set_contact_account.
- `job_title` (any): Up to 200.
- `phone` (any): Up to 50.
- `linkedin_url` (any): LinkedIn profile URL.
- `display_color` (any): Hex colour from the speaker palette. Random when omitted.
- `affiliation_type` (any): internal is your own team.

Response 201:
- `contact` (object, required): { id, name, email, display_name, job_title, phone, linkedin_url, affiliation_type }

### Get one contact

`GET https://api.krans.ai/v1/contacts/{id}` · scope `contacts:read` · MCP tool `get_contact`

Profile (role, affiliation, email, LinkedIn, phone, accounts, last contact), the calls they were CONFIRMED on (newest 50 + total_calls), how many more calls they were only guessed to be on (unconfirmed_calls: counted, never listed), and the threads the confirmed calls belong to. An id that was merged away opens its survivor, with merged_from_contact_id set.

Parameters:
- `id` (string, path, required): Contact id from search_contacts (or a contacts row of get_account).

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `merged_from_contact_id` (string): Present when the id you sent was merged into this one.
- `contact` (object, required): { contact_id, name, role, affiliation, email, linkedin, phone, accounts[] { account_id, name }, last_contact }
- `calls` (object[], required): Confirmed calls, newest 50: { conversation_id, title, recorded_at }
- `total_calls` (integer, required)
- `calls_note` (string): Present when calls was cut.
- `unconfirmed_calls` (integer, required): Calls they were only guessed to be on. Counted, never listed.
- `threads` (object[], required): Up to 25: { thread_id, account, pipeline, stage }
- `total_threads` (integer, required)
- `threads_note` (string): Present when threads was cut.

### Edit a contact

`PATCH https://api.krans.ai/v1/contacts/{id}` · scope `contacts:write` · MCP tool `update_contact`

Changes only the fields you send. An empty email clears it. Another live contact in the venture with the same email is refused (email_taken). To change several contacts, use bulk_update_contacts instead of calling this in a loop.

Parameters:
- `id` (string, path, required): Contact id.

Body:
- `name` (string)
- `display_name` (string)
- `display_color` (string)
- `notes` (string)
- `phone` (string)
- `company` (string)
- `job_title` (string)
- `linkedin_url` (string)
- `email` (any)
- `affiliation_type` ("internal" | "external" | "unknown")

Response 200:
- `contact` (object, required): { id, name, email, display_name, job_title, phone, linkedin_url, affiliation_type }

### Delete a contact

`DELETE https://api.krans.ai/v1/contacts/{id}` · scope `contacts:write` · MCP tool `delete_contact`

Soft delete, including their participant links, segments, account links and discussions.

Parameters:
- `id` (string, path, required): Contact id.

Response 200:
- `id` (string, required): Deleted contact id.
- `deleted` (boolean, required): Always true.

### List learnings from a contact's calls

`GET https://api.krans.ai/v1/contacts/{id}/learnings` · scope `contacts:read` · MCP tool `get_contact_learnings`

Learnings from the reviewed calls this contact was confirmed on, strongest evidence first (tier, then confidence). total counts all of them.

Parameters:
- `id` (string, path, required): Contact id.
- `limit` (integer, query): Page size, 1 to 50. Default 12.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `learnings` (object[], required): { id, conversation_id, learning_type, description, evidence_tier (E0 to E5), evidence_confidence (null = not scored), created_at }
- `total` (integer, required): All learnings for this contact.

### Edit many contacts at once

`POST https://api.krans.ai/v1/contacts/bulk-update` · scope `contacts:write` · MCP tool `bulk_update_contacts`

Applies up to 100 contact edits in one call. Use this instead of calling update_contact in a loop. Only use ids from contacts the user has seen: look each one up first (search_contacts or get_contact), show the user the list of changes with each match (name, account and new values) and get their go-ahead before calling it. Never write an id the user did not confirm; if the user names a contact that matches more than one record, ask which one. Every contact must be in the one venture; ids from elsewhere are listed in failed and left alone. Each item succeeds or fails on its own: a failed item never undoes the others. An item in failed whose error starts with 'Fields saved' had its fields changed and only its photo was not set.

Body:
- `venture_id` (string): Venture the contacts belong to. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection writes to its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `updates` (object[], required): 1 to 100 items { id, changes, avatar_url? }, each contact id at most once.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `updated` (object[], required): Contacts that were changed.
- `failed` (object[], required): Contacts that were not changed, with why.

### Set a contact's photo from an image URL

`PUT https://api.krans.ai/v1/contacts/{id}/avatar` · scope `contacts:write` · MCP tool `set_contact_avatar`

Downloads the image at image_url and stores it as the contact's photo. Only https URLs on the public internet; PNG, JPEG, WebP or GIF up to 5 MB. A page URL (a LinkedIn profile, a website) or a Google placeholder image is refused. The background-removed cut-out of the new photo is made automatically, usually within a minute.

Parameters:
- `id` (string, path, required): Contact id.

Body:
- `image_url` (string, required): https URL of a PNG, JPEG, WebP or GIF image, at most 5 MB. It is downloaded and stored by us.

Response 200:
- `contact_id` (string, required)
- `avatar_url` (string, required): The stored photo's public URL.

### Link a contact to an account

`PUT https://api.krans.ai/v1/contacts/{id}/account` · scope `contacts:write` · MCP tool `set_contact_account`

Makes the account the contact's employer (replacing any earlier link) and copies its name onto the contact. The account must be in the contact's venture.

Parameters:
- `id` (string, path, required): Contact id.

Body:
- `account_id` (string, required): Account in the same venture.
- `job_title` (string): Their title at that account, up to 200.

Response 200:
- `contact_id` (string, required)
- `account` (object, required): { id, name }
- `propagation_failed` (boolean, required): True when the link was saved but copying the account onto the contact's calls failed.

### Unlink a contact from its account

`DELETE https://api.krans.ai/v1/contacts/{id}/account` · scope `contacts:write` · MCP tool `clear_contact_account`

Parameters:
- `id` (string, path, required): Contact id.

Response 200:
- `contact_id` (string, required)

### Merge contacts

`POST https://api.krans.ai/v1/contacts/merge` · scope `contacts:write` · MCP tool `merge_contacts`

The sources' calls, segments and links move to the target; the sources then redirect to it (get_contact on a source opens the target). Venture-wide and not reversible.

Body:
- `venture_id` (string, required): Venture the contacts belong to.
- `target_contact_id` (string, required): The contact that survives.
- `source_contact_ids` (string[], required): At least one; not the target.
- `field_overrides` (object): Field values to keep on the target, e.g. { "email": "…" }.

Response 200:
- `merged_count` (integer, required)
- `conversations_updated` (integer, required)
- `segments_reassigned` (integer, required)
- `target_contact` (object, required): { id, name, displayName }

### List contact lists

`GET https://api.krans.ai/v1/contact-lists` · scope `contacts:read` · MCP tool `list_contact_lists`

The venture's contact lists, oldest first. member_count counts the members the list view shows (live, listable contacts).

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `lists` (object[], required): { id, name, icon, member_count, created_at }

### Create a contact list

`POST https://api.krans.ai/v1/contact-lists` · scope `contacts:write` · MCP tool `create_contact_list`

Optionally with members. Contact ids outside the venture are skipped; member_count is how many were added.

Body:
- `venture_id` (string, required): Venture for the list.
- `name` (string, required): 1 to 120 characters, trimmed.
- `contact_ids` (string[]): Initial members, up to 500 contact ids.

Response 201:
- `list` (object, required): { id, name, member_count }

### Rename a contact list or change its icon

`PATCH https://api.krans.ai/v1/contact-lists/{id}` · scope `contacts:write` · MCP tool `update_contact_list`

Send name, icon, or both. icon null restores the default icon.

Parameters:
- `id` (string, path, required): Contact list id.

Body:
- `name` (string): 1 to 120 characters, trimmed.
- `icon` (any): Icon key, or null to clear.

Response 200:
- `list` (object, required): { id, name, icon }

### Delete a contact list

`DELETE https://api.krans.ai/v1/contact-lists/{id}` · scope `contacts:write` · MCP tool `delete_contact_list`

Soft delete of the list and its memberships. The contacts themselves are untouched.

Parameters:
- `id` (string, path, required): Contact list id.

Response 200:
- `id` (string, required): Deleted list id.
- `deleted` (boolean, required): Always true.

### Add members to a contact list

`POST https://api.krans.ai/v1/contact-lists/{id}/members` · scope `contacts:write` · MCP tool `add_to_contact_list`

Adds the contacts, or restores ones removed earlier. Ids outside the list's venture are skipped. A contact already on the list keeps who added it.

Parameters:
- `id` (string, path, required): Contact list id.

Body:
- `contact_ids` (any, required): 1 to 500 contact ids.

Response 200:
- `added` (integer, required): Members added or restored (valid ids sent).

### Remove members from a contact list

`DELETE https://api.krans.ai/v1/contact-lists/{id}/members` · scope `contacts:write` · MCP tool `remove_from_contact_list`

Soft removal; adding a contact again restores it. Send contact_ids in the body, or comma-separated in the query.

Parameters:
- `id` (string, path, required): Contact list id.

Body:
- `contact_ids` (any, required): 1 to 500 contact ids (body array, or comma-separated).

Response 200:
- `removed` (integer, required): Members removed.

## Accounts

Organisations that appear on a venture's calls. Merged accounts redirect like contacts.

### Search accounts

`GET https://api.krans.ai/v1/accounts` · scope `accounts:read` · MCP tool `search_accounts`

Search or list the venture's accounts (companies) by name or domain, industry, whether a classified thread exists, or when they were created or changed. Merged duplicates and inactive accounts are excluded. Each row carries its contact and thread counts. Drill into one with get_account.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `ids` (any, query): Comma-separated account ids, up to 100. Fetch several records in one call.
- `query` (string, query): Keyword over account name or domain.
- `industry` (string, query): Industry keyword.
- `has_thread` (any, query): true: only accounts with a classified thread. false: only without.
- `has_deal` (any, query): Old name of has_thread (search_companies). has_thread wins when both are sent.
- `updated_since` (string, query): Only accounts changed at or after this time. Use for incremental sync.
- `from_date` (string, query): Only accounts created on or after this date.
- `to_date` (string, query): Only accounts created on or before this date (the whole day when no time is given).
- `sort_by` ("created_at" | "updated_at" | "name", query): Default created_at.
- `sort_direction` ("asc" | "desc", query): Default desc, or asc when sorting by name.
- `limit` (integer, query): Page size, 1 to 500. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `accounts` (object[], required)
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

### Create an account

`POST https://api.krans.ai/v1/accounts` · scope `accounts:write` · MCP tool `create_account`

Creates an account (a company) in the venture. A domain another live account of the venture already has is refused (domain_taken).

Body:
- `venture_id` (string, required): Workspace for the account.
- `name` (string, required): 1 to 200 characters.
- `domain` (any): Unique per venture, e.g. acme.com.
- `website_url` (any): Up to 500 characters.
- `industry` (any): Up to 100 characters.
- `account_type` (any): Free text segment, e.g. startup, smb, enterprise.
- `size` (any): Free text, e.g. 11-50.
- `founded_year` (any): 1800 to 2100.
- `location` (any): Up to 200 characters.
- `description` (any): Notes, up to 2000 characters.
- `linkedin_url` (any): Up to 500 characters.
- `venture_role` (any): How this account relates to the venture: customer, service_provider, competitor, partner or unknown. Stored lowercase.
- `venture_role_reason` (any): One line on why, up to 500 characters.

Response 201:
- `account` (object, required): The created account.

### Get one account with its threads, contacts, calls and signals

`GET https://api.krans.ai/v1/accounts/{id}` · scope `accounts:read` · MCP tool `get_account`

The full view of ONE account: profile (domain, industry, size, location, funding, notes), its threads (stage, close probability, owner → get_thread), its contacts (→ get_contact), its calls (the account is the primary company, or a confirmed participant is one of its contacts → get_conversation) and the signals seen across those calls (→ get_signal_learnings). Reviewed calls only. Every capped list carries its total and a *_note when cut. A merged account id opens the account it was merged into and says so in merged_from_account_id.

Parameters:
- `id` (string, path, required): Account id, from search_accounts.

Response 200:
- `_venture` (object, required)
- `merged_from_account_id` (string): The id you asked for, when it was merged into this account.
- `account` (object, required)
- `threads` (object[], required): Up to 25: { thread_id, pipeline, stage, close_probability_pct, owner, call_count, last_call }
- `total_threads` (integer, required)
- `threads_note` (string)
- `contacts` (object[], required): Up to 40: { contact_id, name, role }
- `total_contacts` (integer, required)
- `contacts_note` (string)
- `calls` (object[], required): Up to 40: { conversation_id, title, recorded_at }
- `total_calls` (integer, required)
- `calls_note` (string)
- `signals` (object[], required): Up to 20: { signal_id, type, status, confidence, description, calls_on_this_account }
- `total_signals` (integer, required)
- `signals_note` (string)

### Update an account

`PATCH https://api.krans.ai/v1/accounts/{id}` · scope `accounts:write` · MCP tool `update_account`

Changes only the fields you send; null clears one. A domain another live account of the venture has is refused (domain_taken). Changing venture_role recomputes signals.

Parameters:
- `id` (string, path, required): Account id.

Body:
- `name` (string): 1 to 200 characters.
- `domain` (any): Unique per venture, e.g. acme.com.
- `website_url` (any): Up to 500 characters.
- `industry` (any): Up to 100 characters.
- `account_type` (any): Free text segment, e.g. startup, smb, enterprise.
- `size` (any): Free text, e.g. 11-50.
- `founded_year` (any): 1800 to 2100.
- `location` (any): Up to 200 characters.
- `description` (any): Notes, up to 2000 characters.
- `linkedin_url` (any): Up to 500 characters.
- `funding_stage` (any): Free text, e.g. Seed, Series A.
- `venture_role` (any): How this account relates to the venture: customer, service_provider, competitor, partner or unknown. Stored lowercase.
- `venture_role_reason` (any): One line on why, up to 500 characters.

Response 200:
- `account` (object, required): The updated account.

### Delete an account

`DELETE https://api.krans.ai/v1/accounts/{id}` · scope `accounts:write` · MCP tool `delete_account`

Soft delete. Contacts are unlinked and calls and threads lose it as their primary account.

Parameters:
- `id` (string, path, required): Account id.

Response 200:
- `id` (string, required): Deleted account id.
- `deleted` (boolean, required): Always true.

### List learnings from an account's calls

`GET https://api.krans.ai/v1/accounts/{id}/learnings` · scope `accounts:read` · MCP tool `get_account_learnings`

The strongest learnings (pain points, objections, workflows, …) across the account's reviewed calls, ranked by evidence tier then confidence. total counts every learning on those calls.

Parameters:
- `id` (string, path, required): Account id, from search_accounts.
- `limit` (integer, query): Page size, 1 to 50. Default 12.

Response 200:
- `learnings` (object[], required)
- `total` (integer, required): All learnings for this account.

### Set an account's logo from an image URL

`PUT https://api.krans.ai/v1/accounts/{id}/logo` · scope `accounts:write` · MCP tool `set_account_logo`

Downloads the image at image_url and stores it as the account's logo. Only https URLs on the public internet; PNG, JPEG, WebP or GIF up to 5 MB (SVG is refused). A website or page URL is not an image and is refused.

Parameters:
- `id` (string, path, required): Account id.

Body:
- `image_url` (string, required): https URL of a PNG, JPEG, WebP or GIF image, at most 5 MB. It is downloaded and stored by us.

Response 200:
- `account` (object, required): The updated account.

### Merge accounts

`POST https://api.krans.ai/v1/accounts/merge` · scope `accounts:write` · MCP tool `merge_accounts`

Merges the source accounts into the target: contacts, calls, threads and account-list memberships move to the target, empty target fields are filled from the sources, then field_overrides apply. Sources are soft-deleted and point at the target (get_account on a source id opens the target). Irreversible.

Body:
- `venture_id` (string, required): Workspace of every account involved.
- `target_account_id` (string, required): The account that is kept.
- `source_account_ids` (string[], required): 1 to 50 account ids merged into the target; not the target.
- `field_overrides` (object): Values the merged account keeps. Keys: name, domain, industry, account_type, location, size, website_url, linkedin_url, description, founded_year.

Response 200:
- `sources_merged` (integer, required)
- `contacts_transferred` (integer, required): Contact links moved to the target.
- `conversations_updated` (integer, required)
- `threads_updated` (integer, required)
- `target_account` (object, required)

### List account lists

`GET https://api.krans.ai/v1/account-lists` · scope `accounts:read` · MCP tool `list_account_lists`

The venture's account lists, oldest first, each with how many live accounts it holds.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.

Response 200:
- `lists` (object[], required)

### Create an account list

`POST https://api.krans.ai/v1/account-lists` · scope `accounts:write` · MCP tool `create_account_list`

Creates a list in the venture, optionally with its first members. member_count is how many of account_ids were live accounts of the venture and were added.

Body:
- `venture_id` (string, required): Workspace for the list.
- `name` (string, required): 1 to 120 characters, trimmed.
- `account_ids` (string[]): Initial members, up to 500 account ids.

Response 201:
- `list` (object, required)

### Rename an account list or change its icon

`PATCH https://api.krans.ai/v1/account-lists/{id}` · scope `accounts:write` · MCP tool `update_account_list`

Parameters:
- `id` (string, path, required): Account list id.

Body:
- `name` (string): 1 to 120 characters.
- `icon` (any): Icon key, or null for the default icon.

Response 200:
- `list` (object, required)

### Delete an account list

`DELETE https://api.krans.ai/v1/account-lists/{id}` · scope `accounts:write` · MCP tool `delete_account_list`

Soft-deletes the list and its memberships. The accounts themselves are untouched.

Parameters:
- `id` (string, path, required): Account list id.

Response 200:
- `id` (string, required): Deleted list id.
- `deleted` (boolean, required): Always true.

### Add accounts to an account list

`POST https://api.krans.ai/v1/account-lists/{id}/members` · scope `accounts:write` · MCP tool `add_to_account_list`

Adds the accounts (live accounts of the list's venture only; others are skipped). Re-adding a removed member restores it. Adding a member already on the list is a no-op.

Parameters:
- `id` (string, path, required): Account list id.

Body:
- `account_ids` (string[], required): 1 to 500 account ids.

Response 200:
- `added` (integer, required): Valid accounts now on the list (added, restored or already there).

### Remove accounts from an account list

`DELETE https://api.krans.ai/v1/account-lists/{id}/members` · scope `accounts:write` · MCP tool `remove_from_account_list`

Removes the accounts from the list (soft). The accounts themselves are untouched.

Parameters:
- `id` (string, path, required): Account list id.

Body:
- `account_ids` (string[], required): 1 to 500 account ids.

Response 200:
- `removed` (integer, required): Members removed.

## Threads

A thread is one account's sales or relationship track: its calls placed on a pipeline stage.

### Search the thread board

`GET https://api.krans.ai/v1/threads` · scope `threads:read` · MCP tool `search_threads`

A thread is ONE account's deal: its calls placed on a pipeline + stage, with a cached close probability, an owner and the open recommendations. `pipeline` is the track: `deals` is the sales pipeline; research, partnership, investment, customer_success, recruitment, connector and other are separate tracks, not sales deals. For 'how many deals' filter pipeline=deals. By default only classified threads (on a pipeline) are returned.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `ids` (any, query): Comma-separated thread ids, up to 100. Fetch several records in one call.
- `updated_since` (string, query): Only threads changed at or after this time. Use for incremental sync.
- `sort_by` ("created_at" | "updated_at", query): Sync order. When sent it replaces sort. Omit for the board order (sort).
- `sort_direction` ("asc" | "desc", query): Direction for sort_by. Default desc.
- `account` (string, query): Account name or thread title keyword.
- `pipeline` (string, query): Track: deals, customer_success, investment, partnership, recruitment, research, connector, other (case-insensitive).
- `stage` (string, query): Stage within the track, e.g. discovery, negotiation, pilot (case-insensitive).
- `owner` ("assigned" | "unassigned", query): Only threads with or without an owner.
- `from_date` (string, query): Last call on or after this date (YYYY-MM-DD).
- `to_date` (string, query): Last call on or before this date; a bare date includes the whole day.
- `include_unclassified` (any, query): Also include threads not placed on a pipeline. Default false.
- `sort` ("recent" | "oldest" | "most_calls", query): Board order: recent (last call, default), oldest, most_calls.
- `limit` (integer, query): Page size, 1 to 100. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `threads` (object[], required): { thread_id, account, account_id, pipeline, stage, call_count, first_call, last_call, owner, close_probability_pct, open_recommendations, top_recommendation, updated_at }
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

### Get one thread

`GET https://api.krans.ai/v1/threads/{id}` · scope `threads:read` · MCP tool `get_thread`

ONE deal: header (account, track, stage, owner, dates, synopsis), the cached intelligence (close probability, ICP fit, stated budget and asked price; null when not computed yet), its member calls (newest 50 + total_calls), the recommendation engine's ranked moves (newest 15 + total_recommendations) and the activity timeline of its current calls (newest 30 + total_activity).

Parameters:
- `id` (string, path, required): Thread id, from GET /threads.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `thread` (object, required): { thread_id, title, synopsis, account, account_id, pipeline, stage, owner, first_call, last_call }
- `intelligence` (any, required): Cached deal intelligence. Budget and price quotes need transcripts.
- `intelligence_note` (string): Present when no intelligence has been computed yet.
- `calls` (object[], required): Newest 50: { conversation_id, title, recorded_at, membership, why_matched }
- `total_calls` (integer, required)
- `calls_note` (string)
- `recommendations` (object[], required): Up to 15: { recommendation_id, rank, title, recommendation, rationale, state }
- `total_recommendations` (integer, required)
- `recommendations_note` (string)
- `activity` (object[], required): Newest 30: { at, kind, summary, metric?, delta? }
- `total_activity` (integer, required)
- `activity_note` (string)

### Change a thread's stage or owner

`PATCH https://api.krans.ai/v1/threads/{id}` · scope `threads:write` · MCP tool `update_thread`

Send exactly one of stage or owner_user_id. Stage must be a stage of the thread's pipeline, and stage editing must be enabled for the workspace (stage_editing_disabled otherwise). The owner must be an active member of the venture; null clears it.

Parameters:
- `id` (string, path, required): Thread id.

Body:
- `venture_id` (string): Optional. When sent, the thread must belong to this venture.
- `stage` (string): A stage of the thread's pipeline, e.g. pilot.
- `owner_user_id` (any): An active member of the venture, or null to clear the owner.

Response 200:
- `thread_id` (string, required)
- `stage` (string): The saved stage, when stage was sent.
- `owner_user_id` (any): The saved owner, when owner_user_id was sent.

### Learnings per call along a thread

`GET https://api.krans.ai/v1/threads/{id}/learnings` · scope `threads:read` · MCP tool `get_thread_learnings`

The thread's calls oldest first, each with its learnings and the stored one-line story of what moved on that call. A thread not placed on a pipeline, or with no account, has no timeline yet (reports is empty).

Parameters:
- `id` (string, path, required): Thread id, from GET /threads.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `account` (any, required): { name } of the thread's account.
- `reports` (object[], required): Oldest first: { conversation { id, title, recorded_at, summary }, learnings[], story }

## Signals

Signals are patterns that recur across calls, promoted candidate → emerging → validated → decision_grade.

### List signals

`GET https://api.krans.ai/v1/signals` · scope `signals:read` · MCP tool `get_signals`

Signals are patterns that recur across calls, each with a confidence and an evidence summary (tier_distribution sums to total_evidence; high_quality_pct is the share of E3+ evidence, 0 to 100). Summary only by default: pass include_learnings for a capped sample, or page one signal's learnings with GET /signals/{id}/learnings.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `ids` (any, query): Comma-separated signal ids, up to 100. Fetch several records in one call.
- `updated_since` (string, query): Only signals changed at or after this time (last_updated_at). Use for incremental sync.
- `sort_by` ("created_at" | "updated_at", query): Default created_at. updated_at sorts by last_updated_at.
- `sort_direction` ("asc" | "desc", query): Default desc.
- `signal_type` (string, query): e.g. pain_point, workflow, objection.
- `status` ("candidate" | "emerging" | "validated" | "decision_grade", query): Promotion status.
- `from_date` (string, query): Created on or after this date (YYYY-MM-DD).
- `to_date` (string, query): Created on or before this date; a bare date includes the whole day.
- `include_learnings` (any, query): Inline up to 10 deduped source learnings per signal. Default false.
- `limit` (integer, query): Page size, 1 to 100. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `signals` (object[], required): { id, signal_type, description, status, confidence, learning_count, promoted_at, last_updated_at, last_evidence_date, evidence_summary { total_evidence, unique_conversations, unique_accounts, top_accounts[], high_quality_pct, tier_distribution }, updated_at }
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.
- `note` (string, required): How to get more detail.

### Weekly timeline of all signals

`GET https://api.krans.ai/v1/signals/timeline` · scope `signals:read` · MCP tool `get_signal_timeline`

weeks[i], calls[i] and each signal's m[i], sg[i], co[i] describe the same week. sg is the stage replayed at that week's end: 0 candidate, 1 emerging, 2 validated, 3 decision_grade, -1 not heard yet.

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `weeks` (string[], required): Monday dates (UTC), oldest first, up to 156.
- `calls` (integer[], required): Calls per week.
- `signals` (object, required): { <signal_id>: { m, sg, co, n0 } }

### Get one signal with evidence

`GET https://api.krans.ai/v1/signals/{id}` · scope `signals:read` · MCP tool `get_signal`

The signal, the accounts and calls its evidence comes from, its top quotes (3 by default, diverse across accounts; quotes=all for up to 500) and its promotion history. Quotes need the transcripts flag.

Parameters:
- `id` (string, path, required): Signal id, from GET /signals.
- `quotes` ("top" | "all", query): top (default): 3 quotes. all: up to 500.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `signal` (object, required): { id, venture_id, signal_type, description, status, confidence, evidence_summary, promoted_at, last_updated_at, last_evidence_date }
- `accounts` (object[], required): { account_id, account_name, venture_role, conversations[] { conversation_id, title, date, evidence_tier, confidence } }
- `top_quotes` (object[], required): { quote, evidence_tier, account_name, speaker_name, conversation_id, timestamp_ms, recorded_at }
- `timeline` (object[], required): Promotion history, oldest first: { action, previous_status, new_status, reason, created_at }

### Page through a signal's source learnings

`GET https://api.krans.ai/v1/signals/{id}/learnings` · scope `signals:read` · MCP tool `get_signal_learnings`

Deduplicated: a learning cited by several calls appears once. Highest similarity first.

Parameters:
- `id` (string, path, required): Signal id, from GET /signals.
- `limit` (integer, query): Page size, 1 to 100. Default 20.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `learnings` (object[], required): { id, description, type, evidence_tier, confidence, similarity_score, conversation_id, date }
- `total` (integer, required): Items matching, across all pages.
- `limit` (integer, required): Page size used.
- `offset` (integer, required): Offset used.
- `has_more` (boolean, required): True when another page exists.
- `next_cursor` (string | null, required): Pass as cursor to get the next page. null on the last page.

## Context

/context is the venture's compiled company brain. Each statement cites claims with E0 to E5 evidence tiers.

### List compiled context classes

`GET https://api.krans.ai/v1/context` · scope `context:read` · MCP tool `list_context`

The venture's /context: the company brain compiled from its claims (hypothesis-state, icp-state, risk-register, gtm-strategy, team-roster, the per-account deal-state fan-out, and more). A manifest only: class, entity_kind, how many entities each spans, last compiled. The venture must have /context enabled (context_not_enabled otherwise).

Parameters:
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `context` (object[], required): { class, entity_kind, count, last_compiled_at }. No bodies.
- `total` (integer, required): Number of entries listed.
- `note` (string, required)

### Read one context entry

`GET https://api.krans.ai/v1/context/{class}` · scope `context:read` · MCP tool `get_context`

One compiled /context entry: body_blocks plus citations whose E0-E5 tiers tell how grounded each statement is (an excerpt from a call needs transcripts; one from documents only always shows). For a per-entity class (e.g. deal-state), omit entity_id to page through the entity index first, then read one. An unknown class or entity answers found:false with a message.

Parameters:
- `class` (string, path, required): Context class from GET /context, e.g. icp-state, risk-register, deal-state.
- `venture_id` (string, query): Venture to read. Omit it to use your only venture. With several: an API key must send it (422 venture_required), an MCP connection reads its default venture (_venture.was_specified: false), so send it whenever the default is not the one you mean.
- `entity_id` (string, query): Entity for a per-entity class. Omit for a venture-level class, or to list the class's entities.
- `limit` (integer, query): Page size, 1 to 100. Default 50.
- `offset` (integer, query): Items to skip.
- `cursor` (string, query): next_cursor from the previous page. Overrides offset.

Response 200:
- `_venture` (object, required): { id, was_specified }. was_specified is false when your default venture was used.
- `found` (boolean, required)
- `message` (string): Why nothing was found, and what to call instead.
- `context` (object): { id, class, entity_kind, entity_id, confidence, compiled_at, valid_from, body_blocks, citations }
- `is_index` (boolean): True when listing a class's entities.
- `entities` (object[]): { entity_kind, entity_id, confidence, compiled_at }, with the paging fields.
- `total` (integer): Items matching, across all pages.
- `limit` (integer): Page size used.
- `offset` (integer): Offset used.
- `has_more` (boolean): True when another page exists.
- `next_cursor` (string | null): Pass as cursor to get the next page. null on the last page.
- `note` (string)
