Developers
  • Try “rate limits”, “merge contacts” or “search_conversations”.
Browse the docs
REST API · 1.0.0
.md

API reference

Base URL https://api.krans.ai/v1. Every request carries an API key as a bearer token; see Authentication.

85 endpoints. Download the spec as openapi.json.

Ventures

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

List the ventures this credential can read

get /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

  • _venturenullRequired

    Always null: this lists every venture you can read.

  • venturesstring[]Required

    Venture ids, default first.

  • venture_profilesobject[]Required

    { id, name, description, phase, website_url, status }, same order.

    ›Show 6 fields
    • idstringRequired
    • namestring | nullRequired
    • descriptionstring | nullRequired
    • phasestring | nullRequired
    • website_urlstring | nullRequired
    • statusstring | nullRequired
  • default_venturestring | nullRequired

    Used when venture_id is omitted on an MCP connection.

  • totalintegerRequired

    Number of ventures.

  • notestringRequired

    How venture_id works for this credential.

  • transcript_accessbooleanRequired

    Whether this credential has the transcripts grant.

  • transcript_notestringRequired

    What to do when transcripts are not available.

Request
curl -X GET https://api.krans.ai/v1/ventures \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": "string",
  "ventures": [
    "string"
  ],
  "venture_profiles": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "phase": "string",
      "website_url": "string",
      "status": "string"
    }
  ],
  "default_venture": "string",
  "total": 0,
  "note": "string",
  "transcript_access": true,
  "transcript_note": "string"
}

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 /conversations

conversations:readMCP 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_idstringquery

    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.

  • idsanyquery

    Comma-separated conversation ids, up to 100. Fetch several records in one call.

  • updated_sincestring (date-time)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.

  • querystringquery

    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_datestringquery

    Recorded on or after (ISO date, e.g. 2026-01-01).

  • to_datestringquery

    Recorded on or before; a bare date includes the whole day.

  • limitintegerquery

    Page size, 1 to 100. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • conversationsobject[]Required

    { id, title, filename, recorded_at, status, duration_seconds, account_name, updated_at }

    ›Show 8 fields
    • idstringRequired
    • titlestring | nullRequired

      AI-generated title (the outcome), else the filename.

    • filenamestring | nullRequired

      Original recording name.

    • recorded_atstring | nullRequired
    • statusstring | nullRequired
    • duration_secondsnumber | nullRequired
    • account_namestring | nullRequired

      Primary account's name.

    • updated_atstring | nullRequired
  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/conversations \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "conversations": [
    {
      "id": "string",
      "title": "string",
      "filename": "string",
      "recorded_at": "string",
      "status": "string",
      "duration_seconds": 0,
      "account_name": "string",
      "updated_at": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Create a conversation from an upload

post /conversations

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_idstring

    Must match the upload. Required when you can reach several ventures (API key or MCP); optional with exactly one.

  • keystringRequired

    From POST /uploads.

  • titlestringRequired

    1 to 200 characters, one line.

  • filenamestringRequired

    Original file name.

  • file_sizenumberRequired

    Bytes.

  • recorded_atany

    ISO date-time. If omitted, parsed from the title, then the filename.

  • duration_secondsnumber

    Length of the recording.

  • descriptionstring

    Up to 1000 characters.

  • file_hashstring

    SHA-256 of the file, used to refuse duplicates.

  • uploader_was_participantboolean

    Whether you were on the call. Default true.

  • external_idstring

    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.

  • participantsobject[]

    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).

    ›Show 6 fields
    • namestring

      Full name as people say it.

    • emailstring

      Work email, if known.

    • companystring

      Their company, if known.

    • side"internal" | "external"Required

      internal = the caller's own team.

    • contact_idstring (uuid)

      A known contact's id. Name and email are then taken from the contact.

    • organizerboolean

      True for the person who organised the meeting.

  • sourceobject

    Where the meeting came from.

    ›Show 3 fields
    • tool"circleback" | "fireflies" | "otter" | "granola" | "fathom" | "teams" | "zoom" | "meet" | "other"Required

      The tool the meeting came from.

    • meeting_idstring

      The id of this one meeting in that tool (one occurrence: a recurring meeting's shared number would mark later occurrences as duplicates). A live call in the venture with the same meeting id, from any source, makes the item a duplicate.

    • urlstring

      Link back to the meeting in that tool (https).

  • accountobject

    The company the meeting was with.

    ›Show 3 fields
    • idstring (uuid)

      A known account's id. Wins over domain and name.

    • domainstring

      The account's web domain: links the account with it, or creates one.

    • namestring

      The account's name: links an existing account only.

Response 201

  • idstringRequired

    Conversation id.

  • titlestringRequired
  • statusstringRequired

    submitted: processing started.

  • venture_idstringRequired
  • created_atstringRequired
Request
curl -X POST https://api.krans.ai/v1/conversations \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "key": "string",
  "title": "string",
  "filename": "string",
  "file_size": 0,
  "recorded_at": "string",
  "duration_seconds": 0,
  "description": "string",
  "file_hash": "string",
  "uploader_was_participant": true,
  "external_id": "string",
  "call_type": "exploration",
  "participants": [
    {
      "name": "string",
      "email": "string",
      "company": "string",
      "side": "internal",
      "contact_id": "00000000-0000-0000-0000-000000000000",
      "organizer": true
    }
  ],
  "source": {
    "tool": "circleback",
    "meeting_id": "string",
    "url": "string"
  },
  "account": {
    "id": "00000000-0000-0000-0000-000000000000",
    "domain": "string",
    "name": "string"
  }
}'
Response 201
{
  "id": "string",
  "title": "string",
  "status": "string",
  "venture_id": "string",
  "created_at": "string"
}

Import recordings from URLs

post /conversations/import-url

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_idstring

    Venture the recordings belong to. Required when you can reach several ventures (API key or MCP); optional with exactly one.

  • itemsobject[]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.

    ›Show 11 fields
    • urlstringRequired

      https URL that serves the recording file itself (not a share page).

    • titlestringRequired

      1 to 200 characters, one line.

    • recorded_atanyRequired

      When the call happened, ISO date-time.

    • uploader_was_participantboolean

      Whether you were on the call. Default true.

    • external_idstring

      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.

    • participantsobject[]

      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).

      ›Show 6 fields
      • namestring

        Full name as people say it.

      • emailstring

        Work email, if known.

      • companystring

        Their company, if known.

      • side"internal" | "external"Required

        internal = the caller's own team.

      • contact_idstring (uuid)

        A known contact's id. Name and email are then taken from the contact.

      • organizerboolean

        True for the person who organised the meeting.

    • duration_secondsinteger

      Length of the recording in seconds.

    • sourceobject

      Where the meeting came from.

      ›Show 3 fields
      • tool"circleback" | "fireflies" | "otter" | "granola" | "fathom" | "teams" | "zoom" | "meet" | "other"Required

        The tool the meeting came from.

      • meeting_idstring

        The id of this one meeting in that tool (one occurrence: a recurring meeting's shared number would mark later occurrences as duplicates). A live call in the venture with the same meeting id, from any source, makes the item a duplicate.

      • urlstring

        Link back to the meeting in that tool (https).

    • accountobject

      The company the meeting was with.

      ›Show 3 fields
      • idstring (uuid)

        A known account's id. Wins over domain and name.

      • domainstring

        The account's web domain: links the account with it, or creates one.

      • namestring

        The account's name: links an existing account only.

    • transcriptobject

      The call's transcript (an uploaded transcripts/... key or an https URL). The recording is kept and its segments come from this file instead of transcription.

      ›Show 3 fields
      • keystring

        The key POST /uploads returned for the transcript file.

      • urlstring

        An https link to the transcript file.

      • format"auto" | "circleback-md" | "txt" | "srt" | "vtt" | "docx" | "fireflies-csv" | "fireflies-json"

        The file's format; auto by default.

Response 201

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • job_idstring | nullRequired

    Poll GET /conversations/import-url/{job_id}. Null when nothing was accepted.

  • acceptednumberRequired
  • skippednumberRequired
  • refusednumberRequired
  • itemsobject[]Required
    ›Show 8 fields
    • indexnumberRequired

      Position of the item in the request, from 0.

    • external_idstring | nullRequired
    • titlestring | nullRequired

      The item's title as stored; null when the item was refused for its fields.

    • status"accepted" | "skipped" | "refused"Required

      accepted = queued for download; skipped = already imported (see conversation_id); refused = not queued (see error).

    • import_idstring | nullRequired

      <job_id>:<index> when accepted.

    • conversation_idstring | nullRequired

      The existing conversation when skipped.

    • errorstring | nullRequired

      Why it was skipped or refused.

    • error_codeanyRequired

      Machine-readable reason when skipped or refused: validation_failed, unsafe_url, not_found or duplicate.

Request
curl -X POST https://api.krans.ai/v1/conversations/import-url \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "items": [
    {
      "url": "string",
      "title": "string",
      "recorded_at": "string",
      "uploader_was_participant": true,
      "external_id": "string",
      "call_type": "exploration",
      "participants": [
        {}
      ],
      "duration_seconds": 0,
      "source": {
        "tool": "circleback",
        "meeting_id": "string",
        "url": "string"
      },
      "account": {
        "id": "00000000-0000-0000-0000-000000000000",
        "domain": "string",
        "name": "string"
      },
      "transcript": {
        "key": "string",
        "url": "string",
        "format": "auto"
      }
    }
  ]
}'
Response 201
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "job_id": "string",
  "accepted": 0,
  "skipped": 0,
  "refused": 0,
  "items": [
    {
      "index": 0,
      "external_id": "string",
      "title": "string",
      "status": "accepted",
      "import_id": "string",
      "conversation_id": "string",
      "error": "string",
      "error_code": "string"
    }
  ]
}

Status of a URL import

get /conversations/import-url/{job_id}

conversations:readMCP 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_idstring (uuid)pathRequired

    From POST /conversations/import-url.

Response 200

  • job_idstringRequired
  • venture_idstringRequired
  • statusstringRequired

    pending, processing, completed, completed_with_errors or failed.

  • donebooleanRequired
  • totalnumberRequired

    Items accepted.

  • creatednumberRequired
  • skippednumberRequired
  • failednumberRequired
  • pendingnumberRequired
  • itemsobject[]Required
    ›Show 6 fields
    • indexnumberRequired
    • external_idstring | nullRequired
    • status"created" | "skipped" | "failed"Required
    • conversation_idstring | nullRequired
    • errorstring | nullRequired
    • error_codeanyRequired

      Machine-readable reason when skipped or failed; null when created (and on items recorded before error codes).

  • created_atstringRequired
  • completed_atstring | nullRequired
Request
curl -X GET https://api.krans.ai/v1/conversations/import-url/{job_id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "job_id": "string",
  "venture_id": "string",
  "status": "string",
  "done": true,
  "total": 0,
  "created": 0,
  "skipped": 0,
  "failed": 0,
  "pending": 0,
  "items": [
    {
      "index": 0,
      "external_id": "string",
      "status": "created",
      "conversation_id": "string",
      "error": "string",
      "error_code": "string"
    }
  ],
  "created_at": "string",
  "completed_at": "string"
}

Import transcripts

post /conversations/transcripts

