It’s 7:40 on a Monday morning. A retail partner emails: “We never received Friday’s invoices.” You open Boomi Process Reporting. The process is green. Saturday is green. Sunday is green. It takes an hour to discover that Friday’s run never started — the runtime restarted during patching, the schedule was missed, and nothing failed, so nothing alerted.
This is the gap between monitoring (“did something fail?”) and observability (“can I answer any question about what my integrations are doing?”). Boomi gives you the raw material for the second one through its Platform API (still widely called the AtomSphere API): execution history, document-level results, logs, runtime health, deployments, audit trails, throughput — and even actions like re-running failed documents.
This article is a practical, use-case-first guide to calling those APIs and turning them into your own observability platform: a collector, a store, dashboards, alerts and safe self-healing. Every example is real code you can adapt.
Why go beyond Process Reporting?
Boomi’s built-in Process Reporting, dashboards and email alerts are good at showing what happened to a process. Teams outgrow them when they need to:
- See everything in one place — several environments, several accounts, alongside non-Boomi systems.
- Catch what didn’t happen — missed schedules, late files, a listener that stopped listening.
- Keep history — Boomi keeps execution history for a limited window; trends need months.
- Correlate — “errors started right after version 2.4 was deployed”.
- Route alerts — to the right Slack channel or on-call person, with the failing document attached.
- Measure the business — orders per hour, invoices per partner, not just “documents”.
The Platform API exposes all of the underlying data, so you can build exactly the view your team needs.
The Platform API in five minutes
Base URL and authentication
Every call goes to your account’s REST endpoint:
https://api.boomi.com/api/rest/v1/{accountId}/{ObjectType}
Use a Platform API token rather than a password: create one under Settings → Account Information → Platform API Tokens (the user needs API access). Authenticate with HTTP Basic, where the user name is your login prefixed with BOOMI_TOKEN. and the password is the token. Ask for JSON with Accept: application/json.
curl -u "BOOMI_TOKEN.you@company.com:$BOOMI_API_TOKEN" \
-H "Accept: application/json" -H "Content-Type: application/json" \
-X POST "https://api.boomi.com/api/rest/v1/$ACCOUNT_ID/ExecutionRecord/query" \
-d '{"QueryFilter":{"expression":{"property":"status","operator":"EQUALS","argument":["ERROR"]}}}'
Tip: Create a dedicated monitoring user with only the privileges it needs (reading executions, runtimes and deployments — plus execute rights only if you’ll use self-healing). Rotate its token on a schedule.
The four call patterns you’ll use
| Pattern | How it works | Examples |
|---|---|---|
| Get | GET /{Object}/{id} | one runtime, one deployment |
| Query | POST /{Object}/query with a QueryFilter; results come in pages, with a queryToken for the next page via POST /{Object}/queryMore | executions, connector records, audit log |
| Download | POST a request, receive a URL, then GET it until it’s ready (HTTP 202 means “still preparing”) | process logs, documents, runtime logs |
| Async | the first call returns a token; fetch the result later | listener status, disk space |
Query filters combine simple expressions — EQUALS, BETWEEN, GREATER_THAN, LIKE and more — with and / or:
{"QueryFilter": {"expression": {
"operator": "and",
"nestedExpression": [
{"property": "executionTime", "operator": "BETWEEN",
"argument": ["2026-10-14T00:00:00Z", "2026-10-15T00:00:00Z"]},
{"property": "status", "operator": "EQUALS", "argument": ["ERROR"]}
]}}}
Times are UTC in ISO-8601 format. And Boomi applies a per-account rate limit — when you exceed it you get HTTP 503, so every client needs a back-off.
A tiny reusable client (Python)
Everything below uses this ~50-line client. It handles authentication, rate-limit back-off, query paging, and one JSON quirk: large numbers such as durations can arrive as ["Long", 1234].
import os, time
import requests
ACCOUNT = os.environ["BOOMI_ACCOUNT_ID"] # Settings → Account Information
USER = "BOOMI_TOKEN." + os.environ["BOOMI_USER"] # token auth: prefix + your login email
TOKEN = os.environ["BOOMI_API_TOKEN"] # Settings → Platform API Tokens
BASE = os.environ.get("BOOMI_API_BASE", "https://api.boomi.com/api/rest/v1") + "/" + ACCOUNT
session = requests.Session()
session.auth = (USER, TOKEN)
session.headers.update({"Accept": "application/json", "Content-Type": "application/json"})
def call(method, path, **kwargs):
"""One API call with polite retries on rate limiting (503/429)."""
for attempt in range(6):
r = session.request(method, f"{BASE}/{path}", timeout=60, **kwargs)
if r.status_code in (429, 503):
time.sleep(2 ** attempt) # 1, 2, 4, 8… seconds
continue
r.raise_for_status()
return r.json() if r.content else {}
raise RuntimeError(f"{path}: still rate limited after retries")
def num(value):
"""Long fields can arrive as ["Long", 1234] in JSON; return a plain number."""
return value[1] if isinstance(value, list) else (value or 0)
def expr(prop, op, *args):
return {"property": prop, "operator": op, "argument": list(args)}
def query(obj, *expressions):
"""Run a query and follow queryMore pages until every record is read."""
filt = expressions[0] if len(expressions) == 1 else {"operator": "and", "nestedExpression": list(expressions)}
page = call("POST", f"{obj}/query", json={"QueryFilter": {"expression": filt}})
while True:
yield from page.get("result", [])
token = page.get("queryToken")
if not token:
return
page = call("POST", f"{obj}/queryMore", data=token, headers={"Content-Type": "text/plain"})
Usage reads like the questions you’re asking:
from boomi_api import query, expr
for run in query("ExecutionRecord",
expr("executionTime", "GREATER_THAN", "2026-10-15T00:00:00Z"),
expr("status", "EQUALS", "ERROR")):
print(run["processName"], run["executionTime"], run.get("message"))
Which API answers which question?

