PBX In-Call Partial Index Upsert
Upsert mid-call partial index (utterances → fact/promise hints). Path to ≤400ms whisper; ≤600/hour/key → 429; idle $0.
POST /v1/pbx/index/partial · 1 credit
- No account needed to try any endpoint on this page.
- Deterministic endpoints answer from cache in single-digit milliseconds.
- Every response carries a receipt: credits charged, cache status, duration.
Free try on this page → when you need a key, Proceed to pay · API access.
/v1/pbx/index/partial
{
"call_id": "call_live_demo",
"text": "Agent: I promise we will fix the AC in room 412 tomorrow.",
"speaker": "agent",
"t_ms": 12000,
"is_final": true,
"live": true
}Press Run to try free — no key needed.Why this exists
Built for hostile input
A phone number arrives with spaces, a trunk zero and no country code; an IBAN arrives with one digit transposed. Generic validators answer yes or no and move on. These tell you what was wrong and what the input most likely meant.
Every rule carries its source
Checksums follow the published algorithms (IBAN mod-97, national BBAN structures, E.164 numbering plans). When an answer cannot be verified, the response says so instead of guessing — a structurally valid number is never presented as a registry match.
You only pay for work
Repeated inputs come from cache and cost zero credits. If a response ever fails its own schema, the call is refunded automatically.
Endpointsexpand any row to see the parameters and call it live
PBX Search1
/v1/pbx/index/partial
PBX In-Call Partial Index Upsert
1 credit
Upsert mid-call partial index (utterances → fact/promise hints). Path to ≤400ms whisper; ≤600/hour/key → 429; idle $0.
POST /v1/pbx/index/partial {call_id, text?, speaker?, t_ms?, is_final?, live?, end_call?, promote?}. Streams partial STT queue into accumulating Fact/Promise hints while the call is live. No Temsor STT/LLM — customer posts text. Managed SaaS in-call index; no DID sales. Own PBX optional footnote. Idle $0.
Parameters
| call_id* | string | Live call id to upsert partial index for. |
| text | string | Partial utterance / snippet (customer STT or demo). Empty = metadata-only. |
| speaker | string | null | |
| t_ms | integer | null | |
| is_final | boolean | Finalized utterance span (vs interim). |
| live | boolean | Default true while call is live. |
| end_call | boolean | Mark live=false; idle $0 for this call. |
| promote | boolean | Promote heuristic hints into durable Promise/Fact docs. |
| pbx_id | string |
/v1/pbx/index/partial
{
"call_id": "call_live_demo",
"text": "Agent: I promise we will fix the AC in room 412 tomorrow.",
"speaker": "agent",
"t_ms": 12000,
"is_final": true,
"live": true
}Press Run to try free — no key needed.Pricingone key covers every endpoint
Free try on this page → when you need a key, Proceed to pay · API access.
Credits are consumed per call and cache hits are free. Requests without a key run on a narrow per-IP demo quota so you can evaluate before signing up.
No monthly fee: sign in, add prepaid credits ($10, $25 or $50) and use the same key across every endpoint. You pay $0 when idle.
Want to finish the integration before paying?
Use it from an AI assistantthe same catalogue, exposed as MCP tools
Every endpoint is also published over the Model Context Protocol — business-data and voice/call-ops agent tooling (call archive search · promises · redaction · whisper) on one surface. Claude, ChatGPT or your own agent can call them directly: same schemas, same metering, when quiet, no glue code.
Currently 43 tools. New endpoints appear automatically; nothing to update on your side.
claude_desktop_config.json
{
"mcpServers": {
"temsor": {
"url": "https://api.temsor.com/mcp",
"headers": { "x-api-key": "fk_live_…" }
}
}
}
Quickstart
Official client: npm install temsor-api · npmjs.com/package/temsor-api
Node.js
import Client from "temsor-api";
const api = new Client({ apiKey: KEY });
const r = await api.pbxIndexPartial({"call_id":"call_live_demo","text":"Agent: I promise we will fix the AC in room 412 tomorrow.","speaker":"agent","t_ms":12000,"is_final":true,"live":true});
console.log(r, r.$meta);cURL
curl -s https://api.temsor.com/v1/pbx/index/partial \
-H "content-type: application/json" \
-H "x-api-key: fk_live_…" \
-d '{"call_id":"call_live_demo","text":"Agent: I promise we will fix the AC in room 412 tomorrow.","speaker":"agent","t_ms":12000,"is_final":true,"live":true}'JavaScript
const res = await fetch("https://api.temsor.com/v1/pbx/index/partial", {
method: "POST",
headers: { "content-type": "application/json", "x-api-key": KEY },
body: JSON.stringify({"call_id":"call_live_demo","text":"Agent: I promise we will fix the AC in room 412 tomorrow.","speaker":"agent","t_ms":12000,"is_final":true,"live":true})
});
const { data } = await res.json();Python
import httpx
r = httpx.post("https://api.temsor.com/v1/pbx/index/partial",
headers={"x-api-key": KEY},
json={"call_id":"call_live_demo","text":"Agent: I promise we will fix the AC in room 412 tomorrow.","speaker":"agent","t_ms":12000,"is_final":true,"live":true})
data = r.json()["data"]