conversations:writeMCP 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_idstring

    Venture the calls belong to. Required when you can reach several ventures (API key or MCP); optional with exactly one.

  • itemsobject[]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.

    ›Show 11 fields
    • titlestringRequired

      1 to 200 characters, one line.

    • transcriptobjectRequired

      The transcript: an uploaded key or an https URL, exactly one.

      ›Show 3 fields
      • keystring

        The key POST /uploads returned for the transcript file.

      • urlstring

        An https link to the transcript file.

      • format"auto" | "circleback-md" | "txt" | "srt" | "vtt" | "docx" | "fireflies-csv" | "fireflies-json"

        The file's format; auto by default.

    • recorded_atstring

      When the meeting started, ISO 8601 with a time zone. May be left out only when the file itself holds a full timestamp; a file with a date but no time (a Circleback .md) needs it.

    • duration_secondsinteger

      Call length in seconds. Default: the end of the last transcript line.

    • sourceobject

      Where the meeting came from.

      ›Show 3 fields
      • tool"circleback" | "fireflies" | "otter" | "granola" | "fathom" | "teams" | "zoom" | "meet" | "other"Required

        The tool the meeting came from.

      • meeting_idstring

        The id of this one meeting in that tool (one occurrence: a recurring meeting's shared number would mark later occurrences as duplicates). A live call in the venture with the same meeting id, from any source, makes the item a duplicate.

      • urlstring

        Link back to the meeting in that tool (https).

    • external_idstring

      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.

    • uploader_was_participantboolean

      Whether you were on the call (makes you a speaker candidate). Default false.

    • accountobject

      The company the meeting was with.

      ›Show 3 fields
      • idstring (uuid)

        A known account's id. Wins over domain and name.

      • domainstring

        The account's web domain: links the account with it, or creates one.

      • namestring

        The account's name: links an existing account only.

    • participantsobject[]

      Who was on the call. Entries with contact_id take that contact's name and email.

      ›Show 6 fields
      • namestring

        Full name as people say it.

      • emailstring

        Work email, if known.

      • companystring

        Their company, if known.

      • side"internal" | "external"Required

        internal = the caller's own team.

      • contact_idstring (uuid)

        A known contact's id. Name and email are then taken from the contact.

      • organizerboolean

        True for the person who organised the meeting.

    • anonymous_speakersboolean

      Keep speakers anonymous: names from the file are not stored or linked to contacts. Default false.

Response 201

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • job_idstring | nullRequired

    Follow it with GET /imports/{job_id}. Null when nothing was accepted.

  • acceptednumberRequired
  • skippednumberRequired
  • refusednumberRequired
  • itemsobject[]Required
    ›Show 8 fields
    • indexnumberRequired

      Position of the item in the request, from 0.

    • external_idstring | nullRequired
    • titlestring | nullRequired

      The item's title as stored; null when the item was refused for its fields.

    • status"accepted" | "skipped" | "refused"Required

      accepted = queued; skipped = already imported (see conversation_id); refused = not queued (see error_code and error).

    • import_idstring | nullRequired

      <job_id>:<index> when accepted.

    • conversation_idstring | nullRequired

      The existing conversation when skipped.

    • error_codeanyRequired

      Why it was skipped or refused, as a code; null when accepted.

    • errorstring | nullRequired

      Why it was skipped or refused.

Request
curl -X POST https://api.krans.ai/v1/conversations/transcripts \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "items": [
    {
      "title": "string",
      "transcript": {
        "key": "string",
        "url": "string",
        "format": "auto"
      },
      "recorded_at": "string",
      "duration_seconds": 0,
      "source": {
        "tool": "circleback",
        "meeting_id": "string",
        "url": "string"
      },
      "external_id": "string",
      "call_type": "exploration",
      "uploader_was_participant": true,
      "account": {
        "id": "00000000-0000-0000-0000-000000000000",
        "domain": "string",
        "name": "string"
      },
      "participants": [
        {}
      ],
      "anonymous_speakers": true
    }
  ]
}'
Response 201
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "job_id": "string",
  "accepted": 0,
  "skipped": 0,
  "refused": 0,
  "items": [
    {
      "index": 0,
      "external_id": "string",
      "title": "string",
      "status": "accepted",
      "import_id": "string",
      "conversation_id": "string",
      "error_code": "string",
      "error": "string"
    }
  ]
}

List your imports

get /imports

conversations:readMCP 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_idstringquery

    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.

  • limitintegerquery

    Page size, 1 to 100. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • itemsobject[]Required
    ›Show 12 fields
    • job_idstringRequired
    • kindstringRequired

      url, transcript or drive.

    • statusstringRequired

      pending, processing, completed, completed_with_errors, failed or cancelled.

    • totalnumberRequired

      Items accepted.

    • queuednumberRequired
    • importednumberRequired
    • duplicatenumberRequired
    • failednumberRequired
    • calls_processingnumberRequired

      Imported calls that are still being processed (not completed, failed or held for review).

    • created_atstringRequired
    • completed_atstring | nullRequired
    • user_idstringRequired

      Who started the import.

  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/imports \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "items": [
    {
      "job_id": "string",
      "kind": "string",
      "status": "string",
      "total": 0,
      "queued": 0,
      "imported": 0,
      "duplicate": 0,
      "failed": 0,
      "calls_processing": 0,
      "created_at": "string",
      "completed_at": "string",
      "user_id": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Status of one import

get /imports/{job_id}

conversations:readMCP 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_idstring (uuid)pathRequired

    From the import request or GET /imports.

Response 200

  • job_idstringRequired
  • kindstringRequired

    url, transcript or drive.

  • statusstringRequired

    pending, processing, completed, completed_with_errors, failed or cancelled.

  • totalnumberRequired

    Items accepted.

  • queuednumberRequired
  • importednumberRequired
  • duplicatenumberRequired
  • failednumberRequired
  • calls_processingnumberRequired

    Imported calls that are still being processed (not completed, failed or held for review).

  • created_atstringRequired
  • completed_atstring | nullRequired
  • venture_idstringRequired
  • donebooleanRequired

    True once the job is finished.

  • itemsobject[]Required
    ›Show 10 fields
    • indexnumber | nullRequired

      Position of the item in the request, from 0. Null for a drive item or a job older than the stored answer.

    • external_idstring | nullRequired

      The item's external_id (for a drive failure, the Drive file id).

    • titlestring | nullRequired

      The item's title from the request, when it had one.

    • status"queued" | "imported" | "duplicate" | "failed"Required

      queued = accepted, not finished (see phase); imported = the call exists; duplicate = already in the venture; failed = see message.

    • phaseanyRequired

      Step of the item being worked on right now. Null otherwise.

    • conversation_idstring | nullRequired

      The call, when imported or duplicate.

    • conversation_statusstring | nullRequired

      Raw processing status of that call (pending, transcribing, summarizing, extracting, reflecting, completed, failed) or pending_review while it is held for review.

    • conversation_stateanyRequired

      conversation_status in three words: processing (including held for review), ready (completed) or failed.

    • error_codestring | nullRequired

      Machine-readable reason for a duplicate or failed item.

    • messagestring | nullRequired

      Human-readable reason for a duplicate or failed item.

Request
curl -X GET https://api.krans.ai/v1/imports/{job_id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "job_id": "string",
  "kind": "string",
  "status": "string",
  "total": 0,
  "queued": 0,
  "imported": 0,
  "duplicate": 0,
  "failed": 0,
  "calls_processing": 0,
  "created_at": "string",
  "completed_at": "string",
  "venture_id": "string",
  "done": true,
  "items": [
    {
      "index": 0,
      "external_id": "string",
      "title": "string",
      "status": "queued",
      "phase": "string",
      "conversation_id": "string",
      "conversation_status": "string",
      "conversation_state": "string",
      "error_code": "string",
      "message": "string"
    }
  ]
}

Get one conversation

get /conversations/{id}

conversations:readMCP get_conversation

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

Parameters

  • idstring (uuid)pathRequired

    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

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • _conversationobjectRequired

    { id } of the conversation.

    ›Show 1 fields
    • idstringRequired
  • idstringRequired

    Conversation id.

  • venture_idstringRequired
  • titlestring | nullRequired

    AI-generated title.

  • filenamestring | nullRequired

    Original recording name.

  • datestring | nullRequired

    When the row was created.

  • recorded_atstring | nullRequired

    When the call happened.

  • source_urlstring | nullRequired

    Link back to the meeting in the tool it came from, when imported with one.

  • duration_secondsnumber | nullRequired
  • duration_msnumber | nullRequired
  • conversation_typestring | nullRequired

    Call type of the latest intelligence run.

  • summarystring | nullRequired
  • statusstring | nullRequired

    Pipeline status, e.g. completed, summarizing, extracting.

  • processing_progressnumber | nullRequired
  • processing_messagestring | nullRequired
  • updated_atstring | nullRequired
  • primary_accountanyRequired
    ›Show 7 fields
    • id
    • name
    • domain
    • industry
    • size
    • location
    • description
  • account_match_sourcestring | nullRequired

    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.

  • speakersobject[]Required

    One row per person.

    ›Show 15 fields
    • idstring | nullRequired

      Contact id; null for a slot that names nobody.

    • identity"confirmed" | "unconfirmed"Required
    • namestring | nullRequired
    • emailstring | nullRequired
    • rolestring | nullRequired
    • accountstring | nullRequired

      The contact's account (the company get_account opens), else their company text.

    • account_domainstring | nullRequired
    • affiliation_typestring | nullRequired
    • avatar_urlstring | nullRequired
    • job_titlestring | nullRequired
    • is_hostboolean | nullRequired
    • match_sourcestring | nullRequired
    • extracted_namestring | nullRequired
    • duration_msnumber | nullRequired
    • word_countnumber | nullRequired
  • intelligence_runanyRequired

    date is the call's date (the run is stamped with the recording time), not when the analysis ran.

    ›Show 6 fields
    • id
    • call_type
    • alignment_score
    • model
    • prompt_version
    • date
Request
curl -X GET https://api.krans.ai/v1/conversations/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "_conversation": {
    "id": "string"
  },
  "id": "string",
  "venture_id": "string",
  "title": "string",
  "filename": "string",
  "date": "string",
  "recorded_at": "string",
  "source_url": "string",
  "duration_seconds": 0,
  "duration_ms": 0,
  "conversation_type": "string",
  "summary": "string",
  "status": "string",
  "processing_progress": 0,
  "processing_message": "string",
  "updated_at": "string",
  "primary_account": "string",
  "account_match_source": "string",
  "speakers": [
    {
      "id": "string",
      "identity": "confirmed",
      "name": "string",
      "email": "string",
      "role": "string",
      "account": "string",
      "account_domain": "string",
      "affiliation_type": "string",
      "avatar_url": "string",
      "job_title": "string",
      "is_host": true,
      "match_source": "string",
      "extracted_name": "string",
      "duration_ms": 0,
      "word_count": 0
    }
  ],
  "intelligence_run": "string"
}

Change the recorded date or call type

patch /conversations/{id}

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

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • recorded_atstring (date-time)

    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

  • idstringRequired

    Conversation id.

  • recorded_atstring

    When changed.

  • call_typestring

    When changed.

  • reprocessingbooleanRequired

    True when re-extraction or reflection was queued.

  • reflection_eligibleboolean

    Call type change: whether the new type gets a reflection.

  • learnings_keptboolean

    Call type change: true when the learnings were kept.

  • statusstring

    Date change: the call's pipeline status.

  • signals_recompute_enqueuedboolean

    Date change: signals recompute queued.

  • thread_reconcile_enqueuedboolean

    Date change: thread re-order queued.

Request
curl -X PATCH https://api.krans.ai/v1/conversations/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "recorded_at": "2026-10-20T09:00:00Z",
  "call_type": "exploration"
}'
Response 200
{
  "id": "string",
  "recorded_at": "string",
  "call_type": "string",
  "reprocessing": true,
  "reflection_eligible": true,
  "learnings_kept": true,
  "status": "string",
  "signals_recompute_enqueued": true,
  "thread_reconcile_enqueued": true
}

Delete a conversation

delete /conversations/{id}

conversations:writedestructiveMCP delete_conversation

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

Parameters

  • idstring (uuid)pathRequired

    Conversation id.

Response 200

  • idstringRequired

    Conversation id.

  • deletedbooleanRequired

    Always true.

Request
curl -X DELETE https://api.krans.ai/v1/conversations/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "string",
  "deleted": true
}

Rename a conversation

patch /conversations/{id}/title

conversations:writeMCP rename_conversation

Cosmetic. Nothing is reprocessed.

Parameters

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • titlestringRequired

    1 to 300 characters, trimmed.

Response 200

  • idstring (uuid)Required

    Conversation id.

  • titlestringRequired

    The saved title.

Request
curl -X PATCH https://api.krans.ai/v1/conversations/{id}/title \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "string"
}'
Response 200
{
  "id": "00000000-0000-0000-0000-000000000000",
  "title": "string"
}

Get the transcript

get /conversations/{id}/transcript

