External API version 1.74.0
Artemis Insights is self-hosted: every customer runs their own install on their own servers. So there's no central cloud API to sign up for. Your integration talks to each customer's install directly, with an API key that customer creates and controls. The interface is the same on every install.
In short: REST over HTTPS, JSON in and out, API-key authentication with per-key scopes, idempotent writes by your own record ids, and signed webhooks for changes. Nothing can be deleted through the API.
Keep each chemical's GHS classification, transport data, TSCA/REACH status and Japanese compliance values (ISHA, PRTR, PDSCL, CSCL, Fire Service Act) up to date with PUT /chemicals/{externalId}. Your data arrives marked as supplied by you and is confirmed by the customer's own team.
SCADA/MES gateways (for example Ignition), test benches and gauges record readings with PUT /quality-measurements/{externalId}, and read work orders, equipment and OEE. The app can also read equipment tags itself over OPC-UA (read-only).
Keep vendors, customers and inventory item definitions in step with your system of record. Stock levels stay controlled by inventory movements and can't be overwritten.
Read insights, reports, tickets, receipts, chemicals, lots, work orders and quality data, paged and filterable by date for incremental loads.
https://<their install>/api/external/…, sending the key as X-API-Key: <key> or Authorization: Bearer <key>.curl -H "X-API-Key: ak_live_…" \
"https://erp.example-plant.com/api/external/work-orders?status=completed&since=2026-10-01T00:00:00Z&limit=100"
PUT to a path ending in your own id for the record. The first call creates it; repeating it is safe. The response says created, updated or unchanged.POST, PATCH or DELETE endpoints.limit (up to 1000) and offset; X-Total-Count gives the total. Most lists accept since for incremental syncs.| Scope | Allows |
|---|---|
receipts:read | Read expense receipts |
insights:read | Read the insights the app generates |
tickets:read | Read support tickets |
reports:read | Read daily reports |
customers:read | Read CRM customers |
customers:write | Create and update CRM customers |
vendors:read | Read vendors |
vendors:write | Create and update vendors |
inventory:read | Read inventory item definitions and stock |
inventory:write | Create and update inventory item definitions (never stock levels) |
chemicals:read | Read chemicals, lots and production batches |
chemicals:regulatory:write | Supply chemicals' hazard and regulatory data (always stored as unconfirmed) |
manufacturing:read | Read work orders, OEE and equipment |
quality:read | Read quality characteristics, measurements and NCRs |
quality:write | Record quality measurements (write-once) |
All paths are relative to https://<install>/api/external. Full request and response schemas are in the OpenAPI description, which each install also serves at /api/external/openapi.json for its own version.
| Path | What it does | Scope | |
|---|---|---|---|
| GET | /receipts | List receipts | receipts:read |
| GET | /insights | List insights | insights:read |
| GET | /tickets | List tickets | tickets:read |
| GET | /reports | List daily reports | reports:read |
| GET | /vendors | List vendors | vendors:read |
| GET | /vendors/{externalId} | Get a vendor | vendors:read |
| PUT | /vendors/{externalId} | Create or update a vendor | vendors:write |
| GET | /customers | List customers | customers:read |
| GET | /customers/{externalId} | Get a customer | customers:read |
| PUT | /customers/{externalId} | Create or update a customer | customers:write |
| GET | /inventory-items | List inventory items | inventory:read |
| GET | /inventory-items/{externalId} | Get an inventory item | inventory:read |
| PUT | /inventory-items/{externalId} | Create or update an inventory item | inventory:write |
| GET | /chemicals | List chemicals | chemicals:read |
| GET | /chemicals/{externalId} | Get a chemical | chemicals:read |
| PUT | /chemicals/{externalId} | Create or update a chemical's regulatory data | chemicals:regulatory:write |
| GET | /chemical-lots | List chemical lots | chemicals:read |
| GET | /production-batches | List production batches | chemicals:read |
| GET | /work-orders | List work orders | manufacturing:read |
| GET | /work-orders/{workOrderId}/oee | Get a work order's OEE | manufacturing:read |
| GET | /equipment | List equipment | manufacturing:read |
| GET | /quality-characteristics | List quality characteristics | quality:read |
| GET | /quality-measurements | List quality measurements | quality:read |
| PUT | /quality-measurements/{externalId} | Record a quality measurement | quality:write |
| GET | /non-conformance-reports | List non-conformance reports | quality:read |
curl -X PUT -H "X-API-Key: ak_live_…" -H "Content-Type: application/json" \
"https://<install>/api/external/chemicals/sds-108-88-3" \
-d '{
"name": "Toluene",
"casNumber": "108-88-3",
"ghsSignalWord": "Danger",
"ghsPictograms": ["GHS02", "GHS07", "GHS08"],
"tscaInventoryStatus": "listed",
"sdsUrl": "https://sds.example.com/toluene.pdf",
"japan": { "fireServiceActCategory": "4", "fireServiceActDesignatedQuantityKg": 200, "csclStatus": "encs_existing" }
}'
curl -X PUT -H "X-API-Key: ak_live_…" -H "Content-Type: application/json" \
"https://<install>/api/external/quality-measurements/line2-gauge7-000184" \
-d '{ "characteristicId": "ckq…", "value": 10.012, "measuredAt": "2026-10-19T14:03:22Z" }'
Each delivery is a POST with a JSON body of the form { "id", "event", "data", "timestamp" }. Failed deliveries are retried with backoff (1 minute up to 6 hours), and the administrator can see and retry them.
| Event | Sent when |
|---|---|
insight.critical | A critical insight was generated. |
ticket.created | A support ticket was opened. |
ticket.escalated | A ticket was escalated before missing its SLA. |
report.ready | A daily report is ready. |
audit_log.entry | An entry was written to the audit log. |
vendor.created / vendor.updated | A vendor was created or changed (in the app or through the API). |
customer.created / customer.updated | A CRM customer was created or changed. |
inventory_item.created / inventory_item.updated | An inventory item definition was created or changed. |
chemical.regulatory_updated | A chemical's hazard or regulatory data was written through the API. |
chemical_lot.received | A chemical lot was received into inventory. |
work_order.completed | A work order was completed, with the quantity produced. |
quality_measurement.recorded | A quality measurement was recorded (in the app or through the API). |
quality_measurement.out_of_spec | A measurement fell outside its characteristic's spec limits. |
non_conformance.created | A non-conformance report was opened. |
Each webhook has its own secret. Use the X-Webhook-Signature-V2 header, t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of <t>.<raw body>. Reject old timestamps to stop replays. X-Webhook-Event and X-Webhook-Delivery identify the event and delivery.
// Node.js
const crypto = require('crypto');
function verify(rawBody, header, secret, toleranceSeconds = 300) {
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
if (Math.abs(Date.now() / 1000 - Number(parts.t)) > toleranceSeconds) return false;
const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}
# Python
import hmac, hashlib, time
def verify(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(p.split('=', 1) for p in header.split(','))
if abs(time.time() - int(parts['t'])) > tolerance:
return False
expected = hmac.new(secret.encode(), parts['t'].encode() + b'.' + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts['v1'])
Installation partners can drive everything the partner portal does — managing customers, work orders, install links, invoices and deal registrations — from their own systems (a PSA or ticketing tool, for example), using the same rules and the same code.
The full Partner API reference, including endpoints, request formats and examples, is available to approved partners once signed in: open the API reference section in the partner portal. Not a partner yet? Get in touch and we'll get you set up.
If you'd like to offer an integration to Artemis Insights customers, list it with us, or resell and install the software, get in touch. Installation partners sign in through the partner portal or use the Partner API.