oslew docs
Console
Menu

GeocodingaddressoperationId sla

GET/v1/sla

Published hold-out accuracy bands and places scoreboard headlines: how far answers land from the truth, measured, not promised.

Send Authorization: Bearer sk_live_…. The key's plan must include theaddress product; which plans do.

Explained in Feedback and accuracy bands.

Example

The published accuracy bands.

curl
curl "https://api.oslew.com/v1/sla" \
  -H "Authorization: Bearer $GEO_API_KEY"
Python
from oslew import Client

# The key is read from GEO_API_KEY.
client = Client(base_url="https://api.oslew.com")

answer = client.sla()
TypeScript
import { Client } from "@oslew/client";

// The key is read from GEO_API_KEY.
const client = new Client({ baseUrl: "https://api.oslew.com" });

const answer = await client.sla();
Response
HTTP/1.1 200 OK
content-type: application/json
ratelimit-limit: 100
ratelimit-remaining: 292
ratelimit-reset: 1

{
  "epoch": 30,
  "release": "2026-08-19.0",
  "address_correct_m": 250,
  "holdout": [
    {
      "context": "city",
      "within_10_m": 0.035,
      "within_250_m": 0.395,
      "median_m": 673,
      "note": "numbered address hold-out, city context"
    },
    {
      "context": "postcode",
      "within_10_m": 0.061,
      "within_250_m": 0.732,
      "median_m": 93,
      "note": "numbered address hold-out, postcode context"
    }
  ],
  "places_holdout": [
    {
      "context": "unique+context",
      "within_10_m": 0.99,
      "within_250_m": 0.99,
      "median_m": 0,
      "note": "places TABLE All/full/exact/context — Laplace ~0.992"
    },
    {
      "context": "fuzzy+context",
      "within_10_m": 0.99,
      "within_250_m": 0.99,
      "median_m": 0,
      "note": "places TABLE Fuzzy/full/exact/context — Laplace ~0.995"
    },
    {
      "context": "partial+context",
      "within_10_m": 0.8,
      "within_250_m": 0.8,
      "median_m": 0,
      "note": "places TABLE Partial — Laplace ~0.80; agents should ask"
    }
  ],
  "places_scoreboard": {
    "unique_top1": 1,
    "typo_top1": 0.956,
    "alternate_lang_top1": 0.943,
    "note": "upper bound: probes spelled as the corpus spells them"
  },
  "recalibrate": "cargo run -p geo-bench --bin calibrate_addresses -- <holdout.csv>",
  "fit_rerank": "cargo run -p geo-bench --bin fit_rerank -- <holdout.csv>",
  "fit_feedback": "cargo run -p geo-bench --bin fit_feedback -- <query-log.ndjson>",
  "models": {
    "segmenter": "geo_text::segment — peel house#/postcode/country before the FST; exposed as geocode.parse",
    "rerank_weights": "geo_index::rerank_active_weights — priors, or GEO_RERANK_WEIGHTS=… at serve time",
    "margin": "decision::MARGIN = 0.12 — act / ask / refuse",
    "category_intent": "geo_text::category_intent — nearby?q= → category token",
    "conflation": "geo_build::conflate::match_score — Jaccard + trigram + distance at build",
    "note": "Models sit around the FST (parse, refuse, learn from commits), not replace it."
  }
}

A real response, captured from the service at commit b8f4bde-dirty. Timing fields such as took_us differ on every call.

Responses

200 — The accuracy bands and scoreboard headlines.

object

With RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset(and their X-RateLimit-* aliases); see rate limits.

Refusals

Every refusal is a JSON object with an error string, except where noted.

401No key, or one that is unknown, revoked or suspended.
403The key's plan does not include this route's product, or the request is larger than the plan allows. The body names the plan that does.
429This product's bucket is empty: the key is going faster than its plan's sustained rate. Wait Retry-After seconds; nothing is used up. Carries Retry-After.
503The pod cannot reach the control plane and its entitlements are too old to trust. Retry.

A malformed query string or JSON body is refused by the framework before this route runs, in plain text rather than JSON; see errors.

Rendered from the OpenAPI document at commit b8f4bde-dirty; the same document is served at/v1/openapi.json and generates both clients.