conversations:readtranscriptsMCP 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

  • idstring (uuid)pathRequired

    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

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • _conversationobjectRequired

    { id } of the conversation.

    ›Show 1 fields
    • idstringRequired
  • datestringRequired

    Generated at.

  • conversation_idstringRequired
  • segment_countintegerRequired
  • format"segments" | "text"Required
  • segmentsobject[]

    { speaker_name, text, start_ms, end_ms }. Present when format=segments.

    ›Show 4 fields
    • speaker_namestringRequired
    • textstringRequired
    • start_msnumberRequired
    • end_msnumberRequired
  • plain_textstring

    Present when format=text.

Request
curl -X GET https://api.krans.ai/v1/conversations/{id}/transcript \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "_conversation": {
    "id": "string"
  },
  "date": "string",
  "conversation_id": "string",
  "segment_count": 0,
  "format": "segments",
  "segments": [
    {
      "speaker_name": "string",
      "text": "string",
      "start_ms": 0,
      "end_ms": 0
    }
  ],
  "plain_text": "string"
}

List a conversation's learnings

get /conversations/{id}/learnings

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

  • idstring (uuid)pathRequired

    Conversation id, copied verbatim from the conversation list.

  • include_segment_textanyquery

    Add the full transcript segment to each evidence row. Default false; much larger responses.

  • limitintegerquery

    Page size, 1 to 100. Default 25.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • _conversationobjectRequired

    { id } of the conversation.

    ›Show 1 fields
    • idstringRequired
  • datestringRequired

    Generated at.

  • intelligence_runanyRequired
    ›Show 6 fields
    • id
    • model
    • prompt_version
    • call_type
    • alignment_score
    • created_at
  • learningsobject[]Required
    ›Show 9 fields
    • idstringRequired
    • learning_typestring | nullRequired
    • descriptionstring | nullRequired
    • evidence_tieranyRequired
    • evidence_confidenceanyRequired
    • interpretation_confidenceanyRequired
    • generalization_confidenceanyRequired
    • created_atstring | nullRequired
    • evidenceobject[]Required
      ›Show 8 fields
      • idstringRequired
      • quotestring | null
      • speaker_namestring | nullRequired
      • speaker_affiliationstring | nullRequired
      • speaker_identity"confirmed" | "unconfirmed"Required
      • segment_sequencenumber | nullRequired
      • start_msnumber | nullRequired
      • segment_textstring | null
  • total_learningsintegerRequired

    Same as total (the MCP name).

  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/conversations/{id}/learnings \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "_conversation": {
    "id": "string"
  },
  "date": "string",
  "intelligence_run": "string",
  "learnings": [
    {
      "id": "string",
      "learning_type": "string",
      "description": "string",
      "evidence_tier": "string",
      "evidence_confidence": "string",
      "interpretation_confidence": "string",
      "generalization_confidence": "string",
      "created_at": "string",
      "evidence": [
        {}
      ]
    }
  ],
  "total_learnings": 0,
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Get coaching reflections

get /conversations/{id}/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

  • idstring (uuid)pathRequired

    Conversation id, copied verbatim from the conversation list.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • _conversationobjectRequired

    { id } of the conversation.

    ›Show 1 fields
    • idstringRequired
  • foundbooleanRequired

    False when no reflection has been generated; message explains why.

  • messagestring
  • call_outcomestring | null
  • intent_alignmentany
  • generated_atstring | null
  • insightsobject[]
    ›Show 11 fields
    • idstringRequired
    • insight_typestring | nullRequired
    • insight_textstring | nullRequired
    • insight_id_tagstring | nullRequired
    • call_outcomestring | nullRequired
    • directionanyRequired
    • impact_scoreanyRequired
    • confidence_scoreanyRequired
    • what_happenedanyRequired
    • fix_or_repeatanyRequired
    • quotesobject[]Required
      ›Show 8 fields
      • idstringRequired
      • quote_textstring | null
      • quote_labelstring | nullRequired
      • speaker_display_namestring | nullRequired
      • speaker_rolestring | nullRequired
      • timestamp_strstring | nullRequired
      • timestamp_msnumber | nullRequired
      • confidenceanyRequired
  • datestringRequired

    Generated at.

Request
curl -X GET https://api.krans.ai/v1/conversations/{id}/reflections \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "_conversation": {
    "id": "string"
  },
  "found": true,
  "message": "string",
  "call_outcome": "string",
  "intent_alignment": "string",
  "generated_at": "string",
  "insights": [
    {
      "id": "string",
      "insight_type": "string",
      "insight_text": "string",
      "insight_id_tag": "string",
      "call_outcome": "string",
      "direction": "string",
      "impact_score": "string",
      "confidence_score": "string",
      "what_happened": "string",
      "fix_or_repeat": "string",
      "quotes": [
        {}
      ]
    }
  ],
  "date": "string"
}

List the people on a call

get /conversations/{id}/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

  • idstring (uuid)pathRequired

    Conversation id, copied verbatim from the conversation list.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • _conversationobjectRequired

    { id } of the conversation.

    ›Show 1 fields
    • idstringRequired
  • speakersobject[]Required

    { id, name, email, role, account, affiliation_type, match_source, identity }

    ›Show 8 fields
    • idstring | nullRequired

      Contact id; null for a slot that names nobody.

    • namestring | nullRequired
    • emailstring | nullRequired
    • rolestring | nullRequired

      Job title.

    • accountstring | nullRequired

      The contact's account (the company get_account opens), else their company text.

    • affiliation_typestring | nullRequired
    • match_sourcestring | nullRequired
    • identity"confirmed" | "unconfirmed"Required
  • totalintegerRequired

    Number of speakers (the whole list).

Request
curl -X GET https://api.krans.ai/v1/conversations/{id}/speakers \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "_conversation": {
    "id": "string"
  },
  "speakers": [
    {
      "id": "string",
      "name": "string",
      "email": "string",
      "role": "string",
      "account": "string",
      "affiliation_type": "string",
      "match_source": "string",
      "identity": "confirmed"
    }
  ],
  "total": 0
}

List the accounts on a call

get /conversations/{id}/accounts

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

Parameters

  • idstring (uuid)pathRequired

    Conversation id, copied verbatim from the conversation list.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • _conversationobjectRequired

    { id } of the conversation.

    ›Show 1 fields
    • idstringRequired
  • primary_accountanyRequired
    ›Show 6 fields
    • id
    • name
    • domain
    • industry
    • size
    • location
  • speaker_accountsobject[]Required

    Accounts of confirmed participants, same fields.

    ›Show 6 fields
    • idstringRequired
    • namestringRequired
    • domainstring | nullRequired
    • industrystring | nullRequired
    • sizestring | nullRequired
    • locationstring | nullRequired
  • datestringRequired

    Generated at.

Request
curl -X GET https://api.krans.ai/v1/conversations/{id}/accounts \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "_conversation": {
    "id": "string"
  },
  "primary_account": "string",
  "speaker_accounts": [
    {
      "id": "string",
      "name": "string",
      "domain": "string",
      "industry": "string",
      "size": "string",
      "location": "string"
    }
  ],
  "date": "string"
}

Set the call's account

put /conversations/{id}/account

conversations:writeMCP 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

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • account_idstring (uuid)

    Account in the same venture.

  • noneboolean

    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

  • idstringRequired

    Conversation id.

  • accountanyRequired
    ›Show 5 fields
    • id
    • name
    • logo_url
    • industry
    • size
  • account_match_sourcestring | nullRequired
Request
curl -X PUT https://api.krans.ai/v1/conversations/{id}/account \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "00000000-0000-0000-0000-000000000000",
  "none": true,
  "match_source": "calendar"
}'
Response 200
{
  "id": "string",
  "account": "string",
  "account_match_source": "string"
}

Clear the call's account

delete /conversations/{id}/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

  • idstring (uuid)pathRequired

    Conversation id.

Response 200

  • idstringRequired

    Conversation id.

  • accountnullRequired

    Always null.

Request
curl -X DELETE https://api.krans.ai/v1/conversations/{id}/account \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "string",
  "account": "string"
}

Get upload URLs

post /uploads

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_idstring

    Venture the files belong to. Omit it to use your only venture; a credential with several ventures must send it (422 venture_required).

  • filenamestring

    Original file name, with extension. Stored sanitised under the venture's own prefix.

  • content_typestring

    MIME type of the file.

  • file_sizeinteger

    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.

  • filesobject[]

    Batch form: 1 to 50 files. Do not combine with the single-file fields.

    ›Show 4 fields
    • filenamestringRequired

      Original file name, with extension. Stored sanitised under the venture's own prefix.

    • content_typestringRequired

      MIME type of the file.

    • file_sizeintegerRequired

      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.

Response 200

Request
curl -X POST https://api.krans.ai/v1/uploads \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "filename": "string",
  "content_type": "string",
  "file_size": 0,
  "kind": "recording",
  "files": [
    {
      "filename": "string",
      "content_type": "string",
      "file_size": 0,
      "kind": "recording"
    }
  ]
}'
Response 200
"string"

Review

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

List the review queue

get /review

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_idstringquery

    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_onlyanyquery

    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).

  • mineanyquery

    Only items about you: a call you created or spoke in, a recording you imported, a duplicate on one of your calls.

  • quickanyquery

    Only quick wins: items one confident Yes answers (strong evidence behind the suggestion).

  • unseenanyquery

    Only items you have not opened (mark_review_seen).

  • limitintegerquery

    Page size, 1 to 100. Default 25.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    The venture read.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • itemsobject[]

    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, …).

    ›Show 9 fields
    • id
    • kind
    • title
    • sub
    • at
    • mine
    • quick
    • seen
    • ...kindfields
  • countsobjectRequired

    Items per kind in the whole queue (filters and paging aside): { speaker, account, recording, thread, duplicate }

  • viewsobject

    Items flagged mine / quick in the loaded kinds.

    ›Show 2 fields
    • mineintegerRequired
    • quickintegerRequired
  • totalintegerRequired

    Items matching kind + filters, across all pages (counts_only: the whole queue).

  • limitinteger

    Page size used.

  • offsetinteger

    Offset used.

  • has_moreboolean

    True when another page exists.

  • next_cursorstring | null

    Pass as cursor to get the next page. null on the last page.

  • seenstring[]

    Ids on this page you have opened (also each item's seen).

Request
curl -X GET https://api.krans.ai/v1/review \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "items": [
    {}
  ],
  "counts": {},
  "views": {
    "mine": 0,
    "quick": 0
  },
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string",
  "seen": [
    "string"
  ]
}

Get one review item with its context

get /review/items/{item_id}

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_idstringpathRequired

    <kind>:<id> as list_review_items returns it, e.g. speaker:<uuid>.

  • include_evidenceanyquery

    Account items: read the call's evidence (default true; the first read of a call takes a few seconds).

Response 200

  • _ventureobjectRequired
    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • itemobjectRequired

    The full item, as list_review_items view=full, plus the pane context.

  • seenbooleanRequired

    You have opened it before.

  • evidenceany

    Account items only.

  • next_stepsobject[]Required

    The answers this item offers: tool to call, its arguments, and what choosing it means.

    ›Show 4 fields
    • answerstringRequired
    • toolstringRequired
    • argsobjectRequired
    • meansstringRequired
Request
curl -X GET https://api.krans.ai/v1/review/items/{item_id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "item": {},
  "seen": true,
  "evidence": "string",
  "next_steps": [
    {
      "answer": "string",
      "tool": "string",
      "args": {},
      "means": "string"
    }
  ]
}

Read a call's account evidence

get /review/conversations/{id}/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

  • idstring (uuid)pathRequired

    Conversation id (an account item's conversation_id).

  • twin_conversation_idsanyquery

    The item's twin_conversation_ids: other copies of the same meeting, read together. Comma-separated or an array.

Response 200

  • conversation_idstringRequired
  • evidenceanyRequired

    null = the transcript read failed or there is no transcript yet; try again later.

Request
curl -X GET https://api.krans.ai/v1/review/conversations/{id}/account-evidence \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "conversation_id": "string",
  "evidence": "string"
}

Mark review items seen or unseen

post /review/seen

Only changes your own read state.

Body

  • venture_idstringRequired

    Workspace the items belong to.

  • item_idsstring[]Required

    1 to 1000 item ids, as GET /review returns them (<kind>:<source id>).

  • seenbooleanRequired

    true marks them opened, false marks them unread.

Response 200

  • countintegerRequired

    Ids received.