Keep this map in mind — the use cases below walk through each row.
The architecture

- Collector — a small job that runs every 1–5 minutes, reads what changed since its last run (a watermark), and writes it to a store. Run it outside the runtimes it monitors: if the runtime goes down, the monitor must not go down with it.
- Store — anything that handles time series well: PostgreSQL/TimescaleDB (simple, SQL everywhere), OpenSearch/Elasticsearch (great for searching error messages), or Prometheus (if you already run it; expose counters through an exporter).
- Dashboards — Grafana works with all of the above.
- Alerts — rules on the stored data, routed to Slack, Teams, email or an incident tool.
- Actions — guarded API calls that re-run, cancel or open a ticket.
Now the use cases.
Use case 1 — A live execution feed you control
Question: what ran, how long did it take, how many documents, did it succeed?
ExecutionRecord is the heart of everything. Each record carries the process and runtime names, status (for example COMPLETE, COMPLETE_WARN, ERROR, ABORTED, INPROCESS), the start time, the duration, inbound/outbound document counts, the error message, and topLevelExecutionId to tie sub-process executions to their parent.
The collector below stores executions in SQLite to keep the example self-contained (swap in PostgreSQL for production). Note the two details that make it correct:
- Overlap — it re-reads the last 30 minutes, because a run that was
INPROCESSlast time has probably finished now. - Upsert — records are keyed by
executionId, so re-reading updates them instead of duplicating.
import sqlite3
from datetime import datetime, timedelta, timezone
from boomi_api import query, expr, num
db = sqlite3.connect("boomi_observability.db")
db.execute("""CREATE TABLE IF NOT EXISTS executions (
execution_id TEXT PRIMARY KEY, process_name TEXT, process_id TEXT, atom_name TEXT,
status TEXT, execution_type TEXT, execution_time TEXT, duration_ms INTEGER,
docs_in INTEGER, docs_in_errors INTEGER, docs_out INTEGER, message TEXT,
top_level_execution_id TEXT)""")
db.execute("CREATE TABLE IF NOT EXISTS watermark (name TEXT PRIMARY KEY, value TEXT)")
ISO = "%Y-%m-%dT%H:%M:%SZ"
now = datetime.now(timezone.utc)
row = db.execute("SELECT value FROM watermark WHERE name = 'executions'").fetchone()
since = datetime.strptime(row[0], ISO).replace(tzinfo=timezone.utc) if row else now - timedelta(days=1)
since -= timedelta(minutes=30) # overlap: pick up runs that were still INPROCESS last time
count = 0
for r in query("ExecutionRecord", expr("executionTime", "BETWEEN", since.strftime(ISO), now.strftime(ISO))):
db.execute("""INSERT INTO executions VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)
ON CONFLICT(execution_id) DO UPDATE SET status = excluded.status,
duration_ms = excluded.duration_ms, docs_in = excluded.docs_in,
docs_in_errors = excluded.docs_in_errors, docs_out = excluded.docs_out,
message = excluded.message""",
(r["executionId"], r.get("processName"), r.get("processId"), r.get("atomName"),
r.get("status"), r.get("executionType"), r.get("executionTime"),
num(r.get("executionDuration")), num(r.get("inboundDocumentCount")),
num(r.get("inboundErrorDocumentCount")), num(r.get("outboundDocumentCount")),
r.get("message"), r.get("topLevelExecutionId")))
count += 1
db.execute("INSERT OR REPLACE INTO watermark VALUES ('executions', ?)", (now.strftime(ISO),))
db.commit()
print(f"{count} executions stored")
With that table, the classic health numbers are one query each:
-- success rate and volume per process, last 24 hours
SELECT process_name,
COUNT(*) AS runs,
ROUND(100.0 * SUM(status LIKE 'COMPLETE%') / COUNT(*), 1) AS success_pct,
SUM(docs_in) AS docs_in,
ROUND(AVG(duration_ms) / 1000.0, 1) AS avg_seconds
FROM executions
WHERE execution_time >= strftime('%Y-%m-%dT%H:%M:%SZ', 'now', '-1 day')
GROUP BY process_name
ORDER BY success_pct;
Use case 2 — Catch the run that never happened
Question: is every scheduled integration actually running?
Failures are easy to alert on; absence is not. Record what “healthy” means for each critical process — for example “must complete at least once every 60 minutes” or “must finish by 06:30” — and compare it with the executions you’ve collected:
CREATE TABLE IF NOT EXISTS slo (process_name TEXT PRIMARY KEY, max_gap_minutes INTEGER);
INSERT OR REPLACE INTO slo VALUES ('Invoices → EDI 810', 1440), ('Orders → NetSuite', 15);
-- processes whose last successful run is older than allowed
SELECT s.process_name,
MAX(e.execution_time) AS last_success
FROM slo s
LEFT JOIN executions e
ON e.process_name = s.process_name AND e.status LIKE 'COMPLETE%'
GROUP BY s.process_name, s.max_gap_minutes
HAVING last_success IS NULL
OR last_success < strftime('%Y-%m-%dT%H:%M:%SZ', 'now', '-' || s.max_gap_minutes || ' minutes');
This one rule would have caught Monday morning’s missing invoices on Friday night. You can seed the table from the ProcessSchedules API, which returns the schedule configured for each process on each runtime — handy when you have dozens of processes.
Use case 3 — From “something failed” to the exact document in five calls
Question: which step failed, on which document, with what error — and what did the data look like?

