TR Try tools
← PBX Search

PBX Dictionary Add Alias

Add a synonym/alias to the domain dictionary (pbx-scoped or global demo) — compounds search boost + Fact extract. ≤60/hour/key → 429. Idle $0.

POST /v1/pbx/dictionary/add · 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.

POST/v1/pbx/dictionary/add
Request
{
  "term": "klima",
  "alias": "cooling",
  "domain": "otel",
  "scope": "global"
}
no request sent yet
Response
Press Run to try free — no key needed.
1endpoints
data points banked
time series
median response

Why this exists

Built for hostile input

A Turkish address arrives as "Cd." or "Cad." or "Caddesi", with the flat number glued to the building number. Generic parsers drop half of it silently. This one tells you what it could not place.

Every number carries its provenance

Each archived point stores the source URL and a content hash of the page it came from, and the archive is committed to a Merkle root anchored in Bitcoin. Every commitment — with its cutoff, leaf count and anchors — is published at /proof, so you can check for yourself how current the latest one is. The bulletins themselves are public and anyone can read them; what this adds is that a number you quote can be shown to be the number we held on that date, and that it has not been edited since.

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/dictionary/add PBX Dictionary Add Alias 1 credit

Add a synonym/alias to the domain dictionary (pbx-scoped or global demo) — compounds search boost + Fact extract. ≤60/hour/key → 429. Idle $0.

POST /v1/pbx/dictionary/add {term, alias, domain:otel|santral_firmasi, scope?:pbx|global}. Persists to pbx-index. Search returns match crumbs. Idle $0, no LLM. Legacy domain=msp → santral_firmasi.

Parameters

term* string Canonical term (e.g. AC, tariff). Plain Turkish preferred.
alias* string Synonym / alias to add (e.g. cooling, line package).
domain "otel" | "santral_firmasi" | "msp" Domain: otel | santral_firmasi (legacy msp accepted). default "otel"
kind "imei" | "tarife" | "oda" | "oda_tipi" | "klima" | "check_out" | "iade" | "sku" | "other" Fact kind; inferred from seed term when omitted.
boost number Search boost weight (default 2).
scope "pbx" | "global" pbx = scoped to x-temsor-pbx-key; global = demo-wide. Default: pbx if registered key, else global.
hint_tr string
hint_en string
POST/v1/pbx/dictionary/add
Request
{
  "term": "klima",
  "alias": "cooling",
  "domain": "otel",
  "scope": "global"
}
no request sent yet
Response
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.

The API key is e-mailed the moment payment clears. Upgrades keep the same key, so your integration is never broken.

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, so Claude, ChatGPT or your own agent can call it directly — no glue code, no wrapper functions. The assistant sees the same input schemas and the same metering.

Currently 68 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.${(() => {
  const first = apis[0];
  return first.slug.split(/[/-]/).map((p, i) => (i === 0 ? p : p[0].toUpperCase() + p.slice(1))).join('');
})()}(${esc(JSON.stringify(apis[0].examples[0]?.input ?? {}))});
console.log(r, r.$meta);

cURL

curl -s https://api.temsor.com/v1/pbx/dictionary/add \
  -H "content-type: application/json" \
  -H "x-api-key: fk_live_…" \
  -d '{"term":"klima","alias":"cooling","domain":"otel","scope":"global"}'

JavaScript

const res = await fetch("https://api.temsor.com/v1/pbx/dictionary/add", {
  method: "POST",
  headers: { "content-type": "application/json", "x-api-key": KEY },
  body: JSON.stringify({"term":"klima","alias":"cooling","domain":"otel","scope":"global"})
});
const { data } = await res.json();

Python

import httpx
r = httpx.post("https://api.temsor.com/v1/pbx/dictionary/add",
    headers={"x-api-key": KEY},
    json={"term":"klima","alias":"cooling","domain":"otel","scope":"global"})
data = r.json()["data"]
temsor API

Small, precise APIs behind one key and one response envelope. New endpoints ship on the same key.

References OpenAPI 3.1MCP manifestService health
Response contract

{ ok, data, meta }

{ ok:false, error }

Tell us what broke

Wrong answer, missing field, an endpoint you wish existed — it reaches a person, not a queue.