Request
curl -X POST https://api.krans.ai/v1/review/seen \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "item_ids": [
    "string"
  ],
  "seen": true
}'
Response 200
{
  "count": 0
}

Answer a speaker review item

post /review/speakers/answer

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_idstringRequired

    speaker:<slot id>, as list_review_items returns it.

  • answer"confirm" | "link" | "not_a_person"Required

    confirm | link | not_a_person.

  • contact_idstring (uuid)

    Required for link: the contact who is speaking (same venture).

Response 200

  • item_idstringRequired
  • answer"confirm" | "link" | "not_a_person"Required
  • contact_idstring | nullRequired

    The contact the slots now name (null for not_a_person).

  • slotsobject[]Required

    Every slot answered, main slot first.

    ›Show 2 fields
    • conversation_idstringRequired
    • slot_idstringRequired
Request
curl -X POST https://api.krans.ai/v1/review/speakers/answer \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "item_id": "string",
  "answer": "confirm",
  "contact_id": "00000000-0000-0000-0000-000000000000"
}'
Response 200
{
  "item_id": "string",
  "answer": "confirm",
  "contact_id": "string",
  "slots": [
    {
      "conversation_id": "string",
      "slot_id": "string"
    }
  ]
}

Answer an account review item

post /review/accounts/answer

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_idstringRequired

    account:<conversation id>, as list_review_items returns it.

  • account_idstring (uuid)

    An existing account in the same venture.

  • new_accountobject

    Create this account and link the call to it.

    ›Show 2 fields
    • namestringRequired

      Account name as the company calls itself.

    • domainstring

      Web domain, e.g. acme.com. Unique per venture.

  • noneboolean

    true = the call has no outside company.

Response 200

  • item_idstringRequired
  • conversation_idsstring[]Required

    Every call answered, the item's call first.

  • accountanyRequired

    The account the calls now belong to; null for none.

Request
curl -X POST https://api.krans.ai/v1/review/accounts/answer \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "item_id": "string",
  "account_id": "00000000-0000-0000-0000-000000000000",
  "new_account": {
    "name": "string",
    "domain": "string"
  },
  "none": true
}'
Response 200
{
  "item_id": "string",
  "conversation_ids": [
    "string"
  ],
  "account": "string"
}

Answer a thread review item

post /review/conversations/{id}/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

  • idstring (uuid)pathRequired

    Conversation id (the item's conversation_id).

Body

  • from_thread_idstring (uuid)Required

    The thread the call is parked in (the item's thread_id).

  • action"confirm" | "move" | "new"Required

    confirm | move | new.

  • thread_idstring (uuid)

    Required for move: the target thread (same account).

  • venture_idstring

    Optional. When sent it must be the call's venture.

Response 200

  • action"confirm" | "move" | "new"Required
  • thread_idstringRequired

    The thread the call is in now.

Request
curl -X POST https://api.krans.ai/v1/review/conversations/{id}/thread \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "from_thread_id": "00000000-0000-0000-0000-000000000000",
  "action": "confirm",
  "thread_id": "00000000-0000-0000-0000-000000000000",
  "venture_id": "string"
}'
Response 200
{
  "action": "confirm",
  "thread_id": "string"
}

Approve a held recording

post /review/conversations/{id}/approve

review:writeMCP 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

  • idstring (uuid)pathRequired

    Conversation id of the held recording.

Response 200

  • idstring (uuid)Required

    Conversation id.

  • status"submitted" | "already_processing"Required

    submitted = processing queued now.

Request
curl -X POST https://api.krans.ai/v1/review/conversations/{id}/approve \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "00000000-0000-0000-0000-000000000000",
  "status": "submitted"
}

Dismiss a held recording

post /review/conversations/{id}/dismiss

review:writeMCP dismiss_review

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

Parameters

  • idstring (uuid)pathRequired

    Conversation id of the held recording.

Response 200

  • idstring (uuid)Required

    Conversation id.

  • dismissedbooleanRequired

    Always true.

Request
curl -X POST https://api.krans.ai/v1/review/conversations/{id}/dismiss \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "00000000-0000-0000-0000-000000000000",
  "dismissed": true
}

Confirm a speaker match

post /review/conversations/{id}/speakers/{speakerId}/confirm

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

  • idstring (uuid)pathRequired

    Conversation id.

  • speakerIdstring (uuid)pathRequired

    Speaker on this call.

Response 200

  • speaker_idstring (uuid)Required

    The contact the speaker now is (the existing one when linked).

  • match_sourcestringRequired

    manual

  • outcome"promoted" | "linked_to_existing"Required
Request
curl -X POST https://api.krans.ai/v1/review/conversations/{id}/speakers/{speakerId}/confirm \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "speaker_id": "00000000-0000-0000-0000-000000000000",
  "match_source": "string",
  "outcome": "promoted"
}

Approve a participant suggestion

post /review/conversations/{id}/participants/{slotId}/approve

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

  • idstring (uuid)pathRequired

    Conversation id.

  • slotIdstring (uuid)pathRequired

    Participant slot on this call.

Response 200

  • slot_idstring (uuid)Required
  • contact_idstring (uuid)Required

    The contact now confirmed on this slot.

Request
curl -X POST https://api.krans.ai/v1/review/conversations/{id}/participants/{slotId}/approve \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "slot_id": "00000000-0000-0000-0000-000000000000",
  "contact_id": "00000000-0000-0000-0000-000000000000"
}

Dismiss a participant suggestion

post /review/conversations/{id}/participants/{slotId}/dismiss

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

Parameters

  • idstring (uuid)pathRequired

    Conversation id.

  • slotIdstring (uuid)pathRequired

    Participant slot on this call.

Response 200

  • slot_idstring (uuid)Required
Request
curl -X POST https://api.krans.ai/v1/review/conversations/{id}/participants/{slotId}/dismiss \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "slot_id": "00000000-0000-0000-0000-000000000000"
}

Dismiss a duplicate-contact suggestion

post /review/contacts/{id}/dismiss-duplicate

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

Parameters

  • idstring (uuid)pathRequired

    Contact id.

Body

  • duplicate_contact_idstring (uuid)Required

    The other contact of the pair.

Response 200

  • contact_idstring (uuid)Required
  • duplicate_contact_idstring (uuid)Required
Request
curl -X POST https://api.krans.ai/v1/review/contacts/{id}/dismiss-duplicate \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "duplicate_contact_id": "00000000-0000-0000-0000-000000000000"
}'
Response 200
{
  "contact_id": "00000000-0000-0000-0000-000000000000",
  "duplicate_contact_id": "00000000-0000-0000-0000-000000000000"
}

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 /conversations/{id}/speakers

contacts:writeMCP 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

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • contact_idstring (uuid)Required

    Contact in the same venture.

  • reassign_from_speaker_idstring (uuid)

    A speaker on this call whose segments move to this contact (usually an unmapped placeholder).

  • is_hostboolean

    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

  • speakerobjectRequired

    { id, name, email, display_color, match_source }

    ›Show 5 fields
    • idstring | nullRequired
    • namestring | nullRequired
    • emailstring | nullRequired
    • display_colorstring | nullRequired
    • match_sourceanyRequired
  • segments_reassignedintegerRequired

    Segments moved to the contact.

Request
curl -X POST https://api.krans.ai/v1/conversations/{id}/speakers \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contact_id": "00000000-0000-0000-0000-000000000000",
  "reassign_from_speaker_id": "00000000-0000-0000-0000-000000000000",
  "is_host": true,
  "match_source": "calendar"
}'
Response 201
{
  "speaker": {
    "id": "string",
    "name": "string",
    "email": "string",
    "display_color": "string",
    "match_source": "string"
  },
  "segments_reassigned": 0
}

List participant slots with their identity claims

get /conversations/{id}/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

  • idstring (uuid)pathRequired

    Conversation id.

Response 200

  • _conversationobjectRequired
    ›Show 1 fields
    • idstringRequired
  • participantsobject[]Required
    ›Show 11 fields
    • slot_idstringRequired

      Participant slot id: the one the participants/{slotId} endpoints take.

    • speaker_idstring | nullRequired

      The slot's speaker id, for the speakers endpoints. null when the slot names nobody (anonymised, or a rejected guess).

    • labelstring | nullRequired

      Diarisation label, e.g. A.

    • kind"confirmed" | "suggested" | "unlinked" | "unidentified" | "anonymized"Required
    • contactobject

      confirmed: the contact.

      ›Show 7 fields
      • idstringRequired
      • namestringRequired
      • avatar_urlstring | nullRequired
      • accountstring | nullRequired

        The contact's company name.

      • job_titlestring | nullRequired
      • emailstring | nullRequired
      • linkedin_urlstring | nullRequired
    • badge"calendar" | "team" | "ai_matched" | "transcript" | "you"

      confirmed: how it was confirmed (team = a team member).

    • suggested_namestring

      suggested: the proposed name.

    • candidate_contact_idstring | null

      suggested: the proposed contact, if any.

    • original_contactobject

      unlinked: the contact it was unlinked from.

      ›Show 7 fields
      • idstringRequired
      • namestringRequired
      • avatar_urlstring | nullRequired
      • accountstring | nullRequired

        The contact's company name.

      • job_titlestring | nullRequired
      • emailstring | nullRequired
      • linkedin_urlstring | nullRequired
    • anonymized_atstring

      anonymized: when the participant was hidden.

    • claimsobject[]Required

      Every live identity claim on the slot. Empty when anonymised.

      ›Show 8 fields
      • claim_idstringRequired
      • source_typestringRequired

        Who asserted it: calendar, transcript, gemini, user_link, …

      • namestring | nullRequired
      • emailstring | nullRequired
      • accountstring | nullRequired
      • contact_idstring | nullRequired

        The contact the claim points at, if matched.

      • confidencenumber | nullRequired
      • enrichment_onlybooleanRequired

        Enrichment that did not take part in the identity decision.

Request
curl -X GET https://api.krans.ai/v1/conversations/{id}/participants \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_conversation": {
    "id": "string"
  },
  "participants": [
    {
      "slot_id": "string",
      "speaker_id": "string",
      "label": "string",
      "kind": "confirmed",
      "contact": {
        "id": "string",
        "name": "string",
        "avatar_url": "string",
        "account": "string",
        "job_title": "string",
        "email": "string",
        "linkedin_url": "string"
      },
      "badge": "calendar",
      "suggested_name": "string",
      "candidate_contact_id": "string",
      "original_contact": {
        "id": "string",
        "name": "string",
        "avatar_url": "string",
        "account": "string",
        "job_title": "string",
        "email": "string",
        "linkedin_url": "string"
      },
      "anonymized_at": "string",
      "claims": [
        {}
      ]
    }
  ]
}

Rename a speaker on a call

patch /conversations/{id}/speakers/{speakerId}

contacts:writeMCP rename_speaker

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

Parameters

  • idstring (uuid)pathRequired

    Conversation id.

  • speakerIdstring (uuid)pathRequired

    Speaker id.

Body

  • display_namestring

    1 to 100 characters.

  • display_colorstring

    Hex colour from the speaker palette, e.g. #3B82F6.

Response 200

  • speakerobjectRequired
    ›Show 3 fields
    • id
    • display_name
    • display_color
Request
curl -X PATCH https://api.krans.ai/v1/conversations/{id}/speakers/{speakerId} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "display_name": "string",
  "display_color": "string"
}'
Response 200
{
  "speaker": {}
}

Remove a speaker from this call

delete /conversations/{id}/speakers/{speakerId}

contacts:writedestructiveMCP 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

  • idstring (uuid)pathRequired

    Conversation id.

  • speakerIdstring (uuid)pathRequired

    Speaker id.

Body

  • leave_unmappedboolean

    Default true.

  • reassign_to_speaker_idstring (uuid)

    Required when leave_unmapped is false. A speaker in the same venture.

Response 200

  • segments_reassignedintegerRequired

    Segments moved.

  • placeholder_speaker_idsstring (uuid)[]

    When left unmapped: the placeholder speakers that now hold the segments.

  • spoke_in_deletedbooleanRequired

    True when the speaker's link to the call was removed.

  • messagestringRequired

    What happened, in words.

