The Forge API, the 32-tool MCP server, and the reliability internals. Get a free key at forge.foundrynet.io/pricing: 3 machines, no card.
Base URL https://forge.foundrynet.io. Authenticated /v1/* requests send Authorization: Bearer <key>
and, with a body, Content-Type: application/json. Free keys start with forge_sandbox_; paid metered keys with fnet_.
Every example response on this page is an excerpt of a real response from production, captured on 2026-10-27.
POST /v1/identify. Normalize provisions the same machine on its own when you send oem, model and serial.POST /v1/normalize.POST /v1/verify (public, no key).GET /v1/history/{machine_id}.POST /v1/tools), draft a rule from plain English (POST /v1/triggers/natural), arm it (POST /v1/triggers).# 1. Free API key (issued instantly): forge.foundrynet.io/pricing
export FORGE_KEY="forge_sandbox_..."
# 2. Identify (optional: normalize provisions the same machine from oem+model+serial)
curl -s https://forge.foundrynet.io/v1/identify \
-H "Authorization: Bearer $FORGE_KEY" -H "Content-Type: application/json" \
-d '{"oem": "haas", "model": "VF-2", "serial": "DOCS-VF2-001"}'
# 3. Normalize
curl -s https://forge.foundrynet.io/v1/normalize \
-H "Authorization: Bearer $FORGE_KEY" -H "Content-Type: application/json" \
-d '{"data": {"S SPEED (RPM)": 8500, "SP LOAD PCT (%)": 42, "COOL_TEMP [Β°F]": 68.0}, "oem": "haas", "model": "VF-2", "serial": "DOCS-VF2-001"}' > record.json
# 4. Verify the record (public, no key)
curl -s https://forge.foundrynet.io/v1/verify \
-H "Content-Type: application/json" \
-d "{\"record\": $(cat record.json)}"
/v1/identify
Provision or look up one machine. The id is derived from what you send: oem, model and serial are lowercased into internal_id (oem:model:serial), and machine_id is derived from that. The same three values always return the same machine, so calling it twice is safe (created: false the second time). Optional.
{
"oem": "haas",
"model": "VF-2",
"serial": "DOCS-VF2-001"
}
{
"machine_id": "MINT-LOCAL-74bff1da3743",
"internal_id": "haas:vf-2:docs-vf2-001",
"created": true,
"machine": {
"oem": "haas",
"model": "VF-2",
"serial": "DOCS-VF2-001",
"site": null,
"metadata": {},
"status": "active"
},
"first_seen": "2026-10-27T19:04:26.774055+00:00"
}
/v1/normalize
Translate raw vendor telemetry into canonical fields. Send machine_id, or oem + model + serial to provision the machine (the same id /v1/identify returns). With oem alone you still get the mapping, but no machine is created and nothing is stored (machine_id: null). Up to 200 tags per request; values must be scalars or flat lists of scalars. Optional observed_at (ISO 8601 controller clock).
{
"data": {
"S SPEED (RPM)": 8500,
"SP LOAD PCT (%)": 42,
"COOL_TEMP [Β°F]": 68.0
},
"oem": "haas",
"model": "VF-2",
"serial": "DOCS-VF2-001"
}
{
"normalized": {
"spindle_speed_rpm": 8500,
"spindle_load_pct": 42,
"sensor_readings.coolant_temp": 20.0
},
"coverage_pct": 100.0,
"fields_total": 3,
"fields_distinct_canonical": 3,
"fields_unknown": 0,
"unit_conversions": [
{
"raw_field": "COOL_TEMP [Β°F]",
"canonical_field": "sensor_readings.coolant_temp",
"from": "F",
"to": "C",
"converted": true,
"unit_source": "tag",
"conversion": "fahrenheit_to_celsius",
"raw_value": 68.0,
"converted_value": 20.0
}
],
"null_states": null,
"machine_id": "MINT-LOCAL-74bff1da3743",
"internal_id": "haas:vf-2:docs-vf2-001",
"history_id": "9d6865a9-1ad3-4274-9013-cb8e4578b5e8",
"nte_hash": "fb69e87d4584c57833e26f15191f3cf5c9d2ee2e3821314fb9f7c7c0980e080a",
"nte_signing_kid": "fk1-215a8027abf35816",
"field_mappings": {
"S SPEED (RPM)": {
"canonical": "spindle_speed_rpm",
"match_type": "corpus_exact",
"confidence": 1.0
},
"SP LOAD PCT (%)": {
"canonical": "spindle_load_pct",
"match_type": "corpus_exact",
"confidence": 1.0
},
"COOL_TEMP [Β°F]": {
"canonical": "sensor_readings.coolant_temp",
"match_type": "corpus_exact",
"confidence": 1.0
}
}
}
/v1/verify
Check a Forge record. Public: no key, no account. Send the normalize response exactly as issued. status is verified, hash_mismatch (the record was altered), bad_signature, or unsigned.
{
"record": "β¦the full /v1/normalize responseβ¦"
}
{
"verified": true,
"status": "verified",
"recomputed_hash": "fb69e87d4584c57833e26f15191f3cf5c9d2ee2e3821314fb9f7c7c0980e080a",
"stated_hash": "fb69e87d4584c57833e26f15191f3cf5c9d2ee2e3821314fb9f7c7c0980e080a",
"signing_kid": "fk1-215a8027abf35816"
}
/v1/history/{machine_id}
Stored readings for one machine. Query params: from, to (ISO 8601), fields (csv), limit (β€1000), summary (bool).
GET /v1/history/MINT-LOCAL-74bff1da3743?limit=2&summary=true
{
"mint_id": "MINT-LOCAL-74bff1da3743",
"machine": {
"mint_id": "MINT-LOCAL-74bff1da3743",
"oem": "haas",
"model": "VF-2",
"serial": "DOCS-VF2-001",
"site": null
},
"row_count": 2,
"from": "2026-10-27T19:04:31.231811+00:00",
"to": "2026-10-27T19:04:34.545129+00:00",
"avg_coverage": 100.0,
"fields_covered": [
"sensor_readings.coolant_temp",
"spindle_load_pct",
"spindle_speed_rpm"
]
}
/v1/usage
Usage and estimated bill for the key's account. On a free key there is no metered billing:
{
"metered": false,
"reason": "no active stripe customer on file"
}
/v1/triggers
List automations. Filter with ?machine_id=.
{
"triggers": [],
"count": 0
}
/v1/triggers
Create and arm an automation. Paid plan: a free key receives the 402 below. Fields: machine_id (optional; omit for a general trigger), name, condition, and either webhook_url (+ optional payload_template) or actions ([{tool_id, payload_overrides?, headers_overrides?}]); optional duration_seconds, enabled (default true). Needs the automate permission; agent keys can be denied it. There is no separate activate endpoint: creating the trigger arms it.
{
"machine_id": "MINT-LOCAL-74bff1da3743",
"name": "high spindle load",
"condition": {
"field": "spindle_load_pct",
"op": ">",
"value": 90
},
"webhook_url": "https://example.com/forge-hook",
"enabled": true
}
{
"detail": "Trigger creation requires a paid plan. Upgrade at https://foundrynet.io/#docs (POST /v1/keys/checkout with tier='paid' to add a payment method)."
}
/v1/triggers/natural
Paid plan. Turn a plain-English instruction into a structured condition for review. It never arms anything; send the reviewed condition to POST /v1/triggers.
{
"machine_id": "MINT-LOCAL-74bff1da3743",
"instruction": "Notify me when spindle load exceeds 90 percent"
}
/v1/triggers/{id}
Read, update (name, condition, webhook_url, payload_template, actions, duration_seconds, enabled) or delete one trigger. Delete is soft by default and restorable for 30 days with PATCH /v1/triggers/{id}/restore; ?permanent=true deletes for good.
/v1/tools
Paid plan. Register a webhook endpoint that triggers reference by tool_id. auth_type: none, bearer, basic or hmac. auth_secret is returned once on create and never read back.
{
"name": "slack-maintenance",
"url": "https://hooks.slack.com/services/Tβ¦/Bβ¦/β¦",
"method": "POST",
"payload_template": {
"text": "{{field}} at {{value}}"
},
"auth_type": "hmac"
}
/v1/feedback/{mapping_id}/confirm Β· /correct
Confirm or correct one mapping from a normalize response (mapping_id is in field_mappings). Required body fields: source_field and original_canonical; /correct also takes the canonical field you want instead.
/v1/settle?batch=true
Paid plan. Roll the machine's unsettled events into one tamper-evident record. 2Β’ per batch.
{
"machine_id": "MINT-LOCAL-74bff1da3743"
}
/v1/keys/{id}
Revoke a key. A free key cannot revoke keys, including itself; it receives the 403 below. To revoke a free key, email foundrynet@proton.me.
{
"detail": "Sandbox keys cannot manage API keys or account settings. Sign in to the dashboard, or upgrade at https://foundrynet.io/pricing."
}
Trigger deliveries are POSTed as compact JSON with an X-FoundryNet-Signature: sha256=<hex> header: the HMAC-SHA256 of the raw request body,
keyed with the trigger's webhook secret (or, for a tool registered with auth_type: "hmac", its auth_secret).
Verify against the raw bytes you received, before parsing:
import hashlib, hmac
def verify_forge_webhook(secret: str, raw_body: bytes, header: str) -> bool:
"""header is the X-FoundryNet-Signature value, e.g. "sha256=4f1c..."."""
expected = "sha256=" + hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, header)
/v1/* endpoints, up to 3 machines. Hourly windows reset on the hour (UTC).Every authenticated response carries x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-reset. Over the limit, you get HTTP 429:
{
"error": "rate_limit_exceeded",
"limit": 100,
"window": "hour",
"message": "You have used all 100 calls in this hour on the sandbox tier. The limit resets at 19:00 UTC (2735s) β retry then, or raise the limit at https://forge.foundrynet.io/pricing. Nothing is charged on a sandbox key.",
"reason": "100 calls/hour exhausted on the sandbox tier; retry in 2735s",
"reset_at": "2026-10-27T19:00:00+00:00",
"retry_after_seconds": 2735,
"upgrade_url": "https://forge.foundrynet.io/pricing"
} Errors are JSON. Validation errors name the field and the reason.
data, a duplicated tag, a missing field).401
{
"error": "invalid_api_key",
"message": "Invalid, revoked or expired API key. Omit the Authorization header entirely for keyless sandbox access, or get a free key at https://foundrynet.io/quickstart."
}
404
{
"detail": "Machine machine LOCAL-000000000000 not found for this user"
}
422
{
"error": true,
"status": 422,
"field": "data.axes",
"reason": "Telemetry values must be a scalar (number/string/bool) or a flat list of scalars, not a nested object.",
"received_value": "dict",
"detail": "Telemetry values must be a scalar (number/string/bool) or a flat list of scalars, not a nested object."
}
413
{
"error": true,
"status": 413,
"field": "data",
"reason": "Too many tags (201). Maximum is 200 tags per request; split larger payloads into batches.",
"received_value": 201,
"suggestion": "Max 200 tags per request",
"detail": "Too many tags (201). Maximum is 200 tags per request; split larger payloads into batches."
}
MCP endpoint (streamable HTTP): https://mcp.foundrynet.io/mcp
Forge exposes 32 MCP tools over mcp.foundrynet.io/mcp, spanning normalization, prediction, operations analytics, guardrails, and governance. GET https://mcp.foundrynet.io/health and GET https://forge.foundrynet.io/health both report 32. They work across 12 industrial protocols and 49 vendor packs across 20 verticals.
predict_breach: TimesFM forecast of when a machine exceeds a threshold, with confidence intervalsremaining_life: remaining useful life estimate for a machinefleet_health: score an entire operation in one callpredict_batch: batch fleet prediction across many machinesdetect_anomalies: surface out-of-distribution telemetrymachine_intelligence: complete machine intelligence in one callidentify_machine: provision/lookup machine_id from (oem, model, serial)normalize_telemetry: raw OEM data β canonical FCS, with auto-provision + trigger evalquery_machine_history: time-series + summary over canonical_datacreate_automation: natural language β parsed_trigger (review-then-activate)activate_automation: arm a parsed_trigger after user confirmationlist_automations: show all triggers configured for a machinedisable_automation: pause a trigger without deleting it (reversible)delete_automation: soft delete (30-day restorable); ?permanent=true for hard deleterestore_automation: undo a soft delete within 30 daysquery_webhook_history: HTTP status, retry counts, latency for a trigger's deliveriesverify_record: create a tamper-evident record (single payload OR batched)get_coverage: ask what Forge can normalize for a vendor before you send datacorrect_mapping: teach Forge the right canonical field for a source tagfire_sandbox: demo the watch β fire β settle loop against a built-in sandbox machinepredict: forecast the next readings of a canonical telemetry seriesprediction_accuracy: how well past predictions matched what actually happeneddiagnose_machine: root-cause analysis for a machine eventhealth_index: composite 0β1 health score fused from all of a machine's signalscalculate_oee: Overall Equipment Effectiveness (availability Γ performance Γ quality) for one machinefleet_oee: per-machine OEE cards plus the fleet averageenergy_consumption: energy use and cost for a machine over a periodshift_report: shift handover report across the fleet: OEE, energy, alerts and actionslist_guardrails: list the hard limits configured on a machinecheck_guardrail: test whether a proposed action would be blocked, without attempting itget_agent_card: credentials and trust score of a connected agentlist_agents: other agents connected to this Forge instance and their capabilitiesDELETE /v1/triggers/{id} defaults to soft delete, sets deleted_at, hides from list/eval, restorable for 30 days via PATCH /v1/triggers/{id}/restore. Add ?permanent=true for irrecoverable hard delete.
/v1/normalize accepts an optional idempotency_key and stores it with the record, but repeats are not skipped today: every request is stored as its own record and returns deduplicated: false, including a retry with the same key. Retry only when a request actually failed.
Every /v1/normalize response carries three counters: fields_renamed (source != canonical), fields_identity (source == canonical), fields_unknown (no mapping). coverage_pct = usable / total × 100, where usable counts each distinct canonical field that came back with a non-null value and a known unit. A value nulled by a sentinel, physics or type check, a contested field, or a value whose unit could not be determined (unit_undetermined) is mapped but not covered; fields_distinct_canonical counts what mapped. Per-field match_type says how a tag was matched, for example corpus_exact or corpus_folded (a known vendor mapping, exact or case-folded), deterministic (a vendor pack), exact_canonical (the tag already was the canonical name), vector (embedding similarity), abstained (no mapping confident enough), or contested (two tags disagreed about one field).
observed_at (ISO 8601 from the controller clock) is optional on /v1/normalize. Stored alongside ingested_at (server). When the difference exceeds 60s, response includes clock_skew_warning. Sustained-condition windows reference observed_at when present.
Forge runs as a Docker container on any Linux host: cloud, on-premise server, industrial PC, or edge gateway.
CPU: 2 cores, x86_64 or ARM64
RAM: 4 GB
Storage: 10 GB available
OS: Linux (Ubuntu 20.04+, Debian 11+, Amazon Linux 2)
Network: Ethernet to OT network (for Modbus TCP / OPC UA / BACnet)
Optional internet for cloud sync and updates
Runtime: Docker 20.10+ or AWS Greengrass V2
CPU: 4 cores
RAM: 8 GB
Storage: 50 GB (accommodates extended telemetry history)
Network: 1 Gbps to OT network + internet for webhooks and updates
Any container host: Railway, AWS ECS, GCP Cloud Run, Azure Container Apps. No special hardware. Connects to equipment via API or protocol bridge.
13 protocols ship a working client; 12 decode payloads end to end (MQTT reads JSON payloads; Sparkplug B protobuf decode is in progress). Modbus RTU and SNMP are not available yet.
MQTT (push, real-time streaming; JSON payloads; Sparkplug B protobuf decode in progress)
Modbus TCP (poll, from a register map you provide)
OPC UA (subscribe; tags discovered by browsing)
BACnet/IP (from an object map you provide)
ROS2 (subscribe, robotics and AMR fleets)
J1939 / CAN (listen, vehicles and heavy equipment)
MAVLink (listen, drones and aerial vehicles)
MTConnect (poll; tags discovered from /probe)
EtherNet/IP (poll; tags discovered by browsing)
PROFINET / S7 (poll, from a variable map you provide)
REST API (push or pull, any HTTP-capable device)
CSV upload (batch, historical data import)
MachineMetrics (poll, MachineMetrics GraphQL API)
Forge reads equipment that exposes telemetry over a supported protocol, through the network it is already on. It needs a Linux host meeting the requirements above, hosted or on your site; it does not need replacement sensors or rewiring.
Each number answers a different question, so they are not interchangeable:
/v1/coverage (corpus_mapped_field_count). Vendor packs reach further.Building on Forge? The sandbox is free and runs on your own machine (docker pull ghcr.io/foundrynet/forge-sandbox). Direct API integration is $0.30 per 1,000 normalized telemetry events, on graduated tiers. Embedding the engine in a platform you sell is usage-based licensing at $0.15 per 1,000 events, graduating to $0.03 at scale. Full rate card at forge.foundrynet.io/pricing.
The rates below are the metered option for developers and AI agents making occasional queries,. Query GET /v1/usage for live counts and an estimated bill.
A Normalized Telemetry Event (NTE) is each individual tag-value pair submitted for resolution: a request carrying N tag-value pairs is N NTEs. Normalize bills on graduated tiers per 1,000 NTE: the first 100M events each month bill at the first-tier rate regardless of total volume, and only events above each threshold bill at the next rate. Worked example: a machine sending 15 tags once a minute produces 15 × 60 × 24 × 30 = 648,000 NTEs a month, about $194/month on the direct API ($0.30 per 1,000) or about $97/month at the platform rate ($0.15 per 1,000).
Free usage. The sandbox is the local Docker image: no key, no normalize cap. The hosted API needs a free API key: up to 3 machines, 100 calls an hour and 1,000 a day, no card. Keyless calls to the hosted API are limited to 5 normalize calls a day.
POST /v1/normalize: $0.30 per 1,000 NTE, graduating to $0.06 per 1,000 above 50B/monthPOST /v1/settle?batch=true: 2Β’ per batch (paid plan)GET /v1/history/{machine_id}: freePOST /v1/identify: freePOST /v1/triggers/natural: no per-call charge (paid plan required)POST /v1/feedback/{mapping_id}/confirm and /correct: free/v1/normalize), free; you only pay for fires that successfully deliverGet a free API key, issued instantly: start free or go Production at forge.foundrynet.io/pricing. Platform licenses: foundrynet@proton.me.
On-site deployment as a Docker container, or as an AWS Greengrass component. Batch prediction and remaining-life estimates are paid tools.
Contact: foundrynet@proton.me
X-FoundryNet-Signature, above).POST /v1/verify.Full detail in the Privacy Policy.