{"openapi":"3.1.0","info":{"title":"Krans API","version":"1.0.0"},"servers":[{"url":"https://api.krans.ai/v1"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"Personal API key, krs_live_… (krs_dev_… off prod)"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{},"request_id":{"type":"string"}}}}}}},"paths":{"/ventures":{"get":{"operationId":"list_ventures","summary":"List the ventures this credential can read","description":"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.","tags":["Ventures"],"x-operation":"ventures.list","x-scope":null,"x-mcp-tool":"list_ventures","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"null","description":"Always null: this lists every venture you can read."},"ventures":{"type":"array","items":{"type":"string"},"description":"Venture ids, default first."},"venture_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"phase":{"type":["string","null"]},"website_url":{"type":["string","null"]},"status":{"type":["string","null"]}},"required":["id","name","description","phase","website_url","status"],"additionalProperties":false},"description":"{ id, name, description, phase, website_url, status }, same order."},"default_venture":{"description":"Used when venture_id is omitted on an MCP connection.","type":["string","null"]},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of ventures."},"note":{"type":"string","description":"How venture_id works for this credential."},"transcript_access":{"type":"boolean","description":"Whether this credential has the transcripts grant."},"transcript_note":{"type":"string","description":"What to do when transcripts are not available."}},"required":["_venture","ventures","venture_profiles","default_venture","total","note","transcript_access","transcript_note"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations":{"get":{"operationId":"search_conversations","summary":"Search or list conversations","description":"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.","tags":["Conversations"],"x-operation":"conversations.search","x-scope":"conversations:read","x-mcp-tool":"search_conversations","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"ids","in":"query","required":false,"description":"Comma-separated conversation ids, up to 100. Fetch several records in one call.","schema":{"description":"Comma-separated conversation ids, up to 100. Fetch several records in one call.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},{"name":"updated_since","in":"query","required":false,"description":"Only conversations changed at or after this time. Use for incremental sync.","schema":{"description":"Only conversations changed at or after this time. Use for incremental sync.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"sort_by","in":"query","required":false,"description":"Sort key. Default recorded_at (newest call first, undated calls last).","schema":{"description":"Sort key. Default recorded_at (newest call first, undated calls last).","type":"string","enum":["recorded_at","created_at","updated_at"]}},{"name":"sort_direction","in":"query","required":false,"description":"Default desc.","schema":{"description":"Default desc.","type":"string","enum":["asc","desc"]}},{"name":"query","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"from_date","in":"query","required":false,"description":"Recorded on or after (ISO date, e.g. 2026-01-01).","schema":{"description":"Recorded on or after (ISO date, e.g. 2026-01-01).","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"to_date","in":"query","required":false,"description":"Recorded on or before; a bare date includes the whole day.","schema":{"description":"Recorded on or before; a bare date includes the whole day.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 20.","schema":{"default":20,"description":"Page size, 1 to 100. Default 20.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"conversations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"description":"AI-generated title (the outcome), else the filename.","type":["string","null"]},"filename":{"description":"Original recording name.","type":["string","null"]},"recorded_at":{"type":["string","null"]},"status":{"type":["string","null"]},"duration_seconds":{"type":["number","null"]},"account_name":{"description":"Primary account's name.","type":["string","null"]},"updated_at":{"type":["string","null"]}},"required":["id","title","filename","recorded_at","status","duration_seconds","account_name","updated_at"],"additionalProperties":false},"description":"{ id, title, filename, recorded_at, status, duration_seconds, account_name, updated_at }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","conversations","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"conversations_create","summary":"Create a conversation from an upload","description":"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.","tags":["Conversations"],"x-operation":"conversations.create","x-scope":"conversations:write","x-mcp-tool":null,"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"description":"Must match the upload. Required when you can reach several ventures (API key or MCP); optional with exactly one.","type":"string","minLength":1},"key":{"type":"string","minLength":1,"description":"From POST /uploads."},"title":{"description":"1 to 200 characters, one line.","type":"string"},"filename":{"type":"string","minLength":1,"description":"Original file name."},"file_size":{"type":"number","exclusiveMinimum":0,"description":"Bytes."},"recorded_at":{"description":"ISO date-time. If omitted, parsed from the title, then the filename."},"duration_seconds":{"description":"Length of the recording.","type":"number","exclusiveMinimum":0},"description":{"description":"Up to 1000 characters.","type":"string","maxLength":1000},"file_hash":{"description":"SHA-256 of the file, used to refuse duplicates.","type":"string","maxLength":200},"uploader_was_participant":{"description":"Whether you were on the call. Default true.","type":"boolean"},"external_id":{"type":"string","minLength":1,"maxLength":200,"description":"Your own id for this recording (up to 200 characters). A second import with the same id in the venture is skipped."},"call_type":{"type":"string","enum":["exploration","validation","commercial","solution_fit","investor","connector","recruitment","partner","training","support","customer_success","in_person_meeting","internal","intra_company","other"],"description":"Optional call type. When set, the pipeline uses it instead of classifying the call itself."},"participants":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"name":{"description":"Full name as people say it.","type":"string"},"email":{"description":"Work email, if known.","type":"string"},"company":{"description":"Their company, if known.","type":"string"},"side":{"type":"string","enum":["internal","external"],"description":"internal = the caller's own team."},"contact_id":{"description":"A known contact's id. Name and email are then taken from the contact.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organizer":{"description":"True for the person who organised the meeting.","type":"boolean"}},"required":["side"]},"description":"Who was in the meeting. Optional; helps name speakers on calls that are on no connected calendar. An entry with contact_id names a known contact (its name and email are used)."},"source":{"type":"object","properties":{"tool":{"type":"string","enum":["circleback","fireflies","otter","granola","fathom","teams","zoom","meet","other"],"description":"The tool the meeting came from."},"meeting_id":{"description":"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.","type":"string"},"url":{"description":"Link back to the meeting in that tool (https).","type":"string","maxLength":2048}},"required":["tool"],"description":"Where the meeting came from."},"account":{"type":"object","properties":{"id":{"description":"A known account's id. Wins over domain and name.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"description":"The account's web domain: links the account with it, or creates one.","type":"string"},"name":{"description":"The account's name: links an existing account only.","type":"string"}},"description":"The company the meeting was with."}},"required":["key","title","filename","file_size"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Conversation id."},"title":{"type":"string"},"status":{"type":"string","description":"submitted: processing started."},"venture_id":{"type":"string"},"created_at":{"type":"string"}},"required":["id","title","status","venture_id","created_at"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/import-url":{"post":{"operationId":"import_conversations_from_urls","summary":"Import recordings from URLs","description":"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.","tags":["Conversations"],"x-operation":"conversations.import_url","x-scope":"conversations:write","x-mcp-tool":"import_conversations_from_urls","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"description":"Venture the recordings belong to. Required when you can reach several ventures (API key or MCP); optional with exactly one.","type":"string","minLength":1},"items":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048,"description":"https URL that serves the recording file itself (not a share page)."},"title":{"description":"1 to 200 characters, one line.","type":"string"},"recorded_at":{"description":"When the call happened, ISO date-time."},"uploader_was_participant":{"description":"Whether you were on the call. Default true.","type":"boolean"},"external_id":{"type":"string","minLength":1,"maxLength":200,"description":"Your own id for this recording (up to 200 characters). A second import with the same id in the venture is skipped."},"call_type":{"type":"string","enum":["exploration","validation","commercial","solution_fit","investor","connector","recruitment","partner","training","support","customer_success","in_person_meeting","internal","intra_company","other"],"description":"Optional call type. When set, the pipeline uses it instead of classifying the call itself."},"participants":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"name":{"description":"Full name as people say it.","type":"string"},"email":{"description":"Work email, if known.","type":"string"},"company":{"description":"Their company, if known.","type":"string"},"side":{"type":"string","enum":["internal","external"],"description":"internal = the caller's own team."},"contact_id":{"description":"A known contact's id. Name and email are then taken from the contact.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organizer":{"description":"True for the person who organised the meeting.","type":"boolean"}},"required":["side"]},"description":"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)."},"duration_seconds":{"description":"Length of the recording in seconds.","type":"integer","minimum":0,"maximum":86400},"source":{"type":"object","properties":{"tool":{"type":"string","enum":["circleback","fireflies","otter","granola","fathom","teams","zoom","meet","other"],"description":"The tool the meeting came from."},"meeting_id":{"description":"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.","type":"string"},"url":{"description":"Link back to the meeting in that tool (https).","type":"string","maxLength":2048}},"required":["tool"],"description":"Where the meeting came from."},"account":{"type":"object","properties":{"id":{"description":"A known account's id. Wins over domain and name.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"description":"The account's web domain: links the account with it, or creates one.","type":"string"},"name":{"description":"The account's name: links an existing account only.","type":"string"}},"description":"The company the meeting was with."},"transcript":{"description":"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.","type":"object","properties":{"key":{"description":"The key POST /uploads returned for the transcript file.","type":"string"},"url":{"description":"An https link to the transcript file.","type":"string","maxLength":2048},"format":{"description":"The file's format; auto by default.","type":"string","enum":["auto","circleback-md","txt","srt","vtt","docx","fireflies-csv","fireflies-json"]}}}},"required":["url","title","recorded_at"]},"description":"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."}},"required":["items"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"job_id":{"description":"Poll GET /conversations/import-url/{job_id}. Null when nothing was accepted.","type":["string","null"]},"accepted":{"type":"number"},"skipped":{"type":"number"},"refused":{"type":"number"},"items":{"type":"array","items":{"type":"object","properties":{"index":{"type":"number","description":"Position of the item in the request, from 0."},"external_id":{"type":["string","null"]},"title":{"description":"The item's title as stored; null when the item was refused for its fields.","type":["string","null"]},"status":{"type":"string","enum":["accepted","skipped","refused"],"description":"accepted = queued for download; skipped = already imported (see conversation_id); refused = not queued (see error)."},"import_id":{"description":"<job_id>:<index> when accepted.","type":["string","null"]},"conversation_id":{"description":"The existing conversation when skipped.","type":["string","null"]},"error":{"description":"Why it was skipped or refused.","type":["string","null"]},"error_code":{"anyOf":[{"type":"string","enum":["validation_failed","not_found","duplicate","upload_missing","unsafe_url","download_failed","unsupported_format","parse_failed","file_too_large","transcript_too_long","unavailable"]},{"type":"null"}],"description":"Machine-readable reason when skipped or refused: validation_failed, unsafe_url, not_found or duplicate."}},"required":["index","external_id","title","status","import_id","conversation_id","error","error_code"],"additionalProperties":false}}},"required":["_venture","job_id","accepted","skipped","refused","items"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/import-url/{job_id}":{"get":{"operationId":"get_url_import_status","summary":"Status of a URL import","description":"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.","tags":["Conversations"],"x-operation":"conversations.import_url_status","x-scope":"conversations:read","x-mcp-tool":"get_url_import_status","parameters":[{"name":"job_id","in":"path","required":true,"description":"From POST /conversations/import-url.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"From POST /conversations/import-url."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"job_id":{"type":"string"},"venture_id":{"type":"string"},"status":{"type":"string","description":"pending, processing, completed, completed_with_errors or failed."},"done":{"type":"boolean"},"total":{"type":"number","description":"Items accepted."},"created":{"type":"number"},"skipped":{"type":"number"},"failed":{"type":"number"},"pending":{"type":"number"},"items":{"type":"array","items":{"type":"object","properties":{"index":{"type":"number"},"external_id":{"type":["string","null"]},"status":{"type":"string","enum":["created","skipped","failed"]},"conversation_id":{"type":["string","null"]},"error":{"type":["string","null"]},"error_code":{"anyOf":[{"type":"string","enum":["validation_failed","not_found","duplicate","upload_missing","unsafe_url","download_failed","unsupported_format","parse_failed","file_too_large","transcript_too_long","unavailable"]},{"type":"null"}],"description":"Machine-readable reason when skipped or failed; null when created (and on items recorded before error codes)."}},"required":["index","external_id","status","conversation_id","error","error_code"],"additionalProperties":false}},"created_at":{"type":"string"},"completed_at":{"type":["string","null"]}},"required":["job_id","venture_id","status","done","total","created","skipped","failed","pending","items","created_at","completed_at"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/transcripts":{"post":{"operationId":"import_transcripts","summary":"Import transcripts","description":"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.","tags":["Conversations"],"x-operation":"conversations.import_transcripts","x-scope":"conversations:write","x-mcp-tool":"import_transcripts","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"description":"Venture the calls belong to. Required when you can reach several ventures (API key or MCP); optional with exactly one.","type":"string","minLength":1},"items":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"title":{"description":"1 to 200 characters, one line.","type":"string"},"transcript":{"description":"The transcript: an uploaded key or an https URL, exactly one.","type":"object","properties":{"key":{"description":"The key POST /uploads returned for the transcript file.","type":"string"},"url":{"description":"An https link to the transcript file.","type":"string","maxLength":2048},"format":{"description":"The file's format; auto by default.","type":"string","enum":["auto","circleback-md","txt","srt","vtt","docx","fireflies-csv","fireflies-json"]}}},"recorded_at":{"description":"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.","type":"string"},"duration_seconds":{"description":"Call length in seconds. Default: the end of the last transcript line.","type":"integer","minimum":0,"maximum":86400},"source":{"type":"object","properties":{"tool":{"type":"string","enum":["circleback","fireflies","otter","granola","fathom","teams","zoom","meet","other"],"description":"The tool the meeting came from."},"meeting_id":{"description":"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.","type":"string"},"url":{"description":"Link back to the meeting in that tool (https).","type":"string","maxLength":2048}},"required":["tool"],"description":"Where the meeting came from."},"external_id":{"type":"string","minLength":1,"maxLength":200,"description":"Your own id for this recording (up to 200 characters). A second import with the same id in the venture is skipped."},"call_type":{"type":"string","enum":["exploration","validation","commercial","solution_fit","investor","connector","recruitment","partner","training","support","customer_success","in_person_meeting","internal","intra_company","other"],"description":"Optional call type. When set, the pipeline uses it instead of classifying the call itself."},"uploader_was_participant":{"description":"Whether you were on the call (makes you a speaker candidate). Default false.","type":"boolean"},"account":{"type":"object","properties":{"id":{"description":"A known account's id. Wins over domain and name.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"domain":{"description":"The account's web domain: links the account with it, or creates one.","type":"string"},"name":{"description":"The account's name: links an existing account only.","type":"string"}},"description":"The company the meeting was with."},"participants":{"description":"Who was on the call. Entries with contact_id take that contact's name and email.","maxItems":30,"type":"array","items":{"type":"object","properties":{"name":{"description":"Full name as people say it.","type":"string"},"email":{"description":"Work email, if known.","type":"string"},"company":{"description":"Their company, if known.","type":"string"},"side":{"type":"string","enum":["internal","external"],"description":"internal = the caller's own team."},"contact_id":{"description":"A known contact's id. Name and email are then taken from the contact.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organizer":{"description":"True for the person who organised the meeting.","type":"boolean"}},"required":["side"]}},"anonymous_speakers":{"description":"Keep speakers anonymous: names from the file are not stored or linked to contacts. Default false.","type":"boolean"}},"required":["title","transcript"]},"description":"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."}},"required":["items"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"job_id":{"description":"Follow it with GET /imports/{job_id}. Null when nothing was accepted.","type":["string","null"]},"accepted":{"type":"number"},"skipped":{"type":"number"},"refused":{"type":"number"},"items":{"type":"array","items":{"type":"object","properties":{"index":{"type":"number","description":"Position of the item in the request, from 0."},"external_id":{"type":["string","null"]},"title":{"description":"The item's title as stored; null when the item was refused for its fields.","type":["string","null"]},"status":{"type":"string","enum":["accepted","skipped","refused"],"description":"accepted = queued; skipped = already imported (see conversation_id); refused = not queued (see error_code and error)."},"import_id":{"description":"<job_id>:<index> when accepted.","type":["string","null"]},"conversation_id":{"description":"The existing conversation when skipped.","type":["string","null"]},"error_code":{"anyOf":[{"type":"string","enum":["validation_failed","not_found","duplicate","upload_missing","unsafe_url","download_failed","unsupported_format","parse_failed","file_too_large","transcript_too_long","unavailable"]},{"type":"null"}],"description":"Why it was skipped or refused, as a code; null when accepted."},"error":{"description":"Why it was skipped or refused.","type":["string","null"]}},"required":["index","external_id","title","status","import_id","conversation_id","error_code","error"],"additionalProperties":false}}},"required":["_venture","job_id","accepted","skipped","refused","items"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports":{"get":{"operationId":"list_imports","summary":"List your imports","description":"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}.","tags":["Conversations"],"x-operation":"imports.list","x-scope":"conversations:read","x-mcp-tool":"list_imports","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"status","in":"query","required":false,"description":"active = pending or processing (default); done = finished; all.","schema":{"description":"active = pending or processing (default); done = finished; all.","type":"string","enum":["active","done","all"]}},{"name":"kind","in":"query","required":false,"description":"Only jobs of this kind: url, transcript or drive.","schema":{"description":"Only jobs of this kind: url, transcript or drive.","type":"string","enum":["url","transcript","drive"]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 20.","schema":{"default":20,"description":"Page size, 1 to 100. Default 20.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"items":{"type":"array","items":{"type":"object","properties":{"job_id":{"type":"string"},"kind":{"type":"string","description":"url, transcript or drive."},"status":{"type":"string","description":"pending, processing, completed, completed_with_errors, failed or cancelled."},"total":{"type":"number","description":"Items accepted."},"queued":{"type":"number"},"imported":{"type":"number"},"duplicate":{"type":"number"},"failed":{"type":"number"},"calls_processing":{"type":"number","description":"Imported calls that are still being processed (not completed, failed or held for review)."},"created_at":{"type":"string"},"completed_at":{"type":["string","null"]},"user_id":{"type":"string","description":"Who started the import."}},"required":["job_id","kind","status","total","queued","imported","duplicate","failed","calls_processing","created_at","completed_at","user_id"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","items","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{job_id}":{"get":{"operationId":"get_import","summary":"Status of one import","description":"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.","tags":["Conversations"],"x-operation":"imports.get","x-scope":"conversations:read","x-mcp-tool":"get_import","parameters":[{"name":"job_id","in":"path","required":true,"description":"From the import request or GET /imports.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"From the import request or GET /imports."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"job_id":{"type":"string"},"kind":{"type":"string","description":"url, transcript or drive."},"status":{"type":"string","description":"pending, processing, completed, completed_with_errors, failed or cancelled."},"total":{"type":"number","description":"Items accepted."},"queued":{"type":"number"},"imported":{"type":"number"},"duplicate":{"type":"number"},"failed":{"type":"number"},"calls_processing":{"type":"number","description":"Imported calls that are still being processed (not completed, failed or held for review)."},"created_at":{"type":"string"},"completed_at":{"type":["string","null"]},"venture_id":{"type":"string"},"done":{"type":"boolean","description":"True once the job is finished."},"items":{"type":"array","items":{"type":"object","properties":{"index":{"description":"Position of the item in the request, from 0. Null for a drive item or a job older than the stored answer.","type":["number","null"]},"external_id":{"description":"The item's external_id (for a drive failure, the Drive file id).","type":["string","null"]},"title":{"description":"The item's title from the request, when it had one.","type":["string","null"]},"status":{"type":"string","enum":["queued","imported","duplicate","failed"],"description":"queued = accepted, not finished (see phase); imported = the call exists; duplicate = already in the venture; failed = see message."},"phase":{"anyOf":[{"type":"string","enum":["download","create","pipeline"]},{"type":"null"}],"description":"Step of the item being worked on right now. Null otherwise."},"conversation_id":{"description":"The call, when imported or duplicate.","type":["string","null"]},"conversation_status":{"description":"Raw processing status of that call (pending, transcribing, summarizing, extracting, reflecting, completed, failed) or pending_review while it is held for review.","type":["string","null"]},"conversation_state":{"anyOf":[{"type":"string","enum":["processing","ready","failed"]},{"type":"null"}],"description":"conversation_status in three words: processing (including held for review), ready (completed) or failed."},"error_code":{"description":"Machine-readable reason for a duplicate or failed item.","type":["string","null"]},"message":{"description":"Human-readable reason for a duplicate or failed item.","type":["string","null"]}},"required":["index","external_id","title","status","phase","conversation_id","conversation_status","conversation_state","error_code","message"],"additionalProperties":false}}},"required":["job_id","kind","status","total","queued","imported","duplicate","failed","calls_processing","created_at","completed_at","venture_id","done","items"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}":{"get":{"operationId":"get_conversation","summary":"Get one conversation","description":"Title (AI summary), filename (original recording name), date, duration, summary, speakers, primary account and the latest intelligence run.","tags":["Conversations"],"x-operation":"conversations.get","x-scope":"conversations:read","x-mcp-tool":"get_conversation","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id, copied verbatim from the conversation list.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id, copied verbatim from the conversation list."}},{"name":"lang","in":"query","required":false,"description":"en (default) returns the canonical English summary; display returns it in your display language.","schema":{"description":"en (default) returns the canonical English summary; display returns it in your display language.","type":"string","enum":["en","display"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false,"description":"{ id } of the conversation."},"id":{"type":"string","description":"Conversation id."},"venture_id":{"type":"string"},"title":{"description":"AI-generated title.","type":["string","null"]},"filename":{"description":"Original recording name.","type":["string","null"]},"date":{"description":"When the row was created.","type":["string","null"]},"recorded_at":{"description":"When the call happened.","type":["string","null"]},"source_url":{"description":"Link back to the meeting in the tool it came from, when imported with one.","type":["string","null"]},"duration_seconds":{"type":["number","null"]},"duration_ms":{"type":["number","null"]},"conversation_type":{"description":"Call type of the latest intelligence run.","type":["string","null"]},"summary":{"type":["string","null"]},"status":{"description":"Pipeline status, e.g. completed, summarizing, extracting.","type":["string","null"]},"processing_progress":{"type":["number","null"]},"processing_message":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"primary_account":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"size":{"type":["string","null"]},"location":{"type":["string","null"]},"description":{"type":["string","null"]}},"required":["id","name","domain","industry","size","location","description"],"additionalProperties":false},{"type":"null"}],"description":"{ id, name, domain, industry, size, location, description }"},"account_match_source":{"description":"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.","type":["string","null"]},"speakers":{"type":"array","items":{"type":"object","properties":{"id":{"description":"Contact id; null for a slot that names nobody.","type":["string","null"]},"identity":{"type":"string","enum":["confirmed","unconfirmed"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"role":{"type":["string","null"]},"account":{"description":"The contact's account (the company get_account opens), else their company text.","type":["string","null"]},"account_domain":{"type":["string","null"]},"affiliation_type":{"type":["string","null"]},"avatar_url":{"type":["string","null"]},"job_title":{"type":["string","null"]},"is_host":{"type":["boolean","null"]},"match_source":{"type":["string","null"]},"extracted_name":{"type":["string","null"]},"duration_ms":{"type":["number","null"]},"word_count":{"type":["number","null"]}},"required":["id","identity","name","email","role","account","account_domain","affiliation_type","avatar_url","job_title","is_host","match_source","extracted_name","duration_ms","word_count"],"additionalProperties":false},"description":"One row per person."},"intelligence_run":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"call_type":{"type":["string","null"]},"alignment_score":{},"model":{"type":["string","null"]},"prompt_version":{"type":["string","null"]},"date":{"type":["string","null"]}},"required":["id","call_type","alignment_score","model","prompt_version","date"],"additionalProperties":false},{"type":"null"}],"description":"{ id, call_type, alignment_score, model, prompt_version, date }. date is the call's date (the run is stamped with the recording time), not when the analysis ran."}},"required":["_venture","_conversation","id","venture_id","title","filename","date","recorded_at","source_url","duration_seconds","duration_ms","conversation_type","summary","status","processing_progress","processing_message","updated_at","primary_account","account_match_source","speakers","intelligence_run"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"update_conversation_details","summary":"Change the recorded date or call type","description":"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.","tags":["Conversations"],"x-operation":"conversations.update","x-scope":"conversations:write","x-mcp-tool":"update_conversation_details","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"recorded_at":{"description":"When the call happened, ISO date-time. Must be in the past.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"call_type":{"description":"New call type.","type":"string","enum":["exploration","validation","commercial","solution_fit","investor","connector","recruitment","partner","training","support","customer_success","in_person_meeting","internal","intra_company","other"]}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Conversation id."},"recorded_at":{"description":"When changed.","type":"string"},"call_type":{"description":"When changed.","type":"string"},"reprocessing":{"type":"boolean","description":"True when re-extraction or reflection was queued."},"reflection_eligible":{"description":"Call type change: whether the new type gets a reflection.","type":"boolean"},"learnings_kept":{"description":"Call type change: true when the learnings were kept.","type":"boolean"},"status":{"description":"Date change: the call's pipeline status.","type":"string"},"signals_recompute_enqueued":{"description":"Date change: signals recompute queued.","type":"boolean"},"thread_reconcile_enqueued":{"description":"Date change: thread re-order queued.","type":"boolean"}},"required":["id","reprocessing"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete_conversation","summary":"Delete a conversation","description":"Soft delete: the call, its transcript segments, learnings and placements are hidden, and its threads are reconciled. Restorable by an admin.","tags":["Conversations"],"x-operation":"conversations.delete","x-scope":"conversations:write","x-flag":"destructive","x-mcp-tool":"delete_conversation","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Conversation id."},"deleted":{"type":"boolean","const":true,"description":"Always true."}},"required":["id","deleted"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/title":{"patch":{"operationId":"rename_conversation","summary":"Rename a conversation","description":"Cosmetic. Nothing is reprocessed.","tags":["Conversations"],"x-operation":"conversations.rename","x-scope":"conversations:write","x-mcp-tool":"rename_conversation","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":300,"description":"1 to 300 characters, trimmed."}},"required":["title"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."},"title":{"type":"string","description":"The saved title."}},"required":["id","title"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/transcript":{"get":{"operationId":"get_transcript","summary":"Get the transcript","description":"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.","tags":["Conversations"],"x-operation":"conversations.transcript","x-scope":"conversations:read","x-flag":"transcripts","x-mcp-tool":"get_transcript","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id, copied verbatim from the conversation list.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id, copied verbatim from the conversation list."}},{"name":"format","in":"query","required":false,"description":"segments (default): structured turns. text: one plain string, 'Speaker [HH:MM:SS]: text' per line.","schema":{"description":"segments (default): structured turns. text: one plain string, 'Speaker [HH:MM:SS]: text' per line.","type":"string","enum":["segments","text"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false,"description":"{ id } of the conversation."},"date":{"type":"string","description":"Generated at."},"conversation_id":{"type":"string"},"segment_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"format":{"type":"string","enum":["segments","text"]},"segments":{"description":"{ speaker_name, text, start_ms, end_ms }. Present when format=segments.","type":"array","items":{"type":"object","properties":{"speaker_name":{"type":"string"},"text":{"type":"string"},"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["speaker_name","text","start_ms","end_ms"],"additionalProperties":false}},"plain_text":{"description":"Present when format=text.","type":"string"}},"required":["_venture","_conversation","date","conversation_id","segment_count","format"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/learnings":{"get":{"operationId":"get_conversation_intelligence","summary":"List a conversation's learnings","description":"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.","tags":["Conversations"],"x-operation":"conversations.learnings","x-scope":"conversations:read","x-mcp-tool":"get_conversation_intelligence","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id, copied verbatim from the conversation list.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id, copied verbatim from the conversation list."}},{"name":"include_segment_text","in":"query","required":false,"description":"Add the full transcript segment to each evidence row. Default false; much larger responses.","schema":{"description":"Add the full transcript segment to each evidence row. Default false; much larger responses.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 25.","schema":{"default":25,"description":"Page size, 1 to 100. Default 25.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false,"description":"{ id } of the conversation."},"date":{"type":"string","description":"Generated at."},"intelligence_run":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"model":{"type":["string","null"]},"prompt_version":{"type":["string","null"]},"call_type":{"type":["string","null"]},"alignment_score":{},"created_at":{"type":["string","null"]}},"required":["id","model","prompt_version","call_type","alignment_score","created_at"],"additionalProperties":false},{"type":"null"}],"description":"{ id, model, prompt_version, call_type, alignment_score, created_at }"},"learnings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"learning_type":{"type":["string","null"]},"description":{"type":["string","null"]},"evidence_tier":{},"evidence_confidence":{},"interpretation_confidence":{},"generalization_confidence":{},"created_at":{"type":["string","null"]},"evidence":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"quote":{"type":["string","null"]},"speaker_name":{"type":["string","null"]},"speaker_affiliation":{"type":["string","null"]},"speaker_identity":{"type":"string","enum":["confirmed","unconfirmed"]},"segment_sequence":{"type":["number","null"]},"start_ms":{"type":["number","null"]},"segment_text":{"type":["string","null"]}},"required":["id","speaker_name","speaker_affiliation","speaker_identity","segment_sequence","start_ms"],"additionalProperties":false}}},"required":["id","learning_type","description","evidence_tier","evidence_confidence","interpretation_confidence","generalization_confidence","created_at","evidence"],"additionalProperties":false}},"total_learnings":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Same as total (the MCP name)."},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","_conversation","date","intelligence_run","learnings","total_learnings","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/reflections":{"get":{"operationId":"get_conversation_reflections","summary":"Get coaching reflections","description":"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.","tags":["Conversations"],"x-operation":"conversations.reflections","x-scope":"conversations:read","x-mcp-tool":"get_conversation_reflections","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id, copied verbatim from the conversation list.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id, copied verbatim from the conversation list."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false,"description":"{ id } of the conversation."},"found":{"type":"boolean","description":"False when no reflection has been generated; message explains why."},"message":{"type":"string"},"call_outcome":{"type":["string","null"]},"intent_alignment":{},"generated_at":{"type":["string","null"]},"insights":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"insight_type":{"type":["string","null"]},"insight_text":{"type":["string","null"]},"insight_id_tag":{"type":["string","null"]},"call_outcome":{"type":["string","null"]},"direction":{},"impact_score":{},"confidence_score":{},"what_happened":{},"fix_or_repeat":{},"quotes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"quote_text":{"type":["string","null"]},"quote_label":{"type":["string","null"]},"speaker_display_name":{"type":["string","null"]},"speaker_role":{"type":["string","null"]},"timestamp_str":{"type":["string","null"]},"timestamp_ms":{"type":["number","null"]},"confidence":{}},"required":["id","quote_label","speaker_display_name","speaker_role","timestamp_str","timestamp_ms","confidence"],"additionalProperties":false}}},"required":["id","insight_type","insight_text","insight_id_tag","call_outcome","direction","impact_score","confidence_score","what_happened","fix_or_repeat","quotes"],"additionalProperties":false}},"date":{"type":"string","description":"Generated at."}},"required":["_venture","_conversation","found","date"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/speakers":{"get":{"operationId":"get_conversation_speakers","summary":"List the people on a call","description":"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.","tags":["Conversations"],"x-operation":"conversations.speakers","x-scope":"conversations:read","x-mcp-tool":"get_conversation_speakers","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id, copied verbatim from the conversation list.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id, copied verbatim from the conversation list."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false,"description":"{ id } of the conversation."},"speakers":{"type":"array","items":{"type":"object","properties":{"id":{"description":"Contact id; null for a slot that names nobody.","type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"role":{"description":"Job title.","type":["string","null"]},"account":{"description":"The contact's account (the company get_account opens), else their company text.","type":["string","null"]},"affiliation_type":{"type":["string","null"]},"match_source":{"type":["string","null"]},"identity":{"type":"string","enum":["confirmed","unconfirmed"]}},"required":["id","name","email","role","account","affiliation_type","match_source","identity"],"additionalProperties":false},"description":"{ id, name, email, role, account, affiliation_type, match_source, identity }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of speakers (the whole list)."}},"required":["_venture","_conversation","speakers","total"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"add_speaker","summary":"Add a contact as a speaker","description":"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.","tags":["Speakers and participants"],"x-operation":"speakers.add","x-scope":"contacts:write","x-mcp-tool":"add_speaker","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact in the same venture."},"reassign_from_speaker_id":{"description":"A speaker on this call whose segments move to this contact (usually an unmapped placeholder).","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"is_host":{"description":"Mark the contact as the call's host.","type":"boolean"},"match_source":{"description":"How the contact was identified. Sent = the speaker is confirmed at once.","type":"string","enum":["calendar","internal","manual","extracted"]}},"required":["contact_id"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"speaker":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"display_color":{"type":["string","null"]},"match_source":{"anyOf":[{"type":"string","enum":["calendar","internal","manual","extracted"]},{"type":"null"}]}},"required":["id","name","email","display_color","match_source"],"additionalProperties":false,"description":"{ id, name, email, display_color, match_source }"},"segments_reassigned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Segments moved to the contact."}},"required":["speaker","segments_reassigned"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/accounts":{"get":{"operationId":"get_conversation_accounts","summary":"List the accounts on a call","description":"The call's primary account (the main external organisation), plus the accounts of its confirmed participants.","tags":["Conversations"],"x-operation":"conversations.accounts","x-scope":"conversations:read","x-mcp-tool":"get_conversation_accounts","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id, copied verbatim from the conversation list.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id, copied verbatim from the conversation list."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false,"description":"{ id } of the conversation."},"primary_account":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"size":{"type":["string","null"]},"location":{"type":["string","null"]}},"required":["id","name","domain","industry","size","location"],"additionalProperties":false},{"type":"null"}],"description":"{ id, name, domain, industry, size, location }"},"speaker_accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"size":{"type":["string","null"]},"location":{"type":["string","null"]}},"required":["id","name","domain","industry","size","location"],"additionalProperties":false},"description":"Accounts of confirmed participants, same fields."},"date":{"type":"string","description":"Generated at."}},"required":["_venture","_conversation","primary_account","speaker_accounts","date"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/account":{"put":{"operationId":"set_conversation_account","summary":"Set the call's account","description":"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.","tags":["Conversations"],"x-operation":"conversations.set_account","x-scope":"conversations:write","x-mcp-tool":"set_conversation_account","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"description":"Account in the same venture.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"none":{"description":"true marks the call as having no account. Use instead of account_id.","type":"boolean","const":true},"match_source":{"description":"Recorded as how the account was chosen. Left empty when omitted.","type":"string","enum":["calendar","manual","speaker_derived"]}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Conversation id."},"account":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"logo_url":{"type":["string","null"]},"industry":{"type":["string","null"]},"size":{"type":["string","null"]}},"required":["id","name","logo_url","industry","size"],"additionalProperties":false},{"type":"null"}],"description":"{ id, name, logo_url, industry, size }"},"account_match_source":{"type":["string","null"]}},"required":["id","account","account_match_source"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"clear_conversation_account","summary":"Clear the call's account","description":"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.","tags":["Conversations"],"x-operation":"conversations.clear_account","x-scope":"conversations:write","x-mcp-tool":"clear_conversation_account","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Conversation id."},"account":{"type":"null","description":"Always null."}},"required":["id","account"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/account/link-speakers":{"post":{"operationId":"link_speakers_to_account","summary":"Link speakers to the call's account","description":"Links 1 to 50 contacts who are participants of this call to the call's account. An anonymised participant cannot be linked from the call. Safe to retry.","tags":["Conversations"],"x-operation":"conversations.link_speakers_to_account","x-scope":"conversations:write","x-mcp-tool":"link_speakers_to_account","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"speaker_ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"1 to 50 contacts who are participants of this call."}},"required":["speaker_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"linked_speaker_ids":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"}},"required":["linked_speaker_ids","account_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/uploads":{"post":{"operationId":"uploads_create","summary":"Get upload URLs","description":"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.","tags":["Conversations"],"x-operation":"uploads.create","x-scope":"conversations:write","x-mcp-tool":null,"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"description":"Venture the files belong to. Omit it to use your only venture; a credential with several ventures must send it (422 venture_required).","type":"string","minLength":1},"filename":{"type":"string","minLength":1,"maxLength":500,"description":"Original file name, with extension. Stored sanitised under the venture's own prefix."},"content_type":{"type":"string","minLength":1,"maxLength":200,"description":"MIME type of the file."},"file_size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Bytes."},"kind":{"description":"Default recording. transcript: a transcript file (.txt, .md, .srt, .vtt, .docx, .csv, .json) of at most 10 MB for POST /conversations/transcripts.","type":"string","enum":["recording","transcript"]},"files":{"description":"Batch form: 1 to 50 files. Do not combine with the single-file fields.","minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":500,"description":"Original file name, with extension. Stored sanitised under the venture's own prefix."},"content_type":{"type":"string","minLength":1,"maxLength":200,"description":"MIME type of the file."},"file_size":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Bytes."},"kind":{"description":"Default recording. transcript: a transcript file (.txt, .md, .srt, .vtt, .docx, .csv, .json) of at most 10 MB for POST /conversations/transcripts.","type":"string","enum":["recording","transcript"]}},"required":["filename","content_type","file_size"]}}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"upload_url":{"type":"string","description":"Presigned PUT URL."},"download_url":{"type":"string","description":"Presigned GET URL of the same object, same lifetime."},"key":{"type":"string","description":"Pass to POST /conversations or POST /conversations/transcripts."},"expires_at":{"type":"string","description":"When upload_url stops working."}},"required":["upload_url","download_url","key","expires_at"],"additionalProperties":false},{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"upload_url":{"type":"string","description":"Presigned PUT URL."},"download_url":{"type":"string","description":"Presigned GET URL of the same object, same lifetime."},"key":{"type":"string","description":"Pass to POST /conversations or POST /conversations/transcripts."},"expires_at":{"type":"string","description":"When upload_url stops working."}},"required":["upload_url","download_url","key","expires_at"],"additionalProperties":false},"description":"One entry per requested file, same order."}},"required":["files"],"additionalProperties":false}]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/participants":{"get":{"operationId":"list_participants","summary":"List participant slots with their identity claims","description":"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.","tags":["Speakers and participants"],"x-operation":"participants.list","x-scope":"contacts:read","x-mcp-tool":"list_participants","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_conversation":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"participants":{"type":"array","items":{"type":"object","properties":{"slot_id":{"type":"string","description":"Participant slot id: the one the participants/{slotId} endpoints take."},"speaker_id":{"description":"The slot's speaker id, for the speakers endpoints. null when the slot names nobody (anonymised, or a rejected guess).","type":["string","null"]},"label":{"description":"Diarisation label, e.g. A.","type":["string","null"]},"kind":{"type":"string","enum":["confirmed","suggested","unlinked","unidentified","anonymized"]},"contact":{"description":"confirmed: the contact.","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":["string","null"]},"account":{"description":"The contact's company name.","type":["string","null"]},"job_title":{"type":["string","null"]},"email":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]}},"required":["id","name","avatar_url","account","job_title","email","linkedin_url"],"additionalProperties":false},"badge":{"description":"confirmed: how it was confirmed (team = a team member).","type":"string","enum":["calendar","team","ai_matched","transcript","you"]},"suggested_name":{"description":"suggested: the proposed name.","type":"string"},"candidate_contact_id":{"description":"suggested: the proposed contact, if any.","type":["string","null"]},"original_contact":{"description":"unlinked: the contact it was unlinked from.","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":["string","null"]},"account":{"description":"The contact's company name.","type":["string","null"]},"job_title":{"type":["string","null"]},"email":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]}},"required":["id","name","avatar_url","account","job_title","email","linkedin_url"],"additionalProperties":false},"anonymized_at":{"description":"anonymized: when the participant was hidden.","type":"string"},"claims":{"type":"array","items":{"type":"object","properties":{"claim_id":{"type":"string"},"source_type":{"type":"string","description":"Who asserted it: calendar, transcript, gemini, user_link, …"},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"account":{"type":["string","null"]},"contact_id":{"description":"The contact the claim points at, if matched.","type":["string","null"]},"confidence":{"type":["number","null"]},"enrichment_only":{"type":"boolean","description":"Enrichment that did not take part in the identity decision."}},"required":["claim_id","source_type","name","email","account","contact_id","confidence","enrichment_only"],"additionalProperties":false},"description":"Every live identity claim on the slot. Empty when anonymised."}},"required":["slot_id","speaker_id","label","kind","claims"],"additionalProperties":false}}},"required":["_conversation","participants"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/speakers/{speakerId}":{"patch":{"operationId":"rename_speaker","summary":"Rename a speaker on a call","description":"Sets the display name or colour of a speaker on this call. Refused on an anonymised speaker.","tags":["Speakers and participants"],"x-operation":"speakers.rename","x-scope":"contacts:write","x-mcp-tool":"rename_speaker","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"speakerId","in":"path","required":true,"description":"Speaker id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Speaker id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"display_name":{"description":"1 to 100 characters.","type":"string","minLength":1,"maxLength":100},"display_color":{"description":"Hex colour from the speaker palette, e.g. #3B82F6.","type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"speaker":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"{ id, display_name, display_color }"}},"required":["speaker"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"remove_speaker","summary":"Remove a speaker from this call","description":"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.","tags":["Speakers and participants"],"x-operation":"speakers.remove","x-scope":"contacts:write","x-flag":"destructive","x-mcp-tool":"remove_speaker","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"speakerId","in":"path","required":true,"description":"Speaker id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Speaker id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"leave_unmapped":{"default":true,"description":"Default true.","type":"boolean"},"reassign_to_speaker_id":{"description":"Required when leave_unmapped is false. A speaker in the same venture.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"segments_reassigned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Segments moved."},"placeholder_speaker_ids":{"description":"When left unmapped: the placeholder speakers that now hold the segments.","type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"spoke_in_deleted":{"type":"boolean","description":"True when the speaker's link to the call was removed."},"message":{"type":"string","description":"What happened, in words."}},"required":["segments_reassigned","spoke_in_deleted","message"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/speakers/link":{"post":{"operationId":"link_speaker_to_contact","summary":"Link an unmapped voice to a contact","description":"Moves an unmapped placeholder's segments to a contact in the same venture and records the link as your decision. Use reassign for a speaker that is not a placeholder. Refused on an anonymised speaker.","tags":["Speakers and participants"],"x-operation":"speakers.link","x-scope":"contacts:write","x-mcp-tool":"link_speaker_to_contact","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"unmapped_speaker_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Placeholder speaker on this call."},"target_contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact to attribute the voice to."}},"required":["unmapped_speaker_id","target_contact_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"segments_transferred":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Segments moved to the contact."},"target":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false,"description":"{ id, name }"},"assembly_ai_label":{"description":"The voice's diarisation label, e.g. B.","type":["string","null"]}},"required":["segments_transferred","target","assembly_ai_label"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/speakers/reassign":{"post":{"operationId":"reassign_speaker_segments","summary":"Move segments from one speaker to another","description":"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.","tags":["Speakers and participants"],"x-operation":"speakers.reassign","x-scope":"contacts:write","x-mcp-tool":"reassign_speaker_segments","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"from_speaker_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Speaker on this call whose segments move."},"to_speaker_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact in the venture that gets them. Must differ from from_speaker_id."},"segment_ids":{"description":"Only these segments. Default: all.","type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["from_speaker_id","to_speaker_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"segments_reassigned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Segments moved."}},"required":["segments_reassigned"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/speakers/merge":{"post":{"operationId":"merge_speakers","summary":"Merge speakers on this call","description":"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.","tags":["Speakers and participants"],"x-operation":"speakers.merge","x-scope":"contacts:write","x-flag":"destructive","x-mcp-tool":"merge_speakers","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"target_speaker_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The speaker that keeps the segments."},"source_speaker_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"At least one; must not include the target."}},"required":["target_speaker_id","source_speaker_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"segments_reassigned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Segments moved to the target."},"speakers_merged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Sources folded in."}},"required":["segments_reassigned","speakers_merged"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/speakers/unmerge":{"post":{"operationId":"unmerge_speakers","summary":"Undo a speaker merge on this call","description":"Gives every merged segment back to the speaker it came from and puts those speakers back on the call. Refused on an anonymised speaker.","tags":["Speakers and participants"],"x-operation":"speakers.unmerge","x-scope":"contacts:write","x-mcp-tool":"unmerge_speakers","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"speaker_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The speaker that absorbed others."}},"required":["speaker_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"segments_restored":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Segments given back."},"speakers_restored":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"display_name":{"type":["string","null"]},"display_color":{"type":["string","null"]},"avatar_url":{"type":["string","null"]},"is_unmapped":{"type":["boolean","null"]},"job_title":{"type":["string","null"]},"company":{"type":["string","null"]},"email":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"affiliation_type":{"type":["string","null"]}},"required":["id","name","display_name","display_color","avatar_url","is_unmapped","job_title","company","email","linkedin_url","affiliation_type"],"additionalProperties":false},"description":"{ id, name, display_name, display_color, avatar_url, is_unmapped, … } per restored speaker."}},"required":["segments_restored","speakers_restored"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/participants/{slotId}/link":{"post":{"operationId":"link_participant","summary":"Set the contact on a participant slot","description":"Links the slot to a contact in the same venture and moves its transcript lines onto that contact. Refused on an anonymised participant.","tags":["Speakers and participants"],"x-operation":"participants.link","x-scope":"contacts:write","x-mcp-tool":"link_participant","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"slotId","in":"path","required":true,"description":"Participant slot id (slot_id from list_participants).","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Participant slot id (slot_id from list_participants)."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact in the same venture."}},"required":["contact_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"slot_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The slot that was linked."},"contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The contact it now names."}},"required":["slot_id","contact_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/conversations/{id}/participants/{slotId}/unlink":{"post":{"operationId":"unlink_participant","summary":"Clear the contact on a participant slot","description":"The slot goes back to unidentified. Refused on an anonymised participant.","tags":["Speakers and participants"],"x-operation":"participants.unlink","x-scope":"contacts:write","x-mcp-tool":"unlink_participant","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"slotId","in":"path","required":true,"description":"Participant slot id (slot_id from list_participants).","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Participant slot id (slot_id from list_participants)."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"slot_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The slot that was unlinked."}},"required":["slot_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts":{"get":{"operationId":"search_contacts","summary":"Search contacts","description":"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.","tags":["Contacts"],"x-operation":"contacts.search","x-scope":"contacts:read","x-mcp-tool":"search_contacts","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"ids","in":"query","required":false,"description":"Comma-separated contact ids, up to 100. Fetch several records in one call.","schema":{"description":"Comma-separated contact ids, up to 100. Fetch several records in one call.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},{"name":"updated_since","in":"query","required":false,"description":"Only contacts changed at or after this time. Use for incremental sync.","schema":{"description":"Only contacts changed at or after this time. Use for incremental sync.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"sort_by","in":"query","required":false,"description":"Sort by a timestamp instead of sort. Overrides sort when sent.","schema":{"description":"Sort by a timestamp instead of sort. Overrides sort when sent.","type":"string","enum":["created_at","updated_at"]}},{"name":"sort_direction","in":"query","required":false,"description":"Direction for sort_by. Default desc.","schema":{"description":"Direction for sort_by. Default desc.","type":"string","enum":["asc","desc"]}},{"name":"query","in":"query","required":false,"description":"Keyword over name, display name, email, job title, affiliation or the name of a linked account.","schema":{"description":"Keyword over name, display name, email, job title, affiliation or the name of a linked account.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"account","in":"query","required":false,"description":"Account name keyword: contacts linked to a matching account.","schema":{"description":"Account name keyword: contacts linked to a matching account.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"affiliation","in":"query","required":false,"description":"internal is your own team; external is customers, investors and partners.","schema":{"description":"internal is your own team; external is customers, investors and partners.","type":"string","enum":["internal","external","unknown"]}},{"name":"recency","in":"query","required":false,"description":"Last contact: 7d/30d/90d = within that window, older = more than 90 days ago, never = no recorded contact.","schema":{"description":"Last contact: 7d/30d/90d = within that window, older = more than 90 days ago, never = no recorded contact.","type":"string","enum":["7d","30d","90d","older","never"]}},{"name":"from_date","in":"query","required":false,"description":"Last contact on or after this date (ISO, e.g. 2026-01-01).","schema":{"description":"Last contact on or after this date (ISO, e.g. 2026-01-01).","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"to_date","in":"query","required":false,"description":"Last contact on or before; a bare date includes the whole day.","schema":{"description":"Last contact on or before; a bare date includes the whole day.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"sort","in":"query","required":false,"description":"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).","schema":{"description":"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).","type":"string","enum":["call_count","last_contact","name"]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 500. Default 20.","schema":{"default":20,"description":"Page size, 1 to 500. Default 20.","type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"contacts":{"type":"array","items":{"type":"object","properties":{"contact_id":{"type":"string"},"name":{"type":"string","description":"Display name, else the name."},"role":{"description":"Job title.","type":["string","null"]},"account":{"description":"First linked account's name.","type":["string","null"]},"affiliation":{"type":"string","description":"internal, external or unknown."},"email":{"description":"null for the placeholder addresses minted for unnamed speakers.","type":["string","null"]},"linkedin":{"type":["string","null"]},"confirmed_calls":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Reviewed calls they were confirmed on (the same count get_contact reports)."},"last_contact":{"description":"YYYY-MM-DD of the last call, or null.","type":["string","null"]},"updated_at":{"type":"string"}},"required":["contact_id","name","role","account","affiliation","email","linkedin","confirmed_calls","last_contact","updated_at"],"additionalProperties":false},"description":"{ contact_id, name, role, account, affiliation, email, linkedin, confirmed_calls, last_contact, updated_at }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","contacts","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create_contact","summary":"Create a contact","description":"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.","tags":["Contacts"],"x-operation":"contacts.create","x-scope":"contacts:write","x-mcp-tool":"create_contact","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"description":"Venture to add the contact to."},"name":{"type":"string","minLength":1,"maxLength":200,"description":"1 to 200 characters."},"email":{"anyOf":[{"anyOf":[{"type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},{"type":"string","const":""}],"description":"Unique per venture."},"company":{"anyOf":[{"type":"string","maxLength":200},{"type":"string","const":""}],"description":"Free-text company label, up to 200. Link an account with set_contact_account."},"job_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"string","const":""}],"description":"Up to 200."},"phone":{"anyOf":[{"type":"string","maxLength":50},{"type":"string","const":""}],"description":"Up to 50."},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"string","const":""}],"description":"LinkedIn profile URL."},"display_color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"string","const":""}],"description":"Hex colour from the speaker palette. Random when omitted."},"affiliation_type":{"anyOf":[{"type":"string","enum":["internal","external","unknown"]},{"type":"string","const":""}],"description":"internal is your own team."}},"required":["venture_id","name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"contact":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":["string","null"]},"display_name":{"type":["string","null"]},"display_color":{"type":["string","null"]},"company":{"type":["string","null"]},"job_title":{"type":["string","null"]},"phone":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"affiliation_type":{"type":["string","null"]}},"required":["id","name","email","display_name","display_color","company","job_title","phone","linkedin_url","affiliation_type"],"additionalProperties":false,"description":"{ id, name, email, display_name, job_title, phone, linkedin_url, affiliation_type }"}},"required":["contact"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts/{id}":{"get":{"operationId":"get_contact","summary":"Get one contact","description":"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.","tags":["Contacts"],"x-operation":"contacts.get","x-scope":"contacts:read","x-mcp-tool":"get_contact","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id from search_contacts (or a contacts row of get_account).","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id from search_contacts (or a contacts row of get_account)."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"merged_from_contact_id":{"description":"Present when the id you sent was merged into this one.","type":"string"},"contact":{"type":"object","properties":{"contact_id":{"type":"string"},"name":{"type":"string"},"role":{"type":["string","null"]},"affiliation":{"type":"string"},"email":{"type":["string","null"]},"linkedin":{"type":["string","null"]},"phone":{"type":["string","null"]},"accounts":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false}},"last_contact":{"type":["string","null"]}},"required":["contact_id","name","role","affiliation","email","linkedin","phone","accounts","last_contact"],"additionalProperties":false,"description":"{ contact_id, name, role, affiliation, email, linkedin, phone, accounts[] { account_id, name }, last_contact }"},"calls":{"type":"array","items":{"type":"object","properties":{"conversation_id":{"type":"string"},"title":{"type":["string","null"]},"recorded_at":{"type":["string","null"]}},"required":["conversation_id","title","recorded_at"],"additionalProperties":false},"description":"Confirmed calls, newest 50: { conversation_id, title, recorded_at }"},"total_calls":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"calls_note":{"description":"Present when calls was cut.","type":"string"},"unconfirmed_calls":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Calls they were only guessed to be on. Counted, never listed."},"threads":{"type":"array","items":{"type":"object","properties":{"thread_id":{"type":"string"},"account":{"type":["string","null"]},"pipeline":{"type":["string","null"]},"stage":{"type":["string","null"]}},"required":["thread_id","account","pipeline","stage"],"additionalProperties":false},"description":"Up to 25: { thread_id, account, pipeline, stage }"},"total_threads":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"threads_note":{"description":"Present when threads was cut.","type":"string"}},"required":["_venture","contact","calls","total_calls","unconfirmed_calls","threads","total_threads"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"update_contact","summary":"Edit a contact","description":"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.","tags":["Contacts"],"x-operation":"contacts.update","x-scope":"contacts:write","x-mcp-tool":"update_contact","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"display_name":{"type":"string","maxLength":100},"display_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"notes":{"type":"string","maxLength":2000},"phone":{"type":"string","maxLength":50},"company":{"type":"string","maxLength":200},"job_title":{"type":"string","maxLength":200},"linkedin_url":{"type":"string","maxLength":500},"email":{"anyOf":[{"type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"affiliation_type":{"type":"string","enum":["internal","external","unknown"]}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"contact":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":["string","null"]},"display_name":{"type":["string","null"]},"display_color":{"type":["string","null"]},"company":{"type":["string","null"]},"job_title":{"type":["string","null"]},"phone":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"affiliation_type":{"type":["string","null"]}},"required":["id","name","email","display_name","display_color","company","job_title","phone","linkedin_url","affiliation_type"],"additionalProperties":false,"description":"{ id, name, email, display_name, job_title, phone, linkedin_url, affiliation_type }"}},"required":["contact"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete_contact","summary":"Delete a contact","description":"Soft delete, including their participant links, segments, account links and discussions.","tags":["Contacts"],"x-operation":"contacts.delete","x-scope":"contacts:write","x-flag":"destructive","x-mcp-tool":"delete_contact","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Deleted contact id."},"deleted":{"type":"boolean","const":true,"description":"Always true."}},"required":["id","deleted"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts/{id}/learnings":{"get":{"operationId":"get_contact_learnings","summary":"List learnings from a contact's calls","description":"Learnings from the reviewed calls this contact was confirmed on, strongest evidence first (tier, then confidence). total counts all of them.","tags":["Contacts"],"x-operation":"contacts.learnings","x-scope":"contacts:read","x-mcp-tool":"get_contact_learnings","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 50. Default 12.","schema":{"default":12,"description":"Page size, 1 to 50. Default 12.","type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"learnings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"conversation_id":{"type":"string"},"learning_type":{"type":"string"},"description":{"type":["string","null"]},"evidence_tier":{"description":"E0 to E5.","type":["string","null"]},"evidence_confidence":{"type":["number","null"]},"created_at":{"type":"string"}},"required":["id","conversation_id","learning_type","description","evidence_tier","evidence_confidence","created_at"],"additionalProperties":false},"description":"{ id, conversation_id, learning_type, description, evidence_tier (E0 to E5), evidence_confidence (null = not scored), created_at }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"All learnings for this contact."}},"required":["_venture","learnings","total"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts/bulk-update":{"post":{"operationId":"bulk_update_contacts","summary":"Edit many contacts at once","description":"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.","tags":["Contacts"],"x-operation":"contacts.bulk_update","x-scope":"contacts:write","x-mcp-tool":"bulk_update_contacts","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"description":"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.","type":"string","minLength":1},"updates":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."},"changes":{"default":{},"description":"The same fields update_contact takes; only the ones you send change. An empty email clears it.","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"display_name":{"type":"string","maxLength":100},"display_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"notes":{"type":"string","maxLength":2000},"phone":{"type":"string","maxLength":50},"company":{"type":"string","maxLength":200},"job_title":{"type":"string","maxLength":200},"linkedin_url":{"type":"string","maxLength":500},"email":{"anyOf":[{"type":"string","maxLength":255,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"affiliation_type":{"type":"string","enum":["internal","external","unknown"]}}},"avatar_url":{"description":"Optional https image URL (PNG, JPEG, WebP or GIF, at most 5 MB) to store as the contact's photo.","type":"string","maxLength":2048,"format":"uri"}},"required":["id"]},"description":"1 to 100 items { id, changes, avatar_url? }, each contact id at most once."}},"required":["updates"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"updated":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"description":"Contacts that were changed."},"failed":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string","description":"The error code update_contact would answer, e.g. not_found, email_taken."},"error":{"type":"string"}},"required":["id","code","error"],"additionalProperties":false},"description":"Contacts that were not changed, with why."}},"required":["_venture","updated","failed"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts/{id}/avatar":{"put":{"operationId":"set_contact_avatar","summary":"Set a contact's photo from an image URL","description":"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.","tags":["Contacts"],"x-operation":"contacts.set_avatar","x-scope":"contacts:write","x-mcp-tool":"set_contact_avatar","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image_url":{"type":"string","maxLength":2048,"format":"uri","description":"https URL of a PNG, JPEG, WebP or GIF image, at most 5 MB. It is downloaded and stored by us."}},"required":["image_url"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string"},"avatar_url":{"type":"string","description":"The stored photo's public URL."}},"required":["contact_id","avatar_url"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts/{id}/account":{"put":{"operationId":"set_contact_account","summary":"Link a contact to an account","description":"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.","tags":["Contacts"],"x-operation":"contacts.set_account","x-scope":"contacts:write","x-mcp-tool":"set_contact_account","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Account in the same venture."},"job_title":{"description":"Their title at that account, up to 200.","type":"string","maxLength":200}},"required":["account_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string"},"account":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false,"description":"{ id, name }"},"propagation_failed":{"type":"boolean","description":"True when the link was saved but copying the account onto the contact's calls failed."}},"required":["contact_id","account","propagation_failed"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"clear_contact_account","summary":"Unlink a contact from its account","tags":["Contacts"],"x-operation":"contacts.clear_account","x-scope":"contacts:write","x-mcp-tool":"clear_contact_account","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string"}},"required":["contact_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contacts/merge":{"post":{"operationId":"merge_contacts","summary":"Merge contacts","description":"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.","tags":["Contacts"],"x-operation":"contacts.merge","x-scope":"contacts:write","x-flag":"destructive","x-mcp-tool":"merge_contacts","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"description":"Venture the contacts belong to."},"target_contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The contact that survives."},"source_contact_ids":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"At least one; not the target."},"field_overrides":{"description":"Field values to keep on the target, e.g. { \"email\": \"…\" }.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["venture_id","target_contact_id","source_contact_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"merged_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conversations_updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"segments_reassigned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"target_contact":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"displayName":{"type":["string","null"]}},"required":["id","name","displayName"],"additionalProperties":false,"description":"{ id, name, displayName }"}},"required":["merged_count","conversations_updated","segments_reassigned","target_contact"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contact-lists":{"get":{"operationId":"list_contact_lists","summary":"List contact lists","description":"The venture's contact lists, oldest first. member_count counts the members the list view shows (live, listable contacts).","tags":["Contacts"],"x-operation":"contact_lists.list","x-scope":"contacts:read","x-mcp-tool":"list_contact_lists","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":["string","null"]},"member_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"created_at":{"type":"string"}},"required":["id","name","icon","member_count","created_at"],"additionalProperties":false},"description":"{ id, name, icon, member_count, created_at }"}},"required":["_venture","lists"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create_contact_list","summary":"Create a contact list","description":"Optionally with members. Contact ids outside the venture are skipped; member_count is how many were added.","tags":["Contacts"],"x-operation":"contact_lists.create","x-scope":"contacts:write","x-mcp-tool":"create_contact_list","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"description":"Venture for the list."},"name":{"type":"string","minLength":1,"maxLength":120,"description":"1 to 120 characters, trimmed."},"contact_ids":{"description":"Initial members, up to 500 contact ids.","maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["venture_id","name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"member_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","name","member_count"],"additionalProperties":false,"description":"{ id, name, member_count }"}},"required":["list"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contact-lists/{id}":{"patch":{"operationId":"update_contact_list","summary":"Rename a contact list or change its icon","description":"Send name, icon, or both. icon null restores the default icon.","tags":["Contacts"],"x-operation":"contact_lists.update","x-scope":"contacts:write","x-mcp-tool":"update_contact_list","parameters":[{"name":"id","in":"path","required":true,"description":"Contact list id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact list id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"1 to 120 characters, trimmed.","type":"string","minLength":1,"maxLength":120},"icon":{"description":"Icon key, or null to clear.","anyOf":[{"type":"string","enum":["list","users","star","flame","target","rocket","heart","crown","zap","flag","bookmark","building","handshake","briefcase","sparkles","coffee","snowflake","thermometer","sun","phone","mail","send","calendar","trophy","medal","euro","coins","trending-up","trending-down","user-check","user-x","hourglass","ghost","gem","megaphone","eye","shield"]},{"type":"null"}]}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":["string","null"]}},"required":["id","name","icon"],"additionalProperties":false,"description":"{ id, name, icon }"}},"required":["list"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete_contact_list","summary":"Delete a contact list","description":"Soft delete of the list and its memberships. The contacts themselves are untouched.","tags":["Contacts"],"x-operation":"contact_lists.delete","x-scope":"contacts:write","x-flag":"destructive","x-mcp-tool":"delete_contact_list","parameters":[{"name":"id","in":"path","required":true,"description":"Contact list id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact list id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Deleted list id."},"deleted":{"type":"boolean","const":true,"description":"Always true."}},"required":["id","deleted"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contact-lists/{id}/members":{"post":{"operationId":"add_to_contact_list","summary":"Add members to a contact list","description":"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.","tags":["Contacts"],"x-operation":"contact_lists.add_members","x-scope":"contacts:write","x-mcp-tool":"add_to_contact_list","parameters":[{"name":"id","in":"path","required":true,"description":"Contact list id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact list id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_ids":{"description":"1 to 500 contact ids.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},"required":["contact_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"added":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Members added or restored (valid ids sent)."}},"required":["added"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"remove_from_contact_list","summary":"Remove members from a contact list","description":"Soft removal; adding a contact again restores it. Send contact_ids in the body, or comma-separated in the query.","tags":["Contacts"],"x-operation":"contact_lists.remove_members","x-scope":"contacts:write","x-mcp-tool":"remove_from_contact_list","parameters":[{"name":"id","in":"path","required":true,"description":"Contact list id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact list id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_ids":{"description":"1 to 500 contact ids (body array, or comma-separated).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},"required":["contact_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"removed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Members removed."}},"required":["removed"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review":{"get":{"operationId":"list_review_items","summary":"List the review queue","description":"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.","tags":["Review"],"x-operation":"review.list","x-scope":"review:read","x-mcp-tool":"list_review_items","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"kind","in":"query","required":false,"description":"Only this kind.","schema":{"description":"Only this kind.","type":"string","enum":["speaker","account","recording","thread","duplicate"]}},{"name":"counts_only","in":"query","required":false,"description":"Return counts and total only.","schema":{"description":"Return counts and total only.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"view","in":"query","required":false,"description":"compact (default): ids, title, suggestion. full: every field the review lane holds (large; prefer get_review_item per item).","schema":{"default":"compact","description":"compact (default): ids, title, suggestion. full: every field the review lane holds (large; prefer get_review_item per item).","type":"string","enum":["compact","full"]}},{"name":"mine","in":"query","required":false,"description":"Only items about you: a call you created or spoke in, a recording you imported, a duplicate on one of your calls.","schema":{"description":"Only items about you: a call you created or spoke in, a recording you imported, a duplicate on one of your calls.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"quick","in":"query","required":false,"description":"Only quick wins: items one confident Yes answers (strong evidence behind the suggestion).","schema":{"description":"Only quick wins: items one confident Yes answers (strong evidence behind the suggestion).","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"unseen","in":"query","required":false,"description":"Only items you have not opened (mark_review_seen).","schema":{"description":"Only items you have not opened (mark_review_seen).","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 25.","schema":{"default":25,"description":"Page size, 1 to 100. Default 25.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"The venture read."},"items":{"description":"{ id, kind, title, sub, at, mine, quick, seen, ...kind fields }. compact: speaker conversation_id, slot_id, status, suggestion { contact_id, name }, twin_count · account conversation_id, suggestion { account_id, name, basis }, twin_count · recording conversation_id, source, recorded_at · thread conversation_id, thread_id, account_id, candidate_count · duplicate keeper_id, record_count. full adds the pane fields (alternatives, candidates, records, attendees, …).","type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"counts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Items per kind in the whole queue (filters and paging aside): { speaker, account, recording, thread, duplicate }"},"views":{"description":"Items flagged mine / quick in the loaded kinds.","type":"object","properties":{"mine":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["mine","quick"],"additionalProperties":false},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching kind + filters, across all pages (counts_only: the whole queue)."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]},"seen":{"description":"Ids on this page you have opened (also each item's seen).","type":"array","items":{"type":"string"}}},"required":["_venture","counts","total"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/items/{item_id}":{"get":{"operationId":"get_review_item","summary":"Get one review item with its context","description":"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.","tags":["Review"],"x-operation":"review.get_item","x-scope":"review:read","x-mcp-tool":"get_review_item","parameters":[{"name":"item_id","in":"path","required":true,"description":"<kind>:<id> as list_review_items returns it, e.g. speaker:<uuid>.","schema":{"type":"string","maxLength":200,"description":"<kind>:<id> as list_review_items returns it, e.g. speaker:<uuid>."}},{"name":"include_evidence","in":"query","required":false,"description":"Account items: read the call's evidence (default true; the first read of a call takes a few seconds).","schema":{"description":"Account items: read the call's evidence (default true; the first read of a call takes a few seconds).","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false},"item":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"The full item, as list_review_items view=full, plus the pane context."},"seen":{"type":"boolean","description":"You have opened it before."},"evidence":{"description":"Account items only.","anyOf":[{"type":"object","properties":{"quotes":{"type":"array","items":{"type":"object","properties":{"conversation_id":{"type":"string"},"quote":{"description":"Verbatim line; needs the transcripts grant.","type":"string"},"start_ms":{"type":"number"},"speaker":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"internal":{"type":"boolean"}},"required":["name","internal"],"additionalProperties":false},{"type":"null"}]},"match":{"description":"The words in the line that name the company.","type":["string","null"]}},"required":["conversation_id","start_ms","speaker","match"],"additionalProperties":false},"description":"Up to 3 lines that show where the outside people work, outside speakers first."},"companies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"relation":{"type":"string","enum":["their_company","customer_or_partner","tool","other"]},"mentions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likelihood":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"0-100: how likely this is the company the outside people work for."},"said_by":{"type":["string","null"]},"account":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},{"type":"null"}],"description":"The venture's existing account with this name, when there is one."}},"required":["name","relation","mentions","likelihood","said_by","account"],"additionalProperties":false},"description":"Every company named in the call, likeliest first."}},"required":["quotes","companies"],"additionalProperties":false},{"type":"null"}]},"next_steps":{"type":"array","items":{"type":"object","properties":{"answer":{"type":"string"},"tool":{"type":"string"},"args":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"means":{"type":"string"}},"required":["answer","tool","args","means"],"additionalProperties":false},"description":"The answers this item offers: tool to call, its arguments, and what choosing it means."}},"required":["_venture","item","seen","next_steps"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/account-evidence":{"get":{"operationId":"get_review_account_evidence","summary":"Read a call's account evidence","description":"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.","tags":["Review"],"x-operation":"review.account_evidence","x-scope":"review:read","x-mcp-tool":"get_review_account_evidence","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id (an account item's conversation_id).","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id (an account item's conversation_id)."}},{"name":"twin_conversation_ids","in":"query","required":false,"description":"The item's twin_conversation_ids: other copies of the same meeting, read together. Comma-separated or an array.","schema":{"description":"The item's twin_conversation_ids: other copies of the same meeting, read together. Comma-separated or an array.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"conversation_id":{"type":"string"},"evidence":{"anyOf":[{"type":"object","properties":{"quotes":{"type":"array","items":{"type":"object","properties":{"conversation_id":{"type":"string"},"quote":{"description":"Verbatim line; needs the transcripts grant.","type":"string"},"start_ms":{"type":"number"},"speaker":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"internal":{"type":"boolean"}},"required":["name","internal"],"additionalProperties":false},{"type":"null"}]},"match":{"description":"The words in the line that name the company.","type":["string","null"]}},"required":["conversation_id","start_ms","speaker","match"],"additionalProperties":false},"description":"Up to 3 lines that show where the outside people work, outside speakers first."},"companies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"relation":{"type":"string","enum":["their_company","customer_or_partner","tool","other"]},"mentions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"likelihood":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"0-100: how likely this is the company the outside people work for."},"said_by":{"type":["string","null"]},"account":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"}},"required":["account_id","name"],"additionalProperties":false},{"type":"null"}],"description":"The venture's existing account with this name, when there is one."}},"required":["name","relation","mentions","likelihood","said_by","account"],"additionalProperties":false},"description":"Every company named in the call, likeliest first."}},"required":["quotes","companies"],"additionalProperties":false},{"type":"null"}],"description":"null = the transcript read failed or there is no transcript yet; try again later."}},"required":["conversation_id","evidence"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/seen":{"post":{"operationId":"mark_review_seen","summary":"Mark review items seen or unseen","description":"Only changes your own read state.","tags":["Review"],"x-operation":"review.mark_seen","x-scope":"review:read","x-mcp-tool":"mark_review_seen","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"description":"Workspace the items belong to."},"item_ids":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"description":"1 to 1000 item ids, as GET /review returns them (<kind>:<source id>)."},"seen":{"type":"boolean","description":"true marks them opened, false marks them unread."}},"required":["venture_id","item_ids","seen"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Ids received."}},"required":["count"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/speakers/answer":{"post":{"operationId":"answer_review_speaker","summary":"Answer a speaker review item","description":"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.","tags":["Review"],"x-operation":"review.answer_speaker","x-scope":"review:write","x-mcp-tool":"answer_review_speaker","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"item_id":{"type":"string","maxLength":200,"description":"speaker:<slot id>, as list_review_items returns it."},"answer":{"type":"string","enum":["confirm","link","not_a_person"],"description":"confirm | link | not_a_person."},"contact_id":{"description":"Required for link: the contact who is speaking (same venture).","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["item_id","answer"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"item_id":{"type":"string"},"answer":{"type":"string","enum":["confirm","link","not_a_person"]},"contact_id":{"description":"The contact the slots now name (null for not_a_person).","type":["string","null"]},"slots":{"type":"array","items":{"type":"object","properties":{"conversation_id":{"type":"string"},"slot_id":{"type":"string"}},"required":["conversation_id","slot_id"],"additionalProperties":false},"description":"Every slot answered, main slot first."}},"required":["item_id","answer","contact_id","slots"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/accounts/answer":{"post":{"operationId":"answer_review_account","summary":"Answer an account review item","description":"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.","tags":["Review"],"x-operation":"review.answer_account","x-scope":"review:write","x-mcp-tool":"answer_review_account","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"item_id":{"type":"string","maxLength":200,"description":"account:<conversation id>, as list_review_items returns it."},"account_id":{"description":"An existing account in the same venture.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"new_account":{"description":"Create this account and link the call to it.","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"Account name as the company calls itself."},"domain":{"description":"Web domain, e.g. acme.com. Unique per venture.","type":"string","maxLength":253}},"required":["name"]},"none":{"description":"true = the call has no outside company.","type":"boolean","const":true}},"required":["item_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"item_id":{"type":"string"},"conversation_ids":{"type":"array","items":{"type":"string"},"description":"Every call answered, the item's call first."},"account":{"anyOf":[{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"},"created":{"type":"boolean"}},"required":["account_id","name","created"],"additionalProperties":false},{"type":"null"}],"description":"The account the calls now belong to; null for none."}},"required":["item_id","conversation_ids","account"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/thread":{"post":{"operationId":"answer_review_thread","summary":"Answer a thread review item","description":"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.","tags":["Review"],"x-operation":"review.answer_thread","x-scope":"review:write","x-mcp-tool":"answer_review_thread","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id (the item's conversation_id).","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id (the item's conversation_id)."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"from_thread_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The thread the call is parked in (the item's thread_id)."},"action":{"type":"string","enum":["confirm","move","new"],"description":"confirm | move | new."},"thread_id":{"description":"Required for move: the target thread (same account).","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"venture_id":{"description":"Optional. When sent it must be the call's venture.","type":"string","minLength":1,"maxLength":100}},"required":["from_thread_id","action"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["confirm","move","new"]},"thread_id":{"type":"string","description":"The thread the call is in now."}},"required":["action","thread_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/approve":{"post":{"operationId":"approve_review","summary":"Approve a held recording","description":"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.","tags":["Review"],"x-operation":"review.approve_recording","x-scope":"review:write","x-mcp-tool":"approve_review","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id of the held recording.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id of the held recording."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."},"status":{"type":"string","enum":["submitted","already_processing"],"description":"submitted = processing queued now."}},"required":["id","status"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/dismiss":{"post":{"operationId":"dismiss_review","summary":"Dismiss a held recording","description":"Soft-deletes the recording before it is processed. Only the recording's creator or a venture admin may dismiss it.","tags":["Review"],"x-operation":"review.dismiss_recording","x-scope":"review:write","x-mcp-tool":"dismiss_review","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id of the held recording.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id of the held recording."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."},"dismissed":{"type":"boolean","const":true,"description":"Always true."}},"required":["id","dismissed"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/speakers/{speakerId}/confirm":{"post":{"operationId":"confirm_speaker","summary":"Confirm a speaker match","description":"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.","tags":["Review"],"x-operation":"review.confirm_speaker","x-scope":"review:write","x-mcp-tool":"confirm_speaker","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"speakerId","in":"path","required":true,"description":"Speaker on this call.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Speaker on this call."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"speaker_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The contact the speaker now is (the existing one when linked)."},"match_source":{"type":"string","const":"manual","description":"manual"},"outcome":{"type":"string","enum":["promoted","linked_to_existing"]}},"required":["speaker_id","match_source","outcome"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/participants/{slotId}/approve":{"post":{"operationId":"approve_participant","summary":"Approve a participant suggestion","description":"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.","tags":["Review"],"x-operation":"review.approve_participant","x-scope":"review:write","x-mcp-tool":"approve_participant","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"slotId","in":"path","required":true,"description":"Participant slot on this call.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Participant slot on this call."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"slot_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The contact now confirmed on this slot."}},"required":["slot_id","contact_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/conversations/{id}/participants/{slotId}/dismiss":{"post":{"operationId":"dismiss_participant","summary":"Dismiss a participant suggestion","description":"Drops the slot's current suggestion; the next-best suggestion, if any, takes its place. Refused on an anonymised participant.","tags":["Review"],"x-operation":"review.dismiss_participant","x-scope":"review:write","x-mcp-tool":"dismiss_participant","parameters":[{"name":"id","in":"path","required":true,"description":"Conversation id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Conversation id."}},{"name":"slotId","in":"path","required":true,"description":"Participant slot on this call.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Participant slot on this call."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"slot_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["slot_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/review/contacts/{id}/dismiss-duplicate":{"post":{"operationId":"dismiss_duplicate_contact","summary":"Dismiss a duplicate-contact suggestion","description":"Records that the two contacts are different people, so the pair stops appearing.","tags":["Review"],"x-operation":"review.dismiss_duplicate","x-scope":"review:write","x-mcp-tool":"dismiss_duplicate_contact","parameters":[{"name":"id","in":"path","required":true,"description":"Contact id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Contact id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"duplicate_contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The other contact of the pair."}},"required":["duplicate_contact_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"duplicate_contact_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["contact_id","duplicate_contact_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts":{"get":{"operationId":"search_accounts","summary":"Search accounts","description":"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.","tags":["Accounts"],"x-operation":"accounts.search","x-scope":"accounts:read","x-mcp-tool":"search_accounts","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"ids","in":"query","required":false,"description":"Comma-separated account ids, up to 100. Fetch several records in one call.","schema":{"description":"Comma-separated account ids, up to 100. Fetch several records in one call.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},{"name":"query","in":"query","required":false,"description":"Keyword over account name or domain.","schema":{"description":"Keyword over account name or domain.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"industry","in":"query","required":false,"description":"Industry keyword.","schema":{"description":"Industry keyword.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"has_thread","in":"query","required":false,"description":"true: only accounts with a classified thread. false: only without.","schema":{"description":"true: only accounts with a classified thread. false: only without.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"has_deal","in":"query","required":false,"description":"Old name of has_thread (search_companies). has_thread wins when both are sent.","schema":{"description":"Old name of has_thread (search_companies). has_thread wins when both are sent.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"updated_since","in":"query","required":false,"description":"Only accounts changed at or after this time. Use for incremental sync.","schema":{"description":"Only accounts changed at or after this time. Use for incremental sync.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"from_date","in":"query","required":false,"description":"Only accounts created on or after this date.","schema":{"description":"Only accounts created on or after this date.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"to_date","in":"query","required":false,"description":"Only accounts created on or before this date (the whole day when no time is given).","schema":{"description":"Only accounts created on or before this date (the whole day when no time is given).","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"sort_by","in":"query","required":false,"description":"Default created_at.","schema":{"default":"created_at","description":"Default created_at.","type":"string","enum":["created_at","updated_at","name"]}},{"name":"sort_direction","in":"query","required":false,"description":"Default desc, or asc when sorting by name.","schema":{"description":"Default desc, or asc when sorting by name.","type":"string","enum":["asc","desc"]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 500. Default 20.","schema":{"default":20,"description":"Page size, 1 to 500. Default 20.","type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"accounts":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"size":{"type":["string","null"]},"location":{"type":["string","null"]},"website_url":{"type":["string","null"]},"contacts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Contacts linked to the account (the ones search_contacts lists)."},"threads":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Classified threads (deals on the ladder) with this account as primary."},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["account_id","name","domain","industry","size","location","website_url","contacts","threads","created_at","updated_at"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","accounts","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create_account","summary":"Create an account","description":"Creates an account (a company) in the venture. A domain another live account of the venture already has is refused (domain_taken).","tags":["Accounts"],"x-operation":"accounts.create","x-scope":"accounts:write","x-mcp-tool":"create_account","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"maxLength":100,"description":"Workspace for the account."},"name":{"type":"string","minLength":1,"maxLength":200,"description":"1 to 200 characters."},"domain":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"description":"Unique per venture, e.g. acme.com."},"website_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"description":"Up to 500 characters."},"industry":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Up to 100 characters."},"account_type":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"Free text segment, e.g. startup, smb, enterprise."},"size":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"Free text, e.g. 11-50."},"founded_year":{"anyOf":[{"type":"integer","minimum":1800,"maximum":2100},{"type":"null"}],"description":"1800 to 2100."},"location":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Up to 200 characters."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"description":"Notes, up to 2000 characters."},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"description":"Up to 500 characters."},"venture_role":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"How this account relates to the venture: customer, service_provider, competitor, partner or unknown. Stored lowercase."},"venture_role_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"description":"One line on why, up to 500 characters."}},"required":["venture_id","name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","properties":{"account_id":{"type":"string"},"venture_id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"website_url":{"type":["string","null"]},"industry":{"type":["string","null"]},"logo_url":{"type":["string","null"]},"account_type":{"description":"Segment, e.g. startup, smb, enterprise.","type":["string","null"]},"size":{"type":["string","null"]},"founded_year":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"location":{"type":["string","null"]},"description":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"funding_stage":{"type":["string","null"]},"venture_role":{"description":"How the account relates to the venture.","type":["string","null"]},"venture_role_source":{"description":"human or ai.","type":["string","null"]},"venture_role_reason":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["account_id","venture_id","name","domain","website_url","industry","logo_url","account_type","size","founded_year","location","description","linkedin_url","funding_stage","venture_role","venture_role_source","venture_role_reason","created_at","updated_at"],"additionalProperties":false,"description":"The created account."}},"required":["account"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{id}":{"get":{"operationId":"get_account","summary":"Get one account with its threads, contacts, calls and signals","description":"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.","tags":["Accounts"],"x-operation":"accounts.get","x-scope":"accounts:read","x-mcp-tool":"get_account","parameters":[{"name":"id","in":"path","required":true,"description":"Account id, from search_accounts.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Account id, from search_accounts."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false},"merged_from_account_id":{"description":"The id you asked for, when it was merged into this account.","type":"string"},"account":{"type":"object","properties":{"account_id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"website_url":{"type":["string","null"]},"industry":{"type":["string","null"]},"size":{"type":["string","null"]},"location":{"type":["string","null"]},"funding_stage":{"type":["string","null"]},"notes":{"type":["string","null"]}},"required":["account_id","name","domain","website_url","industry","size","location","funding_stage","notes"],"additionalProperties":false},"threads":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"Up to 25: { thread_id, pipeline, stage, close_probability_pct, owner, call_count, last_call }"},"total_threads":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"threads_note":{"type":"string"},"contacts":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"Up to 40: { contact_id, name, role }"},"total_contacts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"contacts_note":{"type":"string"},"calls":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"Up to 40: { conversation_id, title, recorded_at }"},"total_calls":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"calls_note":{"type":"string"},"signals":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"Up to 20: { signal_id, type, status, confidence, description, calls_on_this_account }"},"total_signals":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"signals_note":{"type":"string"}},"required":["_venture","account","threads","total_threads","contacts","total_contacts","calls","total_calls","signals","total_signals"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"update_account","summary":"Update an account","description":"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.","tags":["Accounts"],"x-operation":"accounts.update","x-scope":"accounts:write","x-mcp-tool":"update_account","parameters":[{"name":"id","in":"path","required":true,"description":"Account id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Account id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"1 to 200 characters."},"domain":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"description":"Unique per venture, e.g. acme.com."},"website_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"description":"Up to 500 characters."},"industry":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Up to 100 characters."},"account_type":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"Free text segment, e.g. startup, smb, enterprise."},"size":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"Free text, e.g. 11-50."},"founded_year":{"anyOf":[{"type":"integer","minimum":1800,"maximum":2100},{"type":"null"}],"description":"1800 to 2100."},"location":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Up to 200 characters."},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"description":"Notes, up to 2000 characters."},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"description":"Up to 500 characters."},"funding_stage":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"Free text, e.g. Seed, Series A."},"venture_role":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"How this account relates to the venture: customer, service_provider, competitor, partner or unknown. Stored lowercase."},"venture_role_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"description":"One line on why, up to 500 characters."}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","properties":{"account_id":{"type":"string"},"venture_id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"website_url":{"type":["string","null"]},"industry":{"type":["string","null"]},"logo_url":{"type":["string","null"]},"account_type":{"description":"Segment, e.g. startup, smb, enterprise.","type":["string","null"]},"size":{"type":["string","null"]},"founded_year":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"location":{"type":["string","null"]},"description":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"funding_stage":{"type":["string","null"]},"venture_role":{"description":"How the account relates to the venture.","type":["string","null"]},"venture_role_source":{"description":"human or ai.","type":["string","null"]},"venture_role_reason":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["account_id","venture_id","name","domain","website_url","industry","logo_url","account_type","size","founded_year","location","description","linkedin_url","funding_stage","venture_role","venture_role_source","venture_role_reason","created_at","updated_at"],"additionalProperties":false,"description":"The updated account."}},"required":["account"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete_account","summary":"Delete an account","description":"Soft delete. Contacts are unlinked and calls and threads lose it as their primary account.","tags":["Accounts"],"x-operation":"accounts.delete","x-scope":"accounts:write","x-flag":"destructive","x-mcp-tool":"delete_account","parameters":[{"name":"id","in":"path","required":true,"description":"Account id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Account id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Deleted account id."},"deleted":{"type":"boolean","const":true,"description":"Always true."}},"required":["id","deleted"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{id}/learnings":{"get":{"operationId":"get_account_learnings","summary":"List learnings from an account's calls","description":"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.","tags":["Accounts"],"x-operation":"accounts.learnings","x-scope":"accounts:read","x-mcp-tool":"get_account_learnings","parameters":[{"name":"id","in":"path","required":true,"description":"Account id, from search_accounts.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Account id, from search_accounts."}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 50. Default 12.","schema":{"default":12,"description":"Page size, 1 to 50. Default 12.","type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"learnings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"conversation_id":{"type":"string"},"learning_type":{"type":"string"},"description":{"type":"string"},"evidence_tier":{"type":"string","description":"E0 to E5."},"evidence_confidence":{"type":["number","null"]},"created_at":{"type":"string"}},"required":["id","conversation_id","learning_type","description","evidence_tier","evidence_confidence","created_at"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"All learnings for this account."}},"required":["learnings","total"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{id}/logo":{"put":{"operationId":"set_account_logo","summary":"Set an account's logo from an image URL","description":"Downloads the image at image_url and stores it as the account's logo. Only https URLs on the public internet; PNG, JPEG, WebP or GIF up to 5 MB (SVG is refused). A website or page URL is not an image and is refused.","tags":["Accounts"],"x-operation":"accounts.set_logo","x-scope":"accounts:write","x-mcp-tool":"set_account_logo","parameters":[{"name":"id","in":"path","required":true,"description":"Account id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Account id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image_url":{"type":"string","maxLength":2048,"format":"uri","description":"https URL of a PNG, JPEG, WebP or GIF image, at most 5 MB. It is downloaded and stored by us."}},"required":["image_url"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","properties":{"account_id":{"type":"string"},"venture_id":{"type":"string"},"name":{"type":"string"},"domain":{"type":["string","null"]},"website_url":{"type":["string","null"]},"industry":{"type":["string","null"]},"logo_url":{"type":["string","null"]},"account_type":{"description":"Segment, e.g. startup, smb, enterprise.","type":["string","null"]},"size":{"type":["string","null"]},"founded_year":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"location":{"type":["string","null"]},"description":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"funding_stage":{"type":["string","null"]},"venture_role":{"description":"How the account relates to the venture.","type":["string","null"]},"venture_role_source":{"description":"human or ai.","type":["string","null"]},"venture_role_reason":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["account_id","venture_id","name","domain","website_url","industry","logo_url","account_type","size","founded_year","location","description","linkedin_url","funding_stage","venture_role","venture_role_source","venture_role_reason","created_at","updated_at"],"additionalProperties":false,"description":"The updated account."}},"required":["account"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/merge":{"post":{"operationId":"merge_accounts","summary":"Merge accounts","description":"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.","tags":["Accounts"],"x-operation":"accounts.merge","x-scope":"accounts:write","x-flag":"destructive","x-mcp-tool":"merge_accounts","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"description":"Workspace of every account involved."},"target_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The account that is kept."},"source_account_ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"1 to 50 account ids merged into the target; not the target."},"field_overrides":{"description":"Values the merged account keeps. Keys: name, domain, industry, account_type, location, size, website_url, linkedin_url, description, founded_year.","type":"object","propertyNames":{"type":"string","enum":["name","domain","industry","account_type","location","size","website_url","linkedin_url","description","founded_year"]},"additionalProperties":{"type":["string","number","null"]}}},"required":["venture_id","target_account_id","source_account_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"sources_merged":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"contacts_transferred":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Contact links moved to the target."},"conversations_updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"threads_updated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"target_account":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"required":["sources_merged","contacts_transferred","conversations_updated","threads_updated","target_account"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/account-lists":{"get":{"operationId":"list_account_lists","summary":"List account lists","description":"The venture's account lists, oldest first, each with how many live accounts it holds.","tags":["Accounts"],"x-operation":"account_lists.list","x-scope":"accounts:read","x-mcp-tool":"list_account_lists","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"description":"Icon key; null = the default icon.","type":["string","null"]},"member_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"created_at":{"type":"string"}},"required":["id","name","icon","member_count","created_at"],"additionalProperties":false}}},"required":["lists"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create_account_list","summary":"Create an account list","description":"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.","tags":["Accounts"],"x-operation":"account_lists.create","x-scope":"accounts:write","x-mcp-tool":"create_account_list","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"type":"string","minLength":1,"description":"Workspace for the list."},"name":{"type":"string","minLength":1,"maxLength":120,"description":"1 to 120 characters, trimmed."},"account_ids":{"description":"Initial members, up to 500 account ids.","minItems":0,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["venture_id","name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"member_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","name","member_count"],"additionalProperties":false}},"required":["list"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/account-lists/{id}":{"patch":{"operationId":"update_account_list","summary":"Rename an account list or change its icon","tags":["Accounts"],"x-operation":"account_lists.update","x-scope":"accounts:write","x-mcp-tool":"update_account_list","parameters":[{"name":"id","in":"path","required":true,"description":"Account list id.","schema":{"type":"string","minLength":1,"maxLength":100,"description":"Account list id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"1 to 120 characters.","type":"string","minLength":1,"maxLength":120},"icon":{"description":"Icon key, or null for the default icon.","anyOf":[{"type":"string","enum":["list","users","star","flame","target","rocket","heart","crown","zap","flag","bookmark","building","handshake","briefcase","sparkles","coffee","snowflake","thermometer","sun","phone","mail","send","calendar","trophy","medal","euro","coins","trending-up","trending-down","user-check","user-x","hourglass","ghost","gem","megaphone","eye","shield"]},{"type":"null"}]}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":["string","null"]}},"required":["id","name","icon"],"additionalProperties":false}},"required":["list"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete_account_list","summary":"Delete an account list","description":"Soft-deletes the list and its memberships. The accounts themselves are untouched.","tags":["Accounts"],"x-operation":"account_lists.delete","x-scope":"accounts:write","x-flag":"destructive","x-mcp-tool":"delete_account_list","parameters":[{"name":"id","in":"path","required":true,"description":"Account list id.","schema":{"type":"string","minLength":1,"maxLength":100,"description":"Account list id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Deleted list id."},"deleted":{"type":"boolean","const":true,"description":"Always true."}},"required":["id","deleted"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/account-lists/{id}/members":{"post":{"operationId":"add_to_account_list","summary":"Add accounts to an account list","description":"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.","tags":["Accounts"],"x-operation":"account_lists.add_members","x-scope":"accounts:write","x-mcp-tool":"add_to_account_list","parameters":[{"name":"id","in":"path","required":true,"description":"Account list id.","schema":{"type":"string","minLength":1,"maxLength":100,"description":"Account list id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_ids":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"1 to 500 account ids."}},"required":["account_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"added":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Valid accounts now on the list (added, restored or already there)."}},"required":["added"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"remove_from_account_list","summary":"Remove accounts from an account list","description":"Removes the accounts from the list (soft). The accounts themselves are untouched.","tags":["Accounts"],"x-operation":"account_lists.remove_members","x-scope":"accounts:write","x-mcp-tool":"remove_from_account_list","parameters":[{"name":"id","in":"path","required":true,"description":"Account list id.","schema":{"type":"string","minLength":1,"maxLength":100,"description":"Account list id."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_ids":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"1 to 500 account ids."}},"required":["account_ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"removed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Members removed."}},"required":["removed"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/threads":{"get":{"operationId":"search_threads","summary":"Search the thread board","description":"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.","tags":["Threads"],"x-operation":"threads.search","x-scope":"threads:read","x-mcp-tool":"search_threads","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"ids","in":"query","required":false,"description":"Comma-separated thread ids, up to 100. Fetch several records in one call.","schema":{"description":"Comma-separated thread ids, up to 100. Fetch several records in one call.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},{"name":"updated_since","in":"query","required":false,"description":"Only threads changed at or after this time. Use for incremental sync.","schema":{"description":"Only threads changed at or after this time. Use for incremental sync.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"sort_by","in":"query","required":false,"description":"Sync order. When sent it replaces sort. Omit for the board order (sort).","schema":{"description":"Sync order. When sent it replaces sort. Omit for the board order (sort).","type":"string","enum":["created_at","updated_at"]}},{"name":"sort_direction","in":"query","required":false,"description":"Direction for sort_by. Default desc.","schema":{"description":"Direction for sort_by. Default desc.","type":"string","enum":["asc","desc"]}},{"name":"account","in":"query","required":false,"description":"Account name or thread title keyword.","schema":{"description":"Account name or thread title keyword.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"pipeline","in":"query","required":false,"description":"Track: deals, customer_success, investment, partnership, recruitment, research, connector, other (case-insensitive).","schema":{"description":"Track: deals, customer_success, investment, partnership, recruitment, research, connector, other (case-insensitive).","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"stage","in":"query","required":false,"description":"Stage within the track, e.g. discovery, negotiation, pilot (case-insensitive).","schema":{"description":"Stage within the track, e.g. discovery, negotiation, pilot (case-insensitive).","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"owner","in":"query","required":false,"description":"Only threads with or without an owner.","schema":{"description":"Only threads with or without an owner.","type":"string","enum":["assigned","unassigned"]}},{"name":"from_date","in":"query","required":false,"description":"Last call on or after this date (YYYY-MM-DD).","schema":{"description":"Last call on or after this date (YYYY-MM-DD).","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"to_date","in":"query","required":false,"description":"Last call on or before this date; a bare date includes the whole day.","schema":{"description":"Last call on or before this date; a bare date includes the whole day.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"include_unclassified","in":"query","required":false,"description":"Also include threads not placed on a pipeline. Default false.","schema":{"description":"Also include threads not placed on a pipeline. Default false.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"sort","in":"query","required":false,"description":"Board order: recent (last call, default), oldest, most_calls.","schema":{"description":"Board order: recent (last call, default), oldest, most_calls.","type":"string","enum":["recent","oldest","most_calls"]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 20.","schema":{"default":20,"description":"Page size, 1 to 100. Default 20.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"threads":{"type":"array","items":{"type":"object","properties":{"thread_id":{"type":"string"},"account":{"description":"The account's name, else the thread title.","type":["string","null"]},"account_id":{"type":["string","null"]},"pipeline":{"type":["string","null"]},"stage":{"type":["string","null"]},"call_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"first_call":{"description":"YYYY-MM-DD.","type":["string","null"]},"last_call":{"description":"YYYY-MM-DD.","type":["string","null"]},"owner":{"type":["string","null"]},"close_probability_pct":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"open_recommendations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"top_recommendation":{"type":["string","null"]},"updated_at":{"type":"string"}},"required":["thread_id","account","account_id","pipeline","stage","call_count","first_call","last_call","owner","close_probability_pct","open_recommendations","top_recommendation","updated_at"],"additionalProperties":false},"description":"{ thread_id, account, account_id, pipeline, stage, call_count, first_call, last_call, owner, close_probability_pct, open_recommendations, top_recommendation, updated_at }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","threads","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/threads/{id}":{"get":{"operationId":"get_thread","summary":"Get one thread","description":"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).","tags":["Threads"],"x-operation":"threads.get","x-scope":"threads:read","x-mcp-tool":"get_thread","parameters":[{"name":"id","in":"path","required":true,"description":"Thread id, from GET /threads.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Thread id, from GET /threads."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"thread":{"type":"object","properties":{"thread_id":{"type":"string"},"title":{"type":["string","null"]},"synopsis":{"type":["string","null"]},"account":{"type":["string","null"]},"account_id":{"type":["string","null"]},"pipeline":{"type":["string","null"]},"stage":{"type":["string","null"]},"owner":{"type":["string","null"]},"first_call":{"type":["string","null"]},"last_call":{"type":["string","null"]}},"required":["thread_id","title","synopsis","account","account_id","pipeline","stage","owner","first_call","last_call"],"additionalProperties":false,"description":"{ thread_id, title, synopsis, account, account_id, pipeline, stage, owner, first_call, last_call }"},"intelligence":{"anyOf":[{"type":"object","properties":{"close_probability":{"anyOf":[{"type":"object","properties":{"pct":{"type":["number","null"]},"confidence":{"type":["string","null"]},"why":{"type":["string","null"]}},"required":["pct","confidence","why"],"additionalProperties":false},{"type":"null"}]},"icp_fit":{"anyOf":[{"type":"object","properties":{"pct":{"type":["number","null"]},"segment":{"type":["string","null"]},"why":{"type":["string","null"]}},"required":["pct","segment","why"],"additionalProperties":false},{"type":"null"}]},"stated_budget":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number"},"amount_high":{"type":["number","null"]},"currency":{"type":["string","null"]},"period":{"type":["string","null"]},"quote":{"description":"The call quote it was verified against. Needs transcripts.","type":["string","null"]}},"required":["amount","amount_high","currency","period"],"additionalProperties":false},{"type":"null"}]},"asked_price":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number"},"amount_high":{"type":["number","null"]},"currency":{"type":["string","null"]},"period":{"type":["string","null"]},"quote":{"description":"The call quote it was verified against. Needs transcripts.","type":["string","null"]}},"required":["amount","amount_high","currency","period"],"additionalProperties":false},{"type":"null"}]}},"required":["close_probability","icp_fit","stated_budget","asked_price"],"additionalProperties":false},{"type":"null"}],"description":"Cached deal intelligence. Budget and price quotes need transcripts."},"intelligence_note":{"description":"Present when no intelligence has been computed yet.","type":"string"},"calls":{"type":"array","items":{"type":"object","properties":{"conversation_id":{"type":"string"},"title":{"type":["string","null"]},"recorded_at":{"type":["string","null"]},"membership":{"type":"string","description":"confirmed or suggested."},"why_matched":{"type":["string","null"]}},"required":["conversation_id","title","recorded_at","membership","why_matched"],"additionalProperties":false},"description":"Newest 50: { conversation_id, title, recorded_at, membership, why_matched }"},"total_calls":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"calls_note":{"type":"string"},"recommendations":{"type":"array","items":{"type":"object","properties":{"recommendation_id":{"type":"string"},"rank":{"type":["number","null"]},"title":{"type":["string","null"]},"recommendation":{"type":["string","null"]},"rationale":{"type":["string","null"]},"state":{"type":"string"}},"required":["recommendation_id","rank","title","recommendation","rationale","state"],"additionalProperties":false},"description":"Up to 15: { recommendation_id, rank, title, recommendation, rationale, state }"},"total_recommendations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"recommendations_note":{"type":"string"},"activity":{"type":"array","items":{"type":"object","properties":{"at":{"type":["string","null"]},"kind":{"type":"string"},"summary":{"type":"string"},"metric":{"type":"string"},"delta":{"type":["number","null"]}},"required":["at","kind","summary"],"additionalProperties":false},"description":"Newest 30: { at, kind, summary, metric?, delta? }"},"total_activity":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"activity_note":{"type":"string"}},"required":["_venture","thread","intelligence","calls","total_calls","recommendations","total_recommendations","activity","total_activity"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"update_thread","summary":"Change a thread's stage or owner","description":"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.","tags":["Threads"],"x-operation":"threads.update","x-scope":"threads:write","x-mcp-tool":"update_thread","parameters":[{"name":"id","in":"path","required":true,"description":"Thread id.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Thread id."}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"venture_id":{"description":"Optional. When sent, the thread must belong to this venture.","type":"string","minLength":1},"stage":{"description":"A stage of the thread's pipeline, e.g. pilot.","type":"string","minLength":1,"maxLength":40},"owner_user_id":{"description":"An active member of the venture, or null to clear the owner.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"thread_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stage":{"description":"The saved stage, when stage was sent.","type":"string"},"owner_user_id":{"description":"The saved owner, when owner_user_id was sent.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["thread_id"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/threads/{id}/learnings":{"get":{"operationId":"get_thread_learnings","summary":"Learnings per call along a thread","description":"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).","tags":["Threads"],"x-operation":"threads.learnings","x-scope":"threads:read","x-mcp-tool":"get_thread_learnings","parameters":[{"name":"id","in":"path","required":true,"description":"Thread id, from GET /threads.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Thread id, from GET /threads."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"account":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":false},{"type":"null"}],"description":"{ name } of the thread's account."},"reports":{"type":"array","items":{"type":"object","properties":{"conversation":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"recorded_at":{"type":["string","null"]},"summary":{"type":["string","null"]}},"required":["id","title","recorded_at","summary"],"additionalProperties":false},"learnings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"description":{"type":"string"},"evidence_tier":{"type":["string","null"]},"confidence":{"type":["number","null"]}},"required":["id","type","description","evidence_tier","confidence"],"additionalProperties":false}},"story":{"type":["string","null"]}},"required":["conversation","learnings","story"],"additionalProperties":false},"description":"Oldest first: { conversation { id, title, recorded_at, summary }, learnings[], story }"}},"required":["_venture","account","reports"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/signals":{"get":{"operationId":"get_signals","summary":"List signals","description":"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.","tags":["Signals"],"x-operation":"signals.list","x-scope":"signals:read","x-mcp-tool":"get_signals","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"ids","in":"query","required":false,"description":"Comma-separated signal ids, up to 100. Fetch several records in one call.","schema":{"description":"Comma-separated signal ids, up to 100. Fetch several records in one call.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},{"name":"updated_since","in":"query","required":false,"description":"Only signals changed at or after this time (last_updated_at). Use for incremental sync.","schema":{"description":"Only signals changed at or after this time (last_updated_at). Use for incremental sync.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"sort_by","in":"query","required":false,"description":"Default created_at. updated_at sorts by last_updated_at.","schema":{"description":"Default created_at. updated_at sorts by last_updated_at.","type":"string","enum":["created_at","updated_at"]}},{"name":"sort_direction","in":"query","required":false,"description":"Default desc.","schema":{"description":"Default desc.","type":"string","enum":["asc","desc"]}},{"name":"signal_type","in":"query","required":false,"description":"e.g. pain_point, workflow, objection.","schema":{"description":"e.g. pain_point, workflow, objection.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"status","in":"query","required":false,"description":"Promotion status.","schema":{"description":"Promotion status.","type":"string","enum":["candidate","emerging","validated","decision_grade"]}},{"name":"from_date","in":"query","required":false,"description":"Created on or after this date (YYYY-MM-DD).","schema":{"description":"Created on or after this date (YYYY-MM-DD).","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"to_date","in":"query","required":false,"description":"Created on or before this date; a bare date includes the whole day.","schema":{"description":"Created on or before this date; a bare date includes the whole day.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T.*)?$"}},{"name":"include_learnings","in":"query","required":false,"description":"Inline up to 10 deduped source learnings per signal. Default false.","schema":{"description":"Inline up to 10 deduped source learnings per signal. Default false.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 20.","schema":{"default":20,"description":"Page size, 1 to 100. Default 20.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"signals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"signal_type":{"type":"string"},"description":{"type":["string","null"]},"status":{"type":"string"},"confidence":{"type":["number","null"]},"evidence_summary":{"anyOf":[{"type":"object","properties":{"total_evidence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Distinct source learnings."},"unique_conversations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unique_accounts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"top_accounts":{"type":"array","items":{"type":"string"},"description":"Up to 5 account names."},"high_quality_pct":{"type":"number","description":"Share of E3+ evidence, 0 to 100."},"tier_distribution":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"},"description":"{ E0..E5: count }, sums to total_evidence."}},"required":["total_evidence","unique_conversations","unique_accounts","top_accounts","high_quality_pct","tier_distribution"],"additionalProperties":false},{"type":"null"}]},"learning_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Distinct live source learnings."},"date":{"description":"When the signal was first created.","type":"string"},"promoted_at":{"type":"string"},"last_updated_at":{"type":"string"},"last_evidence_date":{"type":"string"},"updated_at":{"type":"string"},"learnings":{"description":"With include_learnings: up to 10, deduped.","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":["string","null"]},"evidence_tier":{"type":["string","null"]},"confidence":{"type":["number","null"]},"similarity_score":{"type":["number","null"]},"conversation_id":{"type":["string","null"]},"date":{"type":"string"}},"required":["similarity_score","conversation_id"],"additionalProperties":false}},"learnings_truncated":{"type":"boolean"}},"required":["id","signal_type","description","status","confidence","evidence_summary","learning_count","updated_at"],"additionalProperties":false},"description":"{ id, signal_type, description, status, confidence, learning_count, promoted_at, last_updated_at, last_evidence_date, evidence_summary { total_evidence, unique_conversations, unique_accounts, top_accounts[], high_quality_pct, tier_distribution }, updated_at }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]},"note":{"type":"string","description":"How to get more detail."}},"required":["_venture","signals","total","limit","offset","has_more","next_cursor","note"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/signals/timeline":{"get":{"operationId":"get_signal_timeline","summary":"Weekly timeline of all signals","description":"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.","tags":["Signals"],"x-operation":"signals.timeline","x-scope":"signals:read","x-mcp-tool":"get_signal_timeline","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"weeks":{"type":"array","items":{"type":"string"},"description":"Monday dates (UTC), oldest first, up to 156."},"calls":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Calls per week."},"signals":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"m":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Calls backing the signal per week."},"sg":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Stage per week, 0 to 3; -1 before first heard."},"co":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Accounts per week, as the promotion rules count them."},"n0":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Calls before the first week."}},"required":["m","sg","co","n0"],"additionalProperties":false},"description":"{ <signal_id>: { m, sg, co, n0 } }"}},"required":["_venture","weeks","calls","signals"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/signals/{id}":{"get":{"operationId":"get_signal","summary":"Get one signal with evidence","description":"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.","tags":["Signals"],"x-operation":"signals.get","x-scope":"signals:read","x-mcp-tool":"get_signal","parameters":[{"name":"id","in":"path","required":true,"description":"Signal id, from GET /signals.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Signal id, from GET /signals."}},{"name":"quotes","in":"query","required":false,"description":"top (default): 3 quotes. all: up to 500.","schema":{"description":"top (default): 3 quotes. all: up to 500.","type":"string","enum":["top","all"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"signal":{"type":"object","properties":{"id":{"type":"string"},"venture_id":{"type":"string"},"signal_type":{"type":"string"},"description":{"type":"string"},"status":{"type":"string"},"confidence":{"type":["number","null"]},"evidence_summary":{"anyOf":[{"type":"object","properties":{"total_evidence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Distinct source learnings."},"unique_conversations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unique_accounts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"top_accounts":{"type":"array","items":{"type":"string"},"description":"Up to 5 account names."},"high_quality_pct":{"type":"number","description":"Share of E3+ evidence, 0 to 100."},"tier_distribution":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"},"description":"{ E0..E5: count }, sums to total_evidence."}},"required":["total_evidence","unique_conversations","unique_accounts","top_accounts","high_quality_pct","tier_distribution"],"additionalProperties":false},{"type":"null"}]},"promoted_at":{"type":["string","null"]},"last_updated_at":{"type":"string"},"last_evidence_date":{"type":["string","null"]}},"required":["id","venture_id","signal_type","description","status","confidence","evidence_summary","promoted_at","last_updated_at","last_evidence_date"],"additionalProperties":false,"description":"{ id, venture_id, signal_type, description, status, confidence, evidence_summary, promoted_at, last_updated_at, last_evidence_date }"},"accounts":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":["string","null"]},"account_name":{"type":"string"},"venture_role":{"description":"e.g. customer, service_provider, competitor.","type":["string","null"]},"conversations":{"type":"array","items":{"type":"object","properties":{"conversation_id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"},"evidence_tier":{"type":"string"},"confidence":{"type":"number"}},"required":["conversation_id","title","date","evidence_tier","confidence"],"additionalProperties":false}}},"required":["account_id","account_name","venture_role","conversations"],"additionalProperties":false},"description":"{ account_id, account_name, venture_role, conversations[] { conversation_id, title, date, evidence_tier, confidence } }"},"top_quotes":{"type":"array","items":{"type":"object","properties":{"quote":{"description":"Needs transcripts.","type":"string"},"evidence_tier":{"type":"string"},"account_name":{"type":"string"},"speaker_name":{"type":["string","null"]},"conversation_id":{"type":["string","null"]},"timestamp_ms":{"type":["number","null"]},"recorded_at":{"type":["string","null"]}},"required":["evidence_tier","account_name","speaker_name","conversation_id","timestamp_ms","recorded_at"],"additionalProperties":false},"description":"{ quote, evidence_tier, account_name, speaker_name, conversation_id, timestamp_ms, recorded_at }"},"timeline":{"type":"array","items":{"type":"object","properties":{"action":{"type":"string"},"previous_status":{"type":["string","null"]},"new_status":{"type":["string","null"]},"reason":{"type":["string","null"]},"created_at":{"type":"string"}},"required":["action","previous_status","new_status","reason","created_at"],"additionalProperties":false},"description":"Promotion history, oldest first: { action, previous_status, new_status, reason, created_at }"}},"required":["_venture","signal","accounts","top_quotes","timeline"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/signals/{id}/learnings":{"get":{"operationId":"get_signal_learnings","summary":"Page through a signal's source learnings","description":"Deduplicated: a learning cited by several calls appears once. Highest similarity first.","tags":["Signals"],"x-operation":"signals.learnings","x-scope":"signals:read","x-mcp-tool":"get_signal_learnings","parameters":[{"name":"id","in":"path","required":true,"description":"Signal id, from GET /signals.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Signal id, from GET /signals."}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 20.","schema":{"default":20,"description":"Page size, 1 to 100. Default 20.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"learnings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":["string","null"]},"type":{"type":["string","null"]},"evidence_tier":{"type":["string","null"]},"confidence":{"type":["number","null"]},"similarity_score":{"type":["number","null"]},"conversation_id":{"type":["string","null"]},"date":{"type":"string"}},"required":["similarity_score","conversation_id"],"additionalProperties":false},"description":"{ id, description, type, evidence_tier, confidence, similarity_score, conversation_id, date }"},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]}},"required":["_venture","learnings","total","limit","offset","has_more","next_cursor"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/context":{"get":{"operationId":"list_context","summary":"List compiled context classes","description":"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).","tags":["Context"],"x-operation":"context.list","x-scope":"context:read","x-mcp-tool":"list_context","parameters":[{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"context":{"type":"array","items":{"type":"object","properties":{"class":{"type":"string"},"entity_kind":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"last_compiled_at":{"type":["string","null"]}},"required":["class","entity_kind","count","last_compiled_at"],"additionalProperties":false},"description":"{ class, entity_kind, count, last_compiled_at }. No bodies."},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of entries listed."},"note":{"type":"string"}},"required":["_venture","context","total","note"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/context/{class}":{"get":{"operationId":"get_context","summary":"Read one context entry","description":"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.","tags":["Context"],"x-operation":"context.get","x-scope":"context:read","x-mcp-tool":"get_context","parameters":[{"name":"class","in":"path","required":true,"description":"Context class from GET /context, e.g. icp-state, risk-register, deal-state.","schema":{"type":"string","minLength":1,"maxLength":500,"pattern":"^[^\\u0000]*$","description":"Context class from GET /context, e.g. icp-state, risk-register, deal-state."}},{"name":"venture_id","in":"query","required":false,"description":"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.","schema":{"description":"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.","type":"string","minLength":1}},{"name":"entity_id","in":"query","required":false,"description":"Entity for a per-entity class. Omit for a venture-level class, or to list the class's entities.","schema":{"description":"Entity for a per-entity class. Omit for a venture-level class, or to list the class's entities.","type":"string","maxLength":500,"pattern":"^[^\\u0000]*$"}},{"name":"limit","in":"query","required":false,"description":"Page size, 1 to 100. Default 50.","schema":{"default":50,"description":"Page size, 1 to 100. Default 50.","type":"integer","minimum":1,"maximum":100}},{"name":"offset","in":"query","required":false,"description":"Items to skip.","schema":{"default":0,"description":"Items to skip.","type":"integer","minimum":0,"maximum":1000000}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Overrides offset.","schema":{"description":"next_cursor from the previous page. Overrides offset.","type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"_venture":{"type":"object","properties":{"id":{"type":"string"},"was_specified":{"type":"boolean"}},"required":["id","was_specified"],"additionalProperties":false,"description":"{ id, was_specified }. was_specified is false when your default venture was used."},"found":{"type":"boolean"},"message":{"description":"Why nothing was found, and what to call instead.","type":"string"},"context":{"description":"{ id, class, entity_kind, entity_id, confidence, compiled_at, valid_from, body_blocks, citations }","type":"object","properties":{"id":{"type":"string"},"class":{"type":"string"},"entity_kind":{"type":"string"},"entity_id":{"type":"string"},"confidence":{"type":"number"},"compiled_at":{"type":"string"},"compiled_by":{"type":"string"},"valid_from":{"type":"string"},"body_blocks":{},"citations":{}},"required":["id","class","entity_kind","entity_id","confidence","compiled_at","compiled_by","valid_from","body_blocks","citations"],"additionalProperties":false},"is_index":{"description":"True when listing a class's entities.","type":"boolean"},"entities":{"description":"{ entity_kind, entity_id, confidence, compiled_at }, with the paging fields.","type":"array","items":{"type":"object","properties":{"entity_kind":{"type":"string"},"entity_id":{"type":"string"},"confidence":{"type":"number"},"compiled_at":{"type":"string"}},"required":["entity_kind","entity_id","confidence","compiled_at"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Items matching, across all pages."},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Page size used."},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Offset used."},"has_more":{"type":"boolean","description":"True when another page exists."},"next_cursor":{"description":"Pass as cursor to get the next page. null on the last page.","type":["string","null"]},"note":{"type":"string"}},"required":["_venture","found"],"additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"tags":[{"name":"Ventures","description":"A venture is one workspace. Every other resource belongs to exactly one."},{"name":"Conversations","description":"A conversation is one recorded or imported call. Calls awaiting review are visible only to their creator and workspace admins."},{"name":"Review","description":"The For review queue: everything waiting on a person. Item ids look like <kind>:<source_id>."},{"name":"Speakers and participants","description":"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."},{"name":"Contacts","description":"Everyone spoken with on a venture's calls. Merged contacts redirect: reading a merged id returns the survivor with merged_from_contact_id."},{"name":"Accounts","description":"Organisations that appear on a venture's calls. Merged accounts redirect like contacts."},{"name":"Threads","description":"A thread is one account's sales or relationship track: its calls placed on a pipeline stage."},{"name":"Signals","description":"Signals are patterns that recur across calls, promoted candidate → emerging → validated → decision_grade."},{"name":"Context","description":"/context is the venture's compiled company brain. Each statement cites claims with E0 to E5 evidence tiers."}]}