Request
curl -X DELETE https://api.krans.ai/v1/conversations/{id}/speakers/{speakerId} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "leave_unmapped": true,
  "reassign_to_speaker_id": "00000000-0000-0000-0000-000000000000"
}'
Response 200
{
  "segments_reassigned": 0,
  "placeholder_speaker_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "spoke_in_deleted": true,
  "message": "string"
}

Move segments from one speaker to another

post /conversations/{id}/speakers/reassign

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

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • from_speaker_idstring (uuid)Required

    Speaker on this call whose segments move.

  • to_speaker_idstring (uuid)Required

    Contact in the venture that gets them. Must differ from from_speaker_id.

  • segment_idsstring (uuid)[]

    Only these segments. Default: all.

Response 200

  • segments_reassignedintegerRequired

    Segments moved.

Request
curl -X POST https://api.krans.ai/v1/conversations/{id}/speakers/reassign \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "from_speaker_id": "00000000-0000-0000-0000-000000000000",
  "to_speaker_id": "00000000-0000-0000-0000-000000000000",
  "segment_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Response 200
{
  "segments_reassigned": 0
}

Merge speakers on this call

post /conversations/{id}/speakers/merge

contacts:writedestructiveMCP 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

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • target_speaker_idstring (uuid)Required

    The speaker that keeps the segments.

  • source_speaker_idsstring (uuid)[]Required

    At least one; must not include the target.

Response 200

  • segments_reassignedintegerRequired

    Segments moved to the target.

  • speakers_mergedintegerRequired

    Sources folded in.

Request
curl -X POST https://api.krans.ai/v1/conversations/{id}/speakers/merge \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target_speaker_id": "00000000-0000-0000-0000-000000000000",
  "source_speaker_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Response 200
{
  "segments_reassigned": 0,
  "speakers_merged": 0
}

Undo a speaker merge on this call

post /conversations/{id}/speakers/unmerge

contacts:writeMCP 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

  • idstring (uuid)pathRequired

    Conversation id.

Body

  • speaker_idstring (uuid)Required

    The speaker that absorbed others.

Response 200

  • segments_restoredintegerRequired

    Segments given back.

  • speakers_restoredobject[]Required

    { id, name, display_name, display_color, avatar_url, is_unmapped, … } per restored speaker.

    ›Show 11 fields
    • idstringRequired
    • namestringRequired
    • display_namestring | nullRequired
    • display_colorstring | nullRequired
    • avatar_urlstring | nullRequired
    • is_unmappedboolean | nullRequired
    • job_titlestring | nullRequired
    • companystring | nullRequired
    • emailstring | nullRequired
    • linkedin_urlstring | nullRequired
    • affiliation_typestring | nullRequired
Request
curl -X POST https://api.krans.ai/v1/conversations/{id}/speakers/unmerge \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "speaker_id": "00000000-0000-0000-0000-000000000000"
}'
Response 200
{
  "segments_restored": 0,
  "speakers_restored": [
    {
      "id": "string",
      "name": "string",
      "display_name": "string",
      "display_color": "string",
      "avatar_url": "string",
      "is_unmapped": true,
      "job_title": "string",
      "company": "string",
      "email": "string",
      "linkedin_url": "string",
      "affiliation_type": "string"
    }
  ]
}

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 /contacts

contacts:readMCP 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_idstringquery

    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.

  • idsanyquery

    Comma-separated contact ids, up to 100. Fetch several records in one call.

  • updated_sincestring (date-time)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.

  • querystringquery

    Keyword over name, display name, email, job title, affiliation or the name of a linked account.

  • accountstringquery

    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_datestringquery

    Last contact on or after this date (ISO, e.g. 2026-01-01).

  • to_datestringquery

    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).

  • limitintegerquery

    Page size, 1 to 500. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • contactsobject[]Required

    { contact_id, name, role, account, affiliation, email, linkedin, confirmed_calls, last_contact, updated_at }

    ›Show 10 fields
    • contact_idstringRequired
    • namestringRequired

      Display name, else the name.

    • rolestring | nullRequired

      Job title.

    • accountstring | nullRequired

      First linked account's name.

    • affiliationstringRequired

      internal, external or unknown.

    • emailstring | nullRequired

      null for the placeholder addresses minted for unnamed speakers.

    • linkedinstring | nullRequired
    • confirmed_callsintegerRequired

      Reviewed calls they were confirmed on (the same count get_contact reports).

    • last_contactstring | nullRequired

      YYYY-MM-DD of the last call, or null.

    • updated_atstringRequired
  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/contacts \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "contacts": [
    {
      "contact_id": "string",
      "name": "string",
      "role": "string",
      "account": "string",
      "affiliation": "string",
      "email": "string",
      "linkedin": "string",
      "confirmed_calls": 0,
      "last_contact": "string",
      "updated_at": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Create a contact

post /contacts

contacts:writeMCP 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_idstringRequired

    Venture to add the contact to.

  • namestringRequired

    1 to 200 characters.

  • emailany

    Unique per venture.

  • companyany

    Free-text company label, up to 200. Link an account with set_contact_account.

  • job_titleany

    Up to 200.

  • phoneany

    Up to 50.

  • linkedin_urlany

    LinkedIn profile URL.

  • display_colorany

    Hex colour from the speaker palette. Random when omitted.

  • affiliation_typeany

    internal is your own team.

Response 201

  • contactobjectRequired

    { id, name, email, display_name, job_title, phone, linkedin_url, affiliation_type }

    ›Show 10 fields
    • idstringRequired
    • namestringRequired
    • emailstring | nullRequired
    • display_namestring | nullRequired
    • display_colorstring | nullRequired
    • companystring | nullRequired
    • job_titlestring | nullRequired
    • phonestring | nullRequired
    • linkedin_urlstring | nullRequired
    • affiliation_typestring | nullRequired
Request
curl -X POST https://api.krans.ai/v1/contacts \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "name": "string",
  "email": "string",
  "company": "string",
  "job_title": "string",
  "phone": "string",
  "linkedin_url": "string",
  "display_color": "string",
  "affiliation_type": "string"
}'
Response 201
{
  "contact": {
    "id": "string",
    "name": "string",
    "email": "string",
    "display_name": "string",
    "display_color": "string",
    "company": "string",
    "job_title": "string",
    "phone": "string",
    "linkedin_url": "string",
    "affiliation_type": "string"
  }
}

Get one contact

get /contacts/{id}

contacts:readMCP 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

  • idstring (uuid)pathRequired

    Contact id from search_contacts (or a contacts row of get_account).

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • merged_from_contact_idstring

    Present when the id you sent was merged into this one.

  • contactobjectRequired

    { contact_id, name, role, affiliation, email, linkedin, phone, accounts[] { account_id, name }, last_contact }

    ›Show 9 fields
    • contact_idstringRequired
    • namestringRequired
    • rolestring | nullRequired
    • affiliationstringRequired
    • emailstring | nullRequired
    • linkedinstring | nullRequired
    • phonestring | nullRequired
    • accountsobject[]Required
      ›Show 2 fields
      • account_idstringRequired
      • namestringRequired
    • last_contactstring | nullRequired
  • callsobject[]Required

    Confirmed calls, newest 50: { conversation_id, title, recorded_at }

    ›Show 3 fields
    • conversation_idstringRequired
    • titlestring | nullRequired
    • recorded_atstring | nullRequired
  • total_callsintegerRequired
  • calls_notestring

    Present when calls was cut.

  • unconfirmed_callsintegerRequired

    Calls they were only guessed to be on. Counted, never listed.

  • threadsobject[]Required

    Up to 25: { thread_id, account, pipeline, stage }

    ›Show 4 fields
    • thread_idstringRequired
    • accountstring | nullRequired
    • pipelinestring | nullRequired
    • stagestring | nullRequired
  • total_threadsintegerRequired
  • threads_notestring

    Present when threads was cut.

Request
curl -X GET https://api.krans.ai/v1/contacts/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "merged_from_contact_id": "string",
  "contact": {
    "contact_id": "string",
    "name": "string",
    "role": "string",
    "affiliation": "string",
    "email": "string",
    "linkedin": "string",
    "phone": "string",
    "accounts": [
      {
        "account_id": "string",
        "name": "string"
      }
    ],
    "last_contact": "string"
  },
  "calls": [
    {
      "conversation_id": "string",
      "title": "string",
      "recorded_at": "string"
    }
  ],
  "total_calls": 0,
  "calls_note": "string",
  "unconfirmed_calls": 0,
  "threads": [
    {
      "thread_id": "string",
      "account": "string",
      "pipeline": "string",
      "stage": "string"
    }
  ],
  "total_threads": 0,
  "threads_note": "string"
}

Edit a contact

patch /contacts/{id}

contacts:writeMCP 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

  • idstring (uuid)pathRequired

    Contact id.

Body

  • namestring
  • display_namestring
  • display_colorstring
  • notesstring
  • phonestring
  • companystring
  • job_titlestring
  • linkedin_urlstring
  • emailany
  • affiliation_type"internal" | "external" | "unknown"

Response 200

  • contactobjectRequired

    { id, name, email, display_name, job_title, phone, linkedin_url, affiliation_type }

    ›Show 10 fields
    • idstringRequired
    • namestringRequired
    • emailstring | nullRequired
    • display_namestring | nullRequired
    • display_colorstring | nullRequired
    • companystring | nullRequired
    • job_titlestring | nullRequired
    • phonestring | nullRequired
    • linkedin_urlstring | nullRequired
    • affiliation_typestring | nullRequired
Request
curl -X PATCH https://api.krans.ai/v1/contacts/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "display_name": "string",
  "display_color": "string",
  "notes": "string",
  "phone": "string",
  "company": "string",
  "job_title": "string",
  "linkedin_url": "string",
  "email": "string",
  "affiliation_type": "internal"
}'
Response 200
{
  "contact": {
    "id": "string",
    "name": "string",
    "email": "string",
    "display_name": "string",
    "display_color": "string",
    "company": "string",
    "job_title": "string",
    "phone": "string",
    "linkedin_url": "string",
    "affiliation_type": "string"
  }
}

Delete a contact

delete /contacts/{id}

contacts:writedestructiveMCP delete_contact

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

Parameters

  • idstring (uuid)pathRequired

    Contact id.

Response 200

  • idstringRequired

    Deleted contact id.

  • deletedbooleanRequired

    Always true.

Request
curl -X DELETE https://api.krans.ai/v1/contacts/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "string",
  "deleted": true
}

List learnings from a contact's calls

get /contacts/{id}/learnings

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

Parameters

  • idstring (uuid)pathRequired

    Contact id.

  • limitintegerquery

    Page size, 1 to 50. Default 12.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • learningsobject[]Required

    { id, conversation_id, learning_type, description, evidence_tier (E0 to E5), evidence_confidence (null = not scored), created_at }

    ›Show 7 fields
    • idstringRequired
    • conversation_idstringRequired
    • learning_typestringRequired
    • descriptionstring | nullRequired
    • evidence_tierstring | nullRequired

      E0 to E5.

    • evidence_confidencenumber | nullRequired
    • created_atstringRequired
  • totalintegerRequired

    All learnings for this contact.

Request
curl -X GET https://api.krans.ai/v1/contacts/{id}/learnings \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "learnings": [
    {
      "id": "string",
      "conversation_id": "string",
      "learning_type": "string",
      "description": "string",
      "evidence_tier": "string",
      "evidence_confidence": 0,
      "created_at": "string"
    }
  ],
  "total": 0
}

Edit many contacts at once

post /contacts/bulk-update

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_idstring

    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.

  • updatesobject[]Required

    1 to 100 items { id, changes, avatar_url? }, each contact id at most once.

    ›Show 3 fields
    • idstring (uuid)Required

      Contact id.

    • changesobject

      The same fields update_contact takes; only the ones you send change. An empty email clears it.

      ›Show 10 fields
      • namestring
      • display_namestring
      • display_colorstring
      • notesstring
      • phonestring
      • companystring
      • job_titlestring
      • linkedin_urlstring
      • emailany
      • affiliation_type"internal" | "external" | "unknown"
    • avatar_urlstring (uri)

      Optional https image URL (PNG, JPEG, WebP or GIF, at most 5 MB) to store as the contact's photo.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • updatedobject[]Required

    Contacts that were changed.

    ›Show 1 fields
    • idstringRequired
  • failedobject[]Required

    Contacts that were not changed, with why.

    ›Show 3 fields
    • idstringRequired
    • codestringRequired

      The error code update_contact would answer, e.g. not_found, email_taken.

    • errorstringRequired
