Build on Artemis Insights

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.

Download the OpenAPI description Talk to us about a partnership

Who integrates, and how

SDS and regulatory-data providers

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.

Plant-floor systems

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).

ERP, accounting and procurement

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.

Reporting and BI

Read insights, reports, tickets, receipts, chemicals, lots, work orders and quality data, paged and filterable by date for incremental loads.

Quick start

  1. The customer's administrator creates an API key in their install under Settings > API Keys, choosing only the scopes your integration needs. The key is shown once.
  2. Call the customer's install at https://<their install>/api/external/…, sending the key as X-API-Key: <key> or Authorization: Bearer <key>.
  3. To hear about changes, the administrator adds your URL under Settings > Webhooks and picks the events.
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"

Ground rules

Scopes

ScopeAllows
receipts:readRead expense receipts
insights:readRead the insights the app generates
tickets:readRead support tickets
reports:readRead daily reports
customers:readRead CRM customers
customers:writeCreate and update CRM customers
vendors:readRead vendors
vendors:writeCreate and update vendors
inventory:readRead inventory item definitions and stock
inventory:writeCreate and update inventory item definitions (never stock levels)
chemicals:readRead chemicals, lots and production batches
chemicals:regulatory:writeSupply chemicals' hazard and regulatory data (always stored as unconfirmed)
manufacturing:readRead work orders, OEE and equipment
quality:readRead quality characteristics, measurements and NCRs
quality:writeRecord quality measurements (write-once)

Endpoints

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.

PathWhat it doesScope
GET/receiptsList receiptsreceipts:read
GET/insightsList insightsinsights:read
GET/ticketsList ticketstickets:read
GET/reportsList daily reportsreports:read
GET/vendorsList vendorsvendors:read
GET/vendors/{externalId}Get a vendorvendors:read
PUT/vendors/{externalId}Create or update a vendorvendors:write
GET/customersList customerscustomers:read
GET/customers/{externalId}Get a customercustomers:read
PUT/customers/{externalId}Create or update a customercustomers:write
GET/inventory-itemsList inventory itemsinventory:read
GET/inventory-items/{externalId}Get an inventory iteminventory:read
PUT/inventory-items/{externalId}Create or update an inventory iteminventory:write
GET/chemicalsList chemicalschemicals:read
GET/chemicals/{externalId}Get a chemicalchemicals:read
PUT/chemicals/{externalId}Create or update a chemical's regulatory datachemicals:regulatory:write
GET/chemical-lotsList chemical lotschemicals:read
GET/production-batchesList production batcheschemicals:read
GET/work-ordersList work ordersmanufacturing:read
GET/work-orders/{workOrderId}/oeeGet a work order's OEEmanufacturing:read
GET/equipmentList equipmentmanufacturing:read
GET/quality-characteristicsList quality characteristicsquality:read
GET/quality-measurementsList quality measurementsquality:read
PUT/quality-measurements/{externalId}Record a quality measurementquality:write
GET/non-conformance-reportsList non-conformance reportsquality:read

Example: supplying regulatory data

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" }
  }'

Example: recording a measurement from the line

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" }'

Webhooks

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.

EventSent when
insight.criticalA critical insight was generated.
ticket.createdA support ticket was opened.
ticket.escalatedA ticket was escalated before missing its SLA.
report.readyA daily report is ready.
audit_log.entryAn entry was written to the audit log.
vendor.created / vendor.updatedA vendor was created or changed (in the app or through the API).
customer.created / customer.updatedA CRM customer was created or changed.
inventory_item.created / inventory_item.updatedAn inventory item definition was created or changed.
chemical.regulatory_updatedA chemical's hazard or regulatory data was written through the API.
chemical_lot.receivedA chemical lot was received into inventory.
work_order.completedA work order was completed, with the quantity produced.
quality_measurement.recordedA quality measurement was recorded (in the app or through the API).
quality_measurement.out_of_specA measurement fell outside its characteristic's spec limits.
non_conformance.createdA non-conformance report was opened.

Verifying a delivery

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'])

Partner API (installation partners)

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.

Becoming a partner

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.