BAJS API
The engine, as an endpoint.
Municipal sanitation as inference. The same engine 41 municipalities already run. Now as POST.
For the one who writes against the case, not against the chat.
Civic identity · OpenAI-compatible · 40 calls/min
Use
Four calls against the same park.
01
Field → case
A pile in the polygon. POST classifies it. The answer lands in the register, not in a chat.
02
Trace → register
DNA-matrix matches against the dog register. The answer is a TASS id. Not a name.
03
Window → roster
Fourteen days of risk. You send the crew where the substrate points, not where the complaint arrived.
04
Pile → liability
The graph traverses Pile→Dog→Liable subject. The sanction is an action. Foundry had a slide.

The substrate
The use is the park. The API is the gaze.
POST · polygon STK-04 · classification ELEVATED
The layer
Five ways to call the park.
01
The key
One secret key. Municipal scopes. Shown once. After that it exists only in the client that calls.
02
The envelope
OpenAI-compatible. The same POST, the same Bearer, the same choices[]. You change the base URL. The polygon comes back in the response.
03
The ontology
Objects, not rows. Lamp, pile, leash, liable subject. An action writes a case. What Palantir called operationalising we call entering in the register.
04
The graph
Neo4j-native Cypher against the municipal property graph. Traversal is the query. Rows were a mistake.
05
The floor
14,200 polygons per second. SLA 99.6%. ACU is not a chip. It is a park.
The stack
The same engine. Five dialects.
Envelope
OpenAI-compatible
The same envelope. The same choices[]. The licensee is responsible for downstream use of outputs, including sanctions.
Ontology
AIP-shaped
The park is the object model. Foundry had rows. Gotham Park has nodes. An action writes a case, not a slide.
Graph
Neo4j-native
Hund-[:LÄMNAT]->Hög-[:FUNNEN_I]->Polygon. The intelligence systems drew maps. We run the query against the map.
Throughput
Groq-class
Inference is a latency problem. 14,200 polygons/s is the floor. We do not host a model. We host the substrate.
Constitution
Anthropic-led
The model refuses to identify people. It identifies polygons. The difference is a coordinate and Chapter 2 of the Secrecy Act.
Sovereign inference
The envelope is theirs. The rack is ours.
Every inference vendor sells the same thing now: that the rack is not in Virginia. You did not want us-east-1. You got a realm. The weights do not leave Sweden. Tokens are square metres. The region is not eu-north-1. It is MARIA-7.
The envelope you already write against
- OpenAI
- Groq
- Anthropic
- Mistral
- Cohere
- Neo4j
The same POST, the same Bearer, the same choices[]. Compatibility is the envelope. Sovereignty is where the rack stands.
The realm
three sites · no tokens out
- us-east-1refused
- eu-west-1refused
- eu-north-1refused
- se-maria-7live
- se-boden-aculive
- se-stk-04edge
Sites
Three racks. One realm.
se-maria-7
LIVE
MARIA-7
Stockholm · 30 m under Mariaberget
Ontology · constitution·District heat back to the city
Rock-secure, white-mountain class. No tokens leave the mountain. What Palantir called Foundry we call the register, in the rock.
se-boden-acu
LIVE
BODEN-ACU
Norrbotten · the Lule river
Throughput · Groq-class·Hydro, 400 kV
14,200 polygons a second. Power from the river. An ACU is not a chip. It is a river and a rack.
se-stk-04
EDGE
STK-04
Tantolunden · lamp L3
Detection at source·Municipal lighting
Sovereign edge. Inference begins in the polygon. Do not move the weights to a region. Move the lamp.
Sovereignty is regionality with a flag on the rack. The same hunger as the others. A different soil. The engine runs in the realm because you asked. The polygon was already here.
The graph
The municipality is a property graph.
Traversal is the query. Cypher against the park. A node is a lamp, a pile, a leash, a liable subject. Rows were a mistake.
GOTHAM PARK · LIVE
7 nodes · 7 relations · polygon STK-04
- Polygon
- Lamp
- Leash
- Pile
- DNA
- Dog
- Liability
Polygon · STK
STK-044,180 m²
0 hops from polygon
- Class
- ELEVATED
- Lamps
- 14
- Latest
- 06:14
Cypher · Neo4j-native
MATCH (h:Hög)-[:FUNNEN_I]->(p:Polygon {id:'STK-04'})
OPTIONAL MATCH (h)<-[:LÄMNAT]-(d:Hund)-[:ÄGS_AV]->(a:Ansvarssubjekt)
RETURN h, p, d, aModels
Five weights. One substrate.
| Model | Layer | Latency | Throughput |
|---|---|---|---|
| bajs-acus-hund-4 | Detection | 12 ms | 14 200 polygoner/s |
| bajs-dna-matrix | Identification | 72 ms | 600 prover/vecka |
| bajs-predikt-14d | Forecast | 41 ms | 18 200 polygoner / 6 h |
| bajs-gotham-park | Ontology | 19 ms | objekt, inte rader |
| bajs-graph-native | Graph | 7 ms | traversering / hopp |
Billing
A token is a square metre.
A token is a square metre of polygon under a millisecond of sensor. You do not pay for language. You pay for surface. Civic scope is included in the platform licence. 40 calls a minute. The graph is billed per hop in Foundry mode — which is not yet open.
BAJS API FAQ