Request
curl -X POST https://api.krans.ai/v1/contacts/bulk-update \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "updates": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "changes": {
        "name": "string",
        "display_name": "string",
        "display_color": "string",
        "notes": "string",
        "phone": "string",
        "company": "string",
        "job_title": "string",
        "linkedin_url": "string",
        "email": "string",
        "affiliation_type": "internal"
      },
      "avatar_url": "string"
    }
  ]
}'
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "updated": [
    {
      "id": "string"
    }
  ],
  "failed": [
    {
      "id": "string",
      "code": "string",
      "error": "string"
    }
  ]
}

Set a contact's photo from an image URL

put /contacts/{id}/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

  • idstring (uuid)pathRequired

    Contact id.

Body

  • image_urlstring (uri)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_idstringRequired
  • avatar_urlstringRequired

    The stored photo's public URL.

Request
curl -X PUT https://api.krans.ai/v1/contacts/{id}/avatar \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "image_url": "string"
}'
Response 200
{
  "contact_id": "string",
  "avatar_url": "string"
}

Link a contact to an account

put /contacts/{id}/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

  • idstring (uuid)pathRequired

    Contact id.

Body

  • account_idstring (uuid)Required

    Account in the same venture.

  • job_titlestring

    Their title at that account, up to 200.

Response 200

  • contact_idstringRequired
  • accountobjectRequired

    { id, name }

    ›Show 2 fields
    • idstringRequired
    • namestringRequired
  • propagation_failedbooleanRequired

    True when the link was saved but copying the account onto the contact's calls failed.

Request
curl -X PUT https://api.krans.ai/v1/contacts/{id}/account \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "00000000-0000-0000-0000-000000000000",
  "job_title": "string"
}'
Response 200
{
  "contact_id": "string",
  "account": {
    "id": "string",
    "name": "string"
  },
  "propagation_failed": true
}

Unlink a contact from its account

delete /contacts/{id}/account

Parameters

  • idstring (uuid)pathRequired

    Contact id.

Response 200

  • contact_idstringRequired
Request
curl -X DELETE https://api.krans.ai/v1/contacts/{id}/account \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "contact_id": "string"
}

Merge contacts

post /contacts/merge

contacts:writedestructiveMCP 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_idstringRequired

    Venture the contacts belong to.

  • target_contact_idstring (uuid)Required

    The contact that survives.

  • source_contact_idsstring (uuid)[]Required

    At least one; not the target.

  • field_overridesobject

    Field values to keep on the target, e.g. { "email": "…" }.

Response 200

  • merged_countintegerRequired
  • conversations_updatedintegerRequired
  • segments_reassignedintegerRequired
  • target_contactobjectRequired

    { id, name, displayName }

    ›Show 3 fields
    • idstringRequired
    • namestringRequired
    • displayNamestring | nullRequired
Request
curl -X POST https://api.krans.ai/v1/contacts/merge \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "target_contact_id": "00000000-0000-0000-0000-000000000000",
  "source_contact_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "field_overrides": {}
}'
Response 200
{
  "merged_count": 0,
  "conversations_updated": 0,
  "segments_reassigned": 0,
  "target_contact": {
    "id": "string",
    "name": "string",
    "displayName": "string"
  }
}

List contact lists

get /contact-lists

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

Parameters

  • venture_idstringquery

    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

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • listsobject[]Required

    { id, name, icon, member_count, created_at }

    ›Show 5 fields
    • idstringRequired
    • namestringRequired
    • iconstring | nullRequired
    • member_countintegerRequired
    • created_atstringRequired
Request
curl -X GET https://api.krans.ai/v1/contact-lists \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "lists": [
    {
      "id": "string",
      "name": "string",
      "icon": "string",
      "member_count": 0,
      "created_at": "string"
    }
  ]
}

Create a contact list

post /contact-lists

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

Body

  • venture_idstringRequired

    Venture for the list.

  • namestringRequired

    1 to 120 characters, trimmed.

  • contact_idsstring (uuid)[]

    Initial members, up to 500 contact ids.

Response 201

  • listobjectRequired

    { id, name, member_count }

    ›Show 3 fields
    • idstringRequired
    • namestringRequired
    • member_countintegerRequired
Request
curl -X POST https://api.krans.ai/v1/contact-lists \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "name": "string",
  "contact_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Response 201
{
  "list": {
    "id": "string",
    "name": "string",
    "member_count": 0
  }
}

Rename a contact list or change its icon

patch /contact-lists/{id}

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

Parameters

  • idstring (uuid)pathRequired

    Contact list id.

Body

  • namestring

    1 to 120 characters, trimmed.

  • iconany

    Icon key, or null to clear.

Response 200

  • listobjectRequired

    { id, name, icon }

    ›Show 3 fields
    • idstringRequired
    • namestringRequired
    • iconstring | nullRequired
Request
curl -X PATCH https://api.krans.ai/v1/contact-lists/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "icon": "string"
}'
Response 200
{
  "list": {
    "id": "string",
    "name": "string",
    "icon": "string"
  }
}

Delete a contact list

delete /contact-lists/{id}

contacts:writedestructiveMCP delete_contact_list

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

Parameters

  • idstring (uuid)pathRequired

    Contact list id.

Response 200

  • idstringRequired

    Deleted list id.

  • deletedbooleanRequired

    Always true.

Request
curl -X DELETE https://api.krans.ai/v1/contact-lists/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "string",
  "deleted": true
}

Add members to a contact list

post /contact-lists/{id}/members

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

  • idstring (uuid)pathRequired

    Contact list id.

Body

  • contact_idsanyRequired

    1 to 500 contact ids.

Response 200

  • addedintegerRequired

    Members added or restored (valid ids sent).

Request
curl -X POST https://api.krans.ai/v1/contact-lists/{id}/members \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contact_ids": "string"
}'
Response 200
{
  "added": 0
}

Remove members from a contact list

delete /contact-lists/{id}/members

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

Parameters

  • idstring (uuid)pathRequired

    Contact list id.

Body

  • contact_idsanyRequired

    1 to 500 contact ids (body array, or comma-separated).

Response 200

  • removedintegerRequired

    Members removed.

Request
curl -X DELETE https://api.krans.ai/v1/contact-lists/{id}/members \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contact_ids": "string"
}'
Response 200
{
  "removed": 0
}

Accounts

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

Search accounts

get /accounts

accounts:readMCP 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_idstringquery

    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.

  • idsanyquery

    Comma-separated account ids, up to 100. Fetch several records in one call.

  • querystringquery

    Keyword over account name or domain.

  • industrystringquery

    Industry keyword.

  • has_threadanyquery

    true: only accounts with a classified thread. false: only without.

  • has_dealanyquery

    Old name of has_thread (search_companies). has_thread wins when both are sent.

  • updated_sincestringquery

    Only accounts changed at or after this time. Use for incremental sync.

  • from_datestringquery

    Only accounts created on or after this date.

  • to_datestringquery

    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.

  • limitintegerquery

    Page size, 1 to 500. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • accountsobject[]Required
    ›Show 11 fields
    • account_idstringRequired
    • namestringRequired
    • domainstring | nullRequired
    • industrystring | nullRequired
    • sizestring | nullRequired
    • locationstring | nullRequired
    • website_urlstring | nullRequired
    • contactsintegerRequired

      Contacts linked to the account (the ones search_contacts lists).

    • threadsintegerRequired

      Classified threads (deals on the ladder) with this account as primary.

    • created_atstringRequired
    • updated_atstringRequired
  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/accounts \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "accounts": [
    {
      "account_id": "string",
      "name": "string",
      "domain": "string",
      "industry": "string",
      "size": "string",
      "location": "string",
      "website_url": "string",
      "contacts": 0,
      "threads": 0,
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Create an account

post /accounts

accounts:writeMCP 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_idstringRequired

    Workspace for the account.

  • namestringRequired

    1 to 200 characters.

  • domainany

    Unique per venture, e.g. acme.com.

  • website_urlany

    Up to 500 characters.

  • industryany

    Up to 100 characters.

  • account_typeany

    Free text segment, e.g. startup, smb, enterprise.

  • sizeany

    Free text, e.g. 11-50.

  • founded_yearany

    1800 to 2100.

  • locationany

    Up to 200 characters.

  • descriptionany

    Notes, up to 2000 characters.

  • linkedin_urlany

    Up to 500 characters.

  • venture_roleany

    How this account relates to the venture: customer, service_provider, competitor, partner or unknown. Stored lowercase.

  • venture_role_reasonany

    One line on why, up to 500 characters.

Response 201

  • accountobjectRequired

    The created account.

    ›Show 19 fields
    • account_idstringRequired
    • venture_idstringRequired
    • namestringRequired
    • domainstring | nullRequired
    • website_urlstring | nullRequired
    • industrystring | nullRequired
    • logo_urlstring | nullRequired
    • account_typestring | nullRequired

      Segment, e.g. startup, smb, enterprise.

    • sizestring | nullRequired
    • founded_yearanyRequired
    • locationstring | nullRequired
    • descriptionstring | nullRequired
    • linkedin_urlstring | nullRequired
    • funding_stagestring | nullRequired
    • venture_rolestring | nullRequired

      How the account relates to the venture.

    • venture_role_sourcestring | nullRequired

      human or ai.

    • venture_role_reasonstring | nullRequired
    • created_atstringRequired
    • updated_atstringRequired
Request
curl -X POST https://api.krans.ai/v1/accounts \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "name": "string",
  "domain": "string",
  "website_url": "string",
  "industry": "string",
  "account_type": "string",
  "size": "string",
  "founded_year": "string",
  "location": "string",
  "description": "string",
  "linkedin_url": "string",
  "venture_role": "string",
  "venture_role_reason": "string"
}'
Response 201
{
  "account": {
    "account_id": "string",
    "venture_id": "string",
    "name": "string",
    "domain": "string",
    "website_url": "string",
    "industry": "string",
    "logo_url": "string",
    "account_type": "string",
    "size": "string",
    "founded_year": "string",
    "location": "string",
    "description": "string",
    "linkedin_url": "string",
    "funding_stage": "string",
    "venture_role": "string",
    "venture_role_source": "string",
    "venture_role_reason": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}

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

get /accounts/{id}

accounts:readMCP 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

  • idstring (uuid)pathRequired

    Account id, from search_accounts.

Response 200

  • _ventureobjectRequired
    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • merged_from_account_idstring

    The id you asked for, when it was merged into this account.

  • accountobjectRequired
    ›Show 9 fields
    • account_idstringRequired
    • namestringRequired
    • domainstring | nullRequired
    • website_urlstring | nullRequired
    • industrystring | nullRequired
    • sizestring | nullRequired
    • locationstring | nullRequired
    • funding_stagestring | nullRequired
    • notesstring | nullRequired
  • threadsobject[]Required

    Up to 25: { thread_id, pipeline, stage, close_probability_pct, owner, call_count, last_call }

  • total_threadsintegerRequired
  • threads_notestring
  • contactsobject[]Required

    Up to 40: { contact_id, name, role }

  • total_contactsintegerRequired
  • contacts_notestring
  • callsobject[]Required

    Up to 40: { conversation_id, title, recorded_at }

  • total_callsintegerRequired
  • calls_notestring
  • signalsobject[]Required

    Up to 20: { signal_id, type, status, confidence, description, calls_on_this_account }

  • total_signalsintegerRequired
  • signals_notestring
Request
curl -X GET https://api.krans.ai/v1/accounts/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "merged_from_account_id": "string",
  "account": {
    "account_id": "string",
    "name": "string",
    "domain": "string",
    "website_url": "string",
    "industry": "string",
    "size": "string",
    "location": "string",
    "funding_stage": "string",
    "notes": "string"
  },
  "threads": [
    {}
  ],
  "total_threads": 0,
  "threads_note": "string",
  "contacts": [
    {}
  ],
  "total_contacts": 0,
  "contacts_note": "string",
  "calls": [
    {}
  ],
  "total_calls": 0,
  "calls_note": "string",
  "signals": [
    {}
  ],
  "total_signals": 0,
  "signals_note": "string"
}

Update an account

patch /accounts/{id}

accounts:writeMCP 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

  • idstring (uuid)pathRequired

    Account id.

Body

  • namestring

    1 to 200 characters.

  • domainany

    Unique per venture, e.g. acme.com.

  • website_urlany

    Up to 500 characters.

  • industryany

    Up to 100 characters.

  • account_typeany

    Free text segment, e.g. startup, smb, enterprise.

  • sizeany

    Free text, e.g. 11-50.

  • founded_yearany

    1800 to 2100.

  • locationany

    Up to 200 characters.

  • descriptionany

    Notes, up to 2000 characters.

  • linkedin_urlany

    Up to 500 characters.

  • funding_stageany

    Free text, e.g. Seed, Series A.

  • venture_roleany

    How this account relates to the venture: customer, service_provider, competitor, partner or unknown. Stored lowercase.

  • venture_role_reasonany

    One line on why, up to 500 characters.

Response 200

  • accountobjectRequired

    The updated account.

    ›Show 19 fields
    • account_idstringRequired
    • venture_idstringRequired
    • namestringRequired
    • domainstring | nullRequired
    • website_urlstring | nullRequired
    • industrystring | nullRequired
    • logo_urlstring | nullRequired
    • account_typestring | nullRequired

      Segment, e.g. startup, smb, enterprise.

    • sizestring | nullRequired
    • founded_yearanyRequired
    • locationstring | nullRequired
    • descriptionstring | nullRequired
    • linkedin_urlstring | nullRequired
    • funding_stagestring | nullRequired
    • venture_rolestring | nullRequired

      How the account relates to the venture.

    • venture_role_sourcestring | nullRequired

      human or ai.

    • venture_role_reasonstring | nullRequired
    • created_atstringRequired
    • updated_atstringRequired
Request
curl -X PATCH https://api.krans.ai/v1/accounts/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "domain": "string",
  "website_url": "string",
  "industry": "string",
  "account_type": "string",
  "size": "string",
  "founded_year": "string",
  "location": "string",
  "description": "string",
  "linkedin_url": "string",
  "funding_stage": "string",
  "venture_role": "string",
  "venture_role_reason": "string"
}'
Response 200
{
  "account": {
    "account_id": "string",
    "venture_id": "string",
    "name": "string",
    "domain": "string",
    "website_url": "string",
    "industry": "string",
    "logo_url": "string",
    "account_type": "string",
    "size": "string",
    "founded_year": "string",
    "location": "string",
    "description": "string",
    "linkedin_url": "string",
    "funding_stage": "string",
    "venture_role": "string",
    "venture_role_source": "string",
    "venture_role_reason": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}

Delete an account

delete /accounts/{id}

accounts:writedestructiveMCP delete_account

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

Parameters

  • idstring (uuid)pathRequired

    Account id.

Response 200

  • idstringRequired

    Deleted account id.

  • deletedbooleanRequired

    Always true.

Request
curl -X DELETE https://api.krans.ai/v1/accounts/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "string",
  "deleted": true
}