ExecutionRecord— find executions withstatus = ERROR.ExecutionConnector— the connector steps in that execution, each with success and error counts.GenericConnectorRecord— the individual documents processed by a connector step, with status anderrorMessage(query byexecutionIdandexecutionConnectorId).ConnectorDocument— request a download of a specific document.ProcessLog— request the execution’s process log as a zip.
import time
from boomi_api import call, query, expr, num, session
def download(url, path, attempts=20):
"""Boomi prepares downloads asynchronously: 202 means 'not ready yet'."""
for _ in range(attempts):
r = session.get(url, timeout=120)
if r.status_code == 200:
open(path, "wb").write(r.content)
return path
time.sleep(3)
raise TimeoutError(url)
def triage(execution_id):
"""Everything about one failed execution: failing steps, documents, errors, files."""
report = {"executionId": execution_id, "steps": []}
# 1-2. Which connector steps had errors?
for step in query("ExecutionConnector", expr("executionId", "EQUALS", execution_id)):
if num(step.get("errorCount")) == 0:
continue
item = {"connector": step.get("connectorType"), "action": step.get("actionType"),
"operation": step.get("operationName"), "errors": num(step.get("errorCount")), "documents": []}
# 3. Which documents failed, and why?
for doc in query("GenericConnectorRecord",
expr("executionId", "EQUALS", execution_id),
expr("executionConnectorId", "EQUALS", step["id"])):
if doc.get("status") != "ERROR":
continue
# 4. Download the failing document itself
link = call("POST", "ConnectorDocument", json={"genericConnectorRecordId": doc["id"]})
path = download(link["url"], f"{execution_id}-{doc['id']}.dat")
item["documents"].append({"id": doc["id"], "error": doc.get("errorMessage"), "file": path})
report["steps"].append(item)
# 5. The process log, zipped
log = call("POST", "ProcessLog", json={"executionId": execution_id, "logLevel": "ALL"})
report["processLog"] = download(log["url"], f"{execution_id}-log.zip")
return report
Attach the result to the alert, and whoever is on call opens a message that already says “Step: NetSuite UPSERT · Document 3 of 120 · Invalid item AX-9”, with the document and log attached. That’s the difference between a five-minute fix and an hour of clicking.
Watch out: Documents and logs can contain personal and financial data. Store downloads in an access-controlled location, expire them, and never paste them into public channels — link to them instead.
Note: Documents and logs are only available while the runtime still keeps them (purge settings). Pull what you need while triaging; don’t rely on fetching them weeks later.
Use case 4 — Spot slow-downs and volume anomalies early
Question: is anything behaving differently from normal, even if it hasn’t failed yet?
Failures are the late signal. Earlier signals are a process that is getting slower, or a feed that suddenly carries far fewer (or more) documents than usual:
-- runs today that took more than 3x that process's typical duration
WITH baseline AS (
SELECT process_name, AVG(duration_ms) AS avg_ms
FROM executions
WHERE execution_time >= strftime('%Y-%m-%dT%H:%M:%SZ', 'now', '-14 days')
AND execution_time < strftime('%Y-%m-%dT%H:%M:%SZ', 'now', '-1 day') -- baseline excludes today
AND status LIKE 'COMPLETE%'
GROUP BY process_name
)
SELECT e.process_name, e.execution_id, e.duration_ms, ROUND(b.avg_ms) AS usual_ms
FROM executions e JOIN baseline b USING (process_name)
WHERE e.execution_time >= strftime('%Y-%m-%dT%H:%M:%SZ', 'now', '-1 day')
AND e.duration_ms > 3 * b.avg_ms;
The same idea applies to document counts: a daily order feed that normally carries 2,000 documents and today carries 40 is worth a look, even though every run is green. Slowing runs often point at a target system (an ERP under load), a growing data set without paging, or a connector waiting on timeouts.
Use case 5 — Runtime health: online, current, listening, not full
Question: are the runtimes themselves healthy?
Atom— each runtime’sstatus(ONLINE/OFFLINE), type (basic runtime, cluster or cloud), host name andcurrentVersion.ListenerStatus(asynchronous) — whether listeners (web services, event-driven connectors) on a runtime are actually listening.AtomDiskSpace(asynchronous, for runtime cloud attachments) — how much disk the attachment is using against its quota.AtomLog— request a runtime’s container log for a date when you need to dig deeper.
from boomi_api import query, expr
offline = [a["name"] for a in query("Atom", expr("status", "EQUALS", "OFFLINE"))]
online = list(query("Atom", expr("status", "EQUALS", "ONLINE")))
versions = {a["name"]: a.get("currentVersion") for a in online}
if offline:
print("ALERT runtimes offline:", offline)
if len(set(versions.values())) > 1:
print("WARN runtimes on different versions:", versions) # e.g. one node missed an update
Alert immediately on an offline production runtime, and flag version drift after Boomi’s release cycles — a node left behind is a common cause of “works on one node, fails on the other”.
Use case 6 — “What changed?” Deployments and the audit trail
Question: did errors start after a change — and who made it?
DeployedPackage— every deployment: which component, which package version, to which environment, when, by whom, and whether it’s the active one.AuditLog— user actions across the account (deployments, changes to settings, user management), queryable by date.
from boomi_api import query, expr
for d in query("DeployedPackage", expr("deployedDate", "GREATER_THAN", "2026-10-14T00:00:00Z")):
print(d.get("deployedDate"), d.get("environmentName"), d.get("componentName"),
"v" + str(d.get("packageVersion")), "by", d.get("deployedBy"))
Push each deployment to Grafana as an annotation: a vertical line on every chart. The day errors jump right after a line labelled “Orders → NetSuite v2.4 → Production”, the root-cause conversation takes thirty seconds — and rolling back to the previous immutable package is one more click (see Deploy and maintain Boomi processes).
Use case 7 — Capacity and growth
Question: how much are we processing, and how fast is it growing?
Account-level objects such as ThroughputAccount (data volume per day) and DocumentCountAccount (documents per day) give long-term trends by environment and runtime. Store them daily and you can answer planning questions — do we need a runtime cluster before peak season? — and spot unexpected spikes, such as a partner suddenly re-sending a month of files.
Use case 8 — Platform events as an alert source
Question: can Boomi tell us when something important happens?
The Event object returns platform events — for example runtime status changes, process execution errors, and user notifications raised by the Notify shape when it is set to generate a platform event. That last one is powerful: inside a process you can raise a business event (“credit limit exceeded for customer 4471”, “partner file had 0 rows”) and your collector picks it up with a simple query on event date and level, then routes it like any other alert.
from boomi_api import query, expr
for ev in query("Event", expr("eventDate", "GREATER_THAN", "2026-10-15T06:00:00Z")):
if ev.get("eventLevel") in ("ERROR", "WARNING"):
print(ev.get("eventLevel"), ev.get("eventType"), ev.get("processName"), ev.get("title") or ev.get("error"))
Use case 9 — Safe self-healing
Question: can common failures fix themselves?
The API can also act:
| Action | Object | Use it for |
|---|---|---|
| Start a process now | ExecutionRequest (returns a request ID; the resulting record can then be fetched) | re-trigger a missed schedule, run a catch-up |
| Re-run failed documents | RerunDocument (all failed documents of an execution, or selected ones) | after fixing master data, e.g. a missing item |
| Stop a stuck execution | CancelExecution | runs that exceed their normal duration by far |
from boomi_api import call
# Re-trigger a missed run, passing a process property the process understands
call("POST", "ExecutionRequest", json={
"atomId": "<runtime id>",
"processId": "<process id>",
"ProcessProperties": {"ProcessProperty": [{"name": "RUN_REASON", "value": "missed-schedule catch-up"}]},
})
Watch out: Automate only actions that are idempotent — safe to repeat. Re-running an upsert is safe; re-sending invoices to a partner may not be. Add guardrails: a maximum number of automatic retries per execution, business-hours limits for risky actions, and a log of every automated action with a link to the original failure.
A good pattern is “suggest, then automate”: start by putting a Re-run button in the alert, and only automate after the button has been pressed the same way twenty times.
Use case 10 — Business observability
Question: what happened to order 4471?
Technical metrics tell you a run failed; the business wants to know which orders. Two techniques bridge the gap:
- Tracked fields — define fields such as order number or partner ID on your connector operations in Boomi. They appear with document-level records, so your store can be searched by business key.
- Process properties as labels — set properties like
PARTNERorREGION(see DPP and DDP in Groovy) and log or emit them, so dashboards can slice by partner, not just by process.
Now a support agent can type an order number and see when it arrived, which process handled it, and whether it reached NetSuite.
Putting it on a dashboard

