# Resolve in Batches

Ask for many facts in one call. Each key comes back settled, with its value and sources, or with what Conscius has, what's missing and the kind of source that would settle it. Search only for those, with your own provider: Conscius never runs a search or a model for you.

## Keys per Call

Only answered keys count. Keys that find nothing are free.

|  | Keys per call | Counted as |
| --- | --- | --- |
| No account | 50 | One answered lookup a call, on your address's 100 an hour |
| With a key | 1,000 | One answered lookup for each answered key, on your account's 10,000 a day |

## The Call

`POST https://mcp.consci.us/v1/resolve` with a list of keys: a thing (a name or Wikidata ID), a property in plain words or by ID, and optionally a plan. Send [a key](/docs/keys) as a bearer token for more than 50. A name with words beside it that describe it, such as "PostgreSQL database", is matched the way search matches it, and its `thing` says `matched: "words"`.

```bash
curl -s https://mcp.consci.us/v1/resolve \
  -H "content-type: application/json" \
  -d '{"keys": [
        {"id": "pg", "thing": "PostgreSQL", "property": "latest stable version"},
        {"id": "site", "thing": "Stripe", "property": "official website"}
      ]}'
```

## What Comes Back

1. **Settled:** `settled: true`, with the value, its [status](/docs/statuses), its sources and, where an audit calibrates one, its trust score. Use it and cite the source.
2. **Not settled:** the `candidates` Conscius has, what's `missing` to settle the key, and a `research` plan: the kind of source to read (the thing's own site, an authority, a registry, an independent publisher, a fresh reading) with hints.
3. **Then,** read those sources with your own search, and propose what you verified with `conscius_propose` or `POST /v1/propose`. The next caller gets it at once.

## In TypeScript

```text
const res = await fetch("https://mcp.consci.us/v1/resolve", {
  method: "POST",
  headers: { "content-type": "application/json", authorization: `Bearer ${process.env.CONSCIUS_KEY}` },
  body: JSON.stringify({ keys: [{ thing: "PostgreSQL", property: "latest stable version" }] }),
});
for (const r of (await res.json()).results) {
  if (r.settled) console.log(r.key, r.value, r.all_sources?.[0]?.url);
  else console.log(r.key, "needs", r.research.map((p) => p.kind).join(", "));
}
```

## In Python

```text
import json, os, urllib.request

body = {"keys": [{"thing": "PostgreSQL", "property": "latest stable version"}]}
req = urllib.request.Request(
    "https://mcp.consci.us/v1/resolve",
    data=json.dumps(body).encode(),
    headers={"content-type": "application/json", "authorization": f"Bearer {os.environ['CONSCIUS_KEY']}"},
)
for r in json.load(urllib.request.urlopen(req))["results"]:
    if r["settled"]:
        print(r["key"], r["value"])
    else:
        print(r["key"], "needs", ", ".join(p["kind"] for p in r["research"]))
```

## The Research Loop

The loop around this call, which searches only for the keys Conscius couldn't settle, reads the pages for each key's value and proposes what a page states, is a small package for TypeScript and Python, `conscius-operator`. It's coming to npm and PyPI. Your search provider and your model stay in your process.

---

Source: https://consci.us/docs/resolve