List learnings from an account's calls

get /accounts/{id}/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

  • idstring (uuid)pathRequired

    Account id, from search_accounts.

  • limitintegerquery

    Page size, 1 to 50. Default 12.

Response 200

  • learningsobject[]Required
    ›Show 7 fields
    • idstringRequired
    • conversation_idstringRequired
    • learning_typestringRequired
    • descriptionstringRequired
    • evidence_tierstringRequired

      E0 to E5.

    • evidence_confidencenumber | nullRequired
    • created_atstringRequired
  • totalintegerRequired

    All learnings for this account.

Request
curl -X GET https://api.krans.ai/v1/accounts/{id}/learnings \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "learnings": [
    {
      "id": "string",
      "conversation_id": "string",
      "learning_type": "string",
      "description": "string",
      "evidence_tier": "string",
      "evidence_confidence": 0,
      "created_at": "string"
    }
  ],
  "total": 0
}

Merge accounts

post /accounts/merge

accounts:writedestructiveMCP 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_idstringRequired

    Workspace of every account involved.

  • target_account_idstring (uuid)Required

    The account that is kept.

  • source_account_idsstring (uuid)[]Required

    1 to 50 account ids merged into the target; not the target.

  • field_overridesobject

    Values the merged account keeps. Keys: name, domain, industry, account_type, location, size, website_url, linkedin_url, description, founded_year.

Response 200

  • sources_mergedintegerRequired
  • contacts_transferredintegerRequired

    Contact links moved to the target.

  • conversations_updatedintegerRequired
  • threads_updatedintegerRequired
  • target_accountobjectRequired
    ›Show 2 fields
    • idstringRequired
    • namestringRequired
Request
curl -X POST https://api.krans.ai/v1/accounts/merge \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "target_account_id": "00000000-0000-0000-0000-000000000000",
  "source_account_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "field_overrides": {}
}'
Response 200
{
  "sources_merged": 0,
  "contacts_transferred": 0,
  "conversations_updated": 0,
  "threads_updated": 0,
  "target_account": {
    "id": "string",
    "name": "string"
  }
}

List account lists

get /account-lists

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

Parameters

  • venture_idstringquery

    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

  • listsobject[]Required
    ›Show 5 fields
    • idstringRequired
    • namestringRequired
    • iconstring | nullRequired

      Icon key; null = the default icon.

    • member_countintegerRequired
    • created_atstringRequired
Request
curl -X GET https://api.krans.ai/v1/account-lists \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "lists": [
    {
      "id": "string",
      "name": "string",
      "icon": "string",
      "member_count": 0,
      "created_at": "string"
    }
  ]
}

Create an account list

post /account-lists

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_idstringRequired

    Workspace for the list.

  • namestringRequired

    1 to 120 characters, trimmed.

  • account_idsstring (uuid)[]

    Initial members, up to 500 account ids.

Response 201

  • listobjectRequired
    ›Show 3 fields
    • idstringRequired
    • namestringRequired
    • member_countintegerRequired
Request
curl -X POST https://api.krans.ai/v1/account-lists \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "name": "string",
  "account_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Response 201
{
  "list": {
    "id": "string",
    "name": "string",
    "member_count": 0
  }
}

Rename an account list or change its icon

patch /account-lists/{id}

Parameters

  • idstringpathRequired

    Account list id.

Body

  • namestring

    1 to 120 characters.

  • iconany

    Icon key, or null for the default icon.

Response 200

  • listobjectRequired
    ›Show 3 fields
    • idstringRequired
    • namestringRequired
    • iconstring | nullRequired
Request
curl -X PATCH https://api.krans.ai/v1/account-lists/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "icon": "string"
}'
Response 200
{
  "list": {
    "id": "string",
    "name": "string",
    "icon": "string"
  }
}

Delete an account list

delete /account-lists/{id}

accounts:writedestructiveMCP delete_account_list

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

Parameters

  • idstringpathRequired

    Account list id.

Response 200

  • idstringRequired

    Deleted list id.

  • deletedbooleanRequired

    Always true.

Request
curl -X DELETE https://api.krans.ai/v1/account-lists/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "id": "string",
  "deleted": true
}

Add accounts to an account list

post /account-lists/{id}/members

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

  • idstringpathRequired

    Account list id.

Body

  • account_idsstring (uuid)[]Required

    1 to 500 account ids.

Response 200

  • addedintegerRequired

    Valid accounts now on the list (added, restored or already there).

Request
curl -X POST https://api.krans.ai/v1/account-lists/{id}/members \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "account_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Response 200
{
  "added": 0
}

Remove accounts from an account list

delete /account-lists/{id}/members

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

Parameters

  • idstringpathRequired

    Account list id.

Body

  • account_idsstring (uuid)[]Required

    1 to 500 account ids.

Response 200

  • removedintegerRequired

    Members removed.

Request
curl -X DELETE https://api.krans.ai/v1/account-lists/{id}/members \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "account_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Response 200
{
  "removed": 0
}

Threads

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

Search the thread board

get /threads

threads:readMCP 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_idstringquery

    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.

  • idsanyquery

    Comma-separated thread ids, up to 100. Fetch several records in one call.

  • updated_sincestring (date-time)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.

  • accountstringquery

    Account name or thread title keyword.

  • pipelinestringquery

    Track: deals, customer_success, investment, partnership, recruitment, research, connector, other (case-insensitive).

  • stagestringquery

    Stage within the track, e.g. discovery, negotiation, pilot (case-insensitive).

  • owner"assigned" | "unassigned"query

    Only threads with or without an owner.

  • from_datestringquery

    Last call on or after this date (YYYY-MM-DD).

  • to_datestringquery

    Last call on or before this date; a bare date includes the whole day.

  • include_unclassifiedanyquery

    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.

  • limitintegerquery

    Page size, 1 to 100. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • threadsobject[]Required

    { thread_id, account, account_id, pipeline, stage, call_count, first_call, last_call, owner, close_probability_pct, open_recommendations, top_recommendation, updated_at }

    ›Show 13 fields
    • thread_idstringRequired
    • accountstring | nullRequired

      The account's name, else the thread title.

    • account_idstring | nullRequired
    • pipelinestring | nullRequired
    • stagestring | nullRequired
    • call_countintegerRequired
    • first_callstring | nullRequired

      YYYY-MM-DD.

    • last_callstring | nullRequired

      YYYY-MM-DD.

    • ownerstring | nullRequired
    • close_probability_pctanyRequired
    • open_recommendationsintegerRequired
    • top_recommendationstring | nullRequired
    • updated_atstringRequired
  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/threads \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "threads": [
    {
      "thread_id": "string",
      "account": "string",
      "account_id": "string",
      "pipeline": "string",
      "stage": "string",
      "call_count": 0,
      "first_call": "string",
      "last_call": "string",
      "owner": "string",
      "close_probability_pct": "string",
      "open_recommendations": 0,
      "top_recommendation": "string",
      "updated_at": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Get one thread

get /threads/{id}

threads:readMCP 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

  • idstring (uuid)pathRequired

    Thread id, from GET /threads.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • threadobjectRequired

    { thread_id, title, synopsis, account, account_id, pipeline, stage, owner, first_call, last_call }

    ›Show 10 fields
    • thread_idstringRequired
    • titlestring | nullRequired
    • synopsisstring | nullRequired
    • accountstring | nullRequired
    • account_idstring | nullRequired
    • pipelinestring | nullRequired
    • stagestring | nullRequired
    • ownerstring | nullRequired
    • first_callstring | nullRequired
    • last_callstring | nullRequired
  • intelligenceanyRequired

    Cached deal intelligence. Budget and price quotes need transcripts.

  • intelligence_notestring

    Present when no intelligence has been computed yet.

  • callsobject[]Required

    Newest 50: { conversation_id, title, recorded_at, membership, why_matched }

    ›Show 5 fields
    • conversation_idstringRequired
    • titlestring | nullRequired
    • recorded_atstring | nullRequired
    • membershipstringRequired

      confirmed or suggested.

    • why_matchedstring | nullRequired
  • total_callsintegerRequired
  • calls_notestring
  • recommendationsobject[]Required

    Up to 15: { recommendation_id, rank, title, recommendation, rationale, state }

    ›Show 6 fields
    • recommendation_idstringRequired
    • ranknumber | nullRequired
    • titlestring | nullRequired
    • recommendationstring | nullRequired
    • rationalestring | nullRequired
    • statestringRequired
  • total_recommendationsintegerRequired
  • recommendations_notestring
  • activityobject[]Required

    Newest 30: { at, kind, summary, metric?, delta? }

    ›Show 5 fields
    • atstring | nullRequired
    • kindstringRequired
    • summarystringRequired
    • metricstring
    • deltanumber | null
  • total_activityintegerRequired
  • activity_notestring
Request
curl -X GET https://api.krans.ai/v1/threads/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "thread": {
    "thread_id": "string",
    "title": "string",
    "synopsis": "string",
    "account": "string",
    "account_id": "string",
    "pipeline": "string",
    "stage": "string",
    "owner": "string",
    "first_call": "string",
    "last_call": "string"
  },
  "intelligence": "string",
  "intelligence_note": "string",
  "calls": [
    {
      "conversation_id": "string",
      "title": "string",
      "recorded_at": "string",
      "membership": "string",
      "why_matched": "string"
    }
  ],
  "total_calls": 0,
  "calls_note": "string",
  "recommendations": [
    {
      "recommendation_id": "string",
      "rank": 0,
      "title": "string",
      "recommendation": "string",
      "rationale": "string",
      "state": "string"
    }
  ],
  "total_recommendations": 0,
  "recommendations_note": "string",
  "activity": [
    {
      "at": "string",
      "kind": "string",
      "summary": "string",
      "metric": "string",
      "delta": 0
    }
  ],
  "total_activity": 0,
  "activity_note": "string"
}

