Working the review queue
What Krans cannot settle on its own waits in the review queue for a person: who is speaking on a call, which company a call is with, which deal a call belongs to, contacts that may be one person, and imported recordings held before processing. The API and MCP can work the whole queue, so an agent can prepare each answer and a person approves it.
- List the queue.
GET /review(list_review_items,review:read) returns items newest first, up to 100 per kind, in a compact view with the ids you need. Narrow it withkind,mine(items about you),quick(items one confident yes answers) orunseen;counts_onlyreturns just the numbers. Each item's id is<kind>:<id>, e.g.speaker:<slot id>.curl "https://api.krans.ai/v1/review?venture_id=<venture_id>&kind=speaker&quick=true" \ -H "Authorization: Bearer $KRANS_API_KEY" - Read one item.
GET /review/items/{item_id}(get_review_item) returns everything needed to decide, plusnext_steps: the exact calls that answer it, with arguments filled in. Pick one and replace its<placeholders>. An item answered in the meantime reads asnot_found. - Answer it (
review:write) with the call for its kind.
| Kind | Answer with | Choices |
|---|---|---|
speaker | POST /review/speakers/answeranswer_review_speaker | confirm the suggestion, link to contact_id, or not_a_person (noise, music, a bot, a duplicate voice). |
account | POST /review/accounts/answeranswer_review_account | Exactly one of account_id, new_account (name, optional domain) or none: true for a call with no outside company. |
thread | POST /review/conversations/{id}/threadanswer_review_thread | confirm it belongs in from_thread_id, move it to thread_id (a thread of the same account), or start a new deal. |
recording | approve_review / dismiss_review | Process the held recording, or delete it before processing. Only its creator or a venture admin. |
duplicate | merge_contacts / dismiss_duplicate_contact | Merge the records (contacts:write plus destructive) or record that they are different people. |
curl -X POST https://api.krans.ai/v1/review/speakers/answer \
-H "Authorization: Bearer $KRANS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "speaker:<slot id>", "answer": "link", "contact_id": "<contact_id>"}'- One answer covers every copy of a meeting. When the same meeting was recorded more than once, speaker and account answers apply to each copy. A speaker answer also settles other calls where the same person is suggested (
twin_slots). - Answers have effects. Summaries and learnings refresh when a speaker changes; an account answer recomputes signals and re-threads the call.
- Partial failures. Copies are answered one by one. If one fails you get the error: answered speaker slots leave the queue and an unanswered copy comes back as its own item; an account item stays in the queue. A
new_accountis created first, so on a retry send itsaccount_id. - Avoid duplicates. Before creating an account, check
search_accountsand the item's evidence.GET /review/conversations/{id}/account-evidence(get_review_account_evidence) shows what the call says about who the outside people work for;get_review_itemalready includes it for account items. A taken domain fails withdomain_taken: use that account instead. - Seen state is per person:
POST /review/seen(mark_review_seen) changes only yours. Held recordings are listed only to their creator and venture admins.