A first dashboard that teams actually use has five rows:
- Headline numbers — executions, success rate, failed runs, runtimes online, missed schedules.
- Executions over time — stacked success/error, with deployment annotations.
- Needs attention — processes in error, late, or slower than usual, each linking to its triage report.
- Runtimes — status, version, listeners, disk.
- Volume — documents and throughput per day, by environment.
Alert rules worth starting with
| Rule | Source | Severity |
|---|---|---|
| Production runtime offline for 5 minutes | Atom | page someone |
| Critical process: no successful run within its window | executions + SLO table | page someone |
Any execution ERROR in a critical process | ExecutionRecord | alert channel, with triage report |
| Success rate below 95% over an hour | executions | alert channel |
| Duration > 3× the 14-day average | executions | warning |
| Document count < 20% of usual for a daily feed | executions | warning |
| Listener not listening | ListenerStatus | alert channel |
| Runtime versions differ | Atom | warning |
| Errors within 1 hour after a deployment | DeployedPackage + executions | alert the deployer |
Start small — three or four rules people trust beat thirty they mute.
Production checklist
- Dedicated API user and token, least privilege, rotated; store the token in a secret manager.
- Run the collector independently of the runtimes it watches (a different host, a container, or a separate Boomi runtime cloud).
- Respect the rate limit — back off on 503, avoid parallel bursts, and poll only what changed.
- Overlap and upsert — re-read a short window and key by ID so in-progress runs are updated, never duplicated.
- Use UTC everywhere; convert only on dashboards.
- Keep your own history — Boomi’s retention is limited; your store is your long-term record.
- Treat downloads as sensitive data — access control, expiry, no PII in alert text.
- Monitor the monitor — alert if the collector itself hasn’t written anything for 15 minutes.
Frequently asked questions
Is the AtomSphere API the same as the Boomi Platform API?
Yes — Boomi now calls it the Platform API; much of the documentation and community still says AtomSphere API. The objects and endpoints in this article are the same.
Can I build the collector inside Boomi itself?
You can: an HTTP Client connector (see Make HTTP calls in Boomi) can call the Platform API on a schedule. Run it on a different runtime from the integrations it monitors, so an outage doesn’t take down the monitor too.
How often should I poll?
Every 1–5 minutes for executions and runtime status is plenty for most teams; daily for throughput and document counts. Poll only the time window since your last watermark.
Does this replace Process Reporting?
No — Process Reporting remains the place to inspect a single run in detail. Your platform adds history, correlation, cross-environment views, missed-run detection and smarter alerting on top.
Need help building it?
I design and build Boomi integrations — and the monitoring that keeps them healthy: Platform API collectors, Grafana dashboards, alerting and safe self-healing. If your team is still finding out about failures from partners, an integration health check is a good first step. See Boomi integration consulting or get in touch.

Comments 0
No comments yet. Start the discussion.