Change a thread's stage or owner

patch /threads/{id}

threads:writeMCP 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

  • idstring (uuid)pathRequired

    Thread id.

Body

  • venture_idstring

    Optional. When sent, the thread must belong to this venture.

  • stagestring

    A stage of the thread's pipeline, e.g. pilot.

  • owner_user_idany

    An active member of the venture, or null to clear the owner.

Response 200

  • thread_idstring (uuid)Required
  • stagestring

    The saved stage, when stage was sent.

  • owner_user_idany

    The saved owner, when owner_user_id was sent.

Request
curl -X PATCH https://api.krans.ai/v1/threads/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "venture_id": "string",
  "stage": "string",
  "owner_user_id": "string"
}'
Response 200
{
  "thread_id": "00000000-0000-0000-0000-000000000000",
  "stage": "string",
  "owner_user_id": "string"
}

Learnings per call along a thread

get /threads/{id}/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

  • idstring (uuid)pathRequired

    Thread id, from GET /threads.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • accountanyRequired

    of the thread's account.

    ›Show 1 fields
    • name
  • reportsobject[]Required

    Oldest first: { conversation { id, title, recorded_at, summary }, learnings[], story }

    ›Show 3 fields
    • conversationobjectRequired
      ›Show 4 fields
      • idstringRequired
      • titlestringRequired
      • recorded_atstring | nullRequired
      • summarystring | nullRequired
    • learningsobject[]Required
      ›Show 5 fields
      • idstringRequired
      • typestringRequired
      • descriptionstringRequired
      • evidence_tierstring | nullRequired
      • confidencenumber | nullRequired
    • storystring | nullRequired
Request
curl -X GET https://api.krans.ai/v1/threads/{id}/learnings \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "account": "string",
  "reports": [
    {
      "conversation": {
        "id": "string",
        "title": "string",
        "recorded_at": "string",
        "summary": "string"
      },
      "learnings": [
        {}
      ],
      "story": "string"
    }
  ]
}

Signals

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

List signals

get /signals

signals:readMCP 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_idstringquery

    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.

  • idsanyquery

    Comma-separated signal ids, up to 100. Fetch several records in one call.

  • updated_sincestring (date-time)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_typestringquery

    e.g. pain_point, workflow, objection.

  • status"candidate" | "emerging" | "validated" | "decision_grade"query

    Promotion status.

  • from_datestringquery

    Created on or after this date (YYYY-MM-DD).

  • to_datestringquery

    Created on or before this date; a bare date includes the whole day.

  • include_learningsanyquery

    Inline up to 10 deduped source learnings per signal. Default false.

  • limitintegerquery

    Page size, 1 to 100. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • signalsobject[]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 }

    ›Show 14 fields
    • idstringRequired
    • signal_typestringRequired
    • descriptionstring | nullRequired
    • statusstringRequired
    • confidencenumber | nullRequired
    • evidence_summaryanyRequired
    • learning_countintegerRequired

      Distinct live source learnings.

    • datestring

      When the signal was first created.

    • promoted_atstring
    • last_updated_atstring
    • last_evidence_datestring
    • updated_atstringRequired
    • learningsobject[]

      With include_learnings: up to 10, deduped.

      ›Show 8 fields
      • idstring
      • descriptionstring | null
      • typestring | null
      • evidence_tierstring | null
      • confidencenumber | null
      • similarity_scorenumber | nullRequired
      • conversation_idstring | nullRequired
      • datestring
    • learnings_truncatedboolean
  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

  • notestringRequired

    How to get more detail.

Request
curl -X GET https://api.krans.ai/v1/signals \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "signals": [
    {
      "id": "string",
      "signal_type": "string",
      "description": "string",
      "status": "string",
      "confidence": 0,
      "evidence_summary": "string",
      "learning_count": 0,
      "date": "string",
      "promoted_at": "string",
      "last_updated_at": "string",
      "last_evidence_date": "string",
      "updated_at": "string",
      "learnings": [
        {}
      ],
      "learnings_truncated": true
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string",
  "note": "string"
}

Weekly timeline of all signals

get /signals/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_idstringquery

    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

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • weeksstring[]Required

    Monday dates (UTC), oldest first, up to 156.

  • callsinteger[]Required

    Calls per week.

  • signalsobjectRequired
    ›Show 1 fields
    • <signal_id>: { m, sg, co, n0 }
Request
curl -X GET https://api.krans.ai/v1/signals/timeline \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "weeks": [
    "string"
  ],
  "calls": [
    0
  ],
  "signals": {}
}

Get one signal with evidence

get /signals/{id}

signals:readMCP 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

  • idstring (uuid)pathRequired

    Signal id, from GET /signals.

  • quotes"top" | "all"query

    top (default): 3 quotes. all: up to 500.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • signalobjectRequired

    { id, venture_id, signal_type, description, status, confidence, evidence_summary, promoted_at, last_updated_at, last_evidence_date }

    ›Show 10 fields
    • idstringRequired
    • venture_idstringRequired
    • signal_typestringRequired
    • descriptionstringRequired
    • statusstringRequired
    • confidencenumber | nullRequired
    • evidence_summaryanyRequired
    • promoted_atstring | nullRequired
    • last_updated_atstringRequired
    • last_evidence_datestring | nullRequired
  • accountsobject[]Required

    { account_id, account_name, venture_role, conversations[] { conversation_id, title, date, evidence_tier, confidence } }

    ›Show 4 fields
    • account_idstring | nullRequired
    • account_namestringRequired
    • venture_rolestring | nullRequired

      e.g. customer, service_provider, competitor.

    • conversationsobject[]Required
      ›Show 5 fields
      • conversation_idstringRequired
      • titlestringRequired
      • datestringRequired
      • evidence_tierstringRequired
      • confidencenumberRequired
  • top_quotesobject[]Required

    { quote, evidence_tier, account_name, speaker_name, conversation_id, timestamp_ms, recorded_at }

    ›Show 7 fields
    • quotestring

      Needs transcripts.

    • evidence_tierstringRequired
    • account_namestringRequired
    • speaker_namestring | nullRequired
    • conversation_idstring | nullRequired
    • timestamp_msnumber | nullRequired
    • recorded_atstring | nullRequired
  • timelineobject[]Required

    Promotion history, oldest first: { action, previous_status, new_status, reason, created_at }

    ›Show 5 fields
    • actionstringRequired
    • previous_statusstring | nullRequired
    • new_statusstring | nullRequired
    • reasonstring | nullRequired
    • created_atstringRequired
Request
curl -X GET https://api.krans.ai/v1/signals/{id} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "signal": {
    "id": "string",
    "venture_id": "string",
    "signal_type": "string",
    "description": "string",
    "status": "string",
    "confidence": 0,
    "evidence_summary": "string",
    "promoted_at": "string",
    "last_updated_at": "string",
    "last_evidence_date": "string"
  },
  "accounts": [
    {
      "account_id": "string",
      "account_name": "string",
      "venture_role": "string",
      "conversations": [
        {}
      ]
    }
  ],
  "top_quotes": [
    {
      "quote": "string",
      "evidence_tier": "string",
      "account_name": "string",
      "speaker_name": "string",
      "conversation_id": "string",
      "timestamp_ms": 0,
      "recorded_at": "string"
    }
  ],
  "timeline": [
    {
      "action": "string",
      "previous_status": "string",
      "new_status": "string",
      "reason": "string",
      "created_at": "string"
    }
  ]
}

Page through a signal's source learnings

get /signals/{id}/learnings

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

Parameters

  • idstring (uuid)pathRequired

    Signal id, from GET /signals.

  • limitintegerquery

    Page size, 1 to 100. Default 20.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • learningsobject[]Required

    { id, description, type, evidence_tier, confidence, similarity_score, conversation_id, date }

    ›Show 8 fields
    • idstring
    • descriptionstring | null
    • typestring | null
    • evidence_tierstring | null
    • confidencenumber | null
    • similarity_scorenumber | nullRequired
    • conversation_idstring | nullRequired
    • datestring
  • totalintegerRequired

    Items matching, across all pages.

  • limitintegerRequired

    Page size used.

  • offsetintegerRequired

    Offset used.

  • has_morebooleanRequired

    True when another page exists.

  • next_cursorstring | nullRequired

    Pass as cursor to get the next page. null on the last page.

Request
curl -X GET https://api.krans.ai/v1/signals/{id}/learnings \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "learnings": [
    {
      "id": "string",
      "description": "string",
      "type": "string",
      "evidence_tier": "string",
      "confidence": 0,
      "similarity_score": 0,
      "conversation_id": "string",
      "date": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string"
}

Context

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

List compiled context classes

get /context

context:readMCP 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_idstringquery

    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

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • contextobject[]Required

    { class, entity_kind, count, last_compiled_at }. No bodies.

    ›Show 4 fields
    • classstringRequired
    • entity_kindstringRequired
    • countintegerRequired
    • last_compiled_atstring | nullRequired
  • totalintegerRequired

    Number of entries listed.

  • notestringRequired
Request
curl -X GET https://api.krans.ai/v1/context \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "context": [
    {
      "class": "string",
      "entity_kind": "string",
      "count": 0,
      "last_compiled_at": "string"
    }
  ],
  "total": 0,
  "note": "string"
}

Read one context entry

get /context/{class}

context:readMCP 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

  • classstringpathRequired

    Context class from GET /context, e.g. icp-state, risk-register, deal-state.

  • venture_idstringquery

    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_idstringquery

    Entity for a per-entity class. Omit for a venture-level class, or to list the class's entities.

  • limitintegerquery

    Page size, 1 to 100. Default 50.

  • offsetintegerquery

    Items to skip.

  • cursorstringquery

    next_cursor from the previous page. Overrides offset.

Response 200

  • _ventureobjectRequired

    { id, was_specified }. was_specified is false when your default venture was used.

    ›Show 2 fields
    • idstringRequired
    • was_specifiedbooleanRequired
  • foundbooleanRequired
  • messagestring

    Why nothing was found, and what to call instead.

  • contextobject

    { id, class, entity_kind, entity_id, confidence, compiled_at, valid_from, body_blocks, citations }

    ›Show 10 fields
    • idstringRequired
    • classstringRequired
    • entity_kindstringRequired
    • entity_idstringRequired
    • confidencenumberRequired
    • compiled_atstringRequired
    • compiled_bystringRequired
    • valid_fromstringRequired
    • body_blocksanyRequired
    • citationsanyRequired
  • is_indexboolean

    True when listing a class's entities.

  • entitiesobject[]

    { entity_kind, entity_id, confidence, compiled_at }, with the paging fields.

    ›Show 4 fields
    • entity_kindstringRequired
    • entity_idstringRequired
    • confidencenumberRequired
    • compiled_atstringRequired
  • totalinteger

    Items matching, across all pages.

  • limitinteger

    Page size used.

  • offsetinteger

    Offset used.

  • has_moreboolean

    True when another page exists.

  • next_cursorstring | null

    Pass as cursor to get the next page. null on the last page.

  • notestring
Request
curl -X GET https://api.krans.ai/v1/context/{class} \
  -H "Authorization: Bearer $KRANS_API_KEY"
Response 200
{
  "_venture": {
    "id": "string",
    "was_specified": true
  },
  "found": true,
  "message": "string",
  "context": {
    "id": "string",
    "class": "string",
    "entity_kind": "string",
    "entity_id": "string",
    "confidence": 0,
    "compiled_at": "string",
    "compiled_by": "string",
    "valid_from": "string",
    "body_blocks": "string",
    "citations": "string"
  },
  "is_index": true,
  "entities": [
    {
      "entity_kind": "string",
      "entity_id": "string",
      "confidence": 0,
      "compiled_at": "string"
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "has_more": true,
  "next_cursor": "string",
  "note": "string"
}