Skip to main content

MQTT Channels

Arvist services communicate over MQTT. This guide lists the topics used by each service and plugin.

Services​

Arvist Central​

  • Subscriptions
    • nvr/available - determines if nvr service is running
    • arvist/shipment/complete - when a shipment inspection is completed by Palletscan
    • arvist/shipment/unit-processing - when a unit is processing in Palletscan
    • arvist/shipment/unit-completed - when a unit is processed in Palletscan
    • arvist/shipment/error - an error occurred in Palletscan
  • Publications

Event Service​

  • Subscriptions
    • nvr/events – consumes NVR event messages.
    • arvist/update – receives module configuration updates.
  • Publications
    • arvist/notifications – sends incident notifications.
    • arvist/incident/<module name> - sends incident data after incident is created.

Notification Service​

  • Subscriptions
    • arvist/notifications/# – processes notification requests for various notification types including email, SMS, and Slack.

R2 Uploader​

  • Subscriptions
    • arvist/upload – accepts upload requests for Cloudflare R2.

Pallet Scan Service​

  • Subscriptions
    • arvist/shipment-inspection/start
    • arvist/shipment-inspection/stop
    • arvist/shipment-inspection/images
    • arvist/shipment-inspection/post-id
    • arvist/shipment-inspection/refresh
    • arvist/shipment-inspection/cancel
    • arvist/shipment-inspection/cancel-layer
    • arvist/shipment-inspection/products-override
    • nvr/available
  • Publications
    • arvist/shipment/unit-processing
    • arvist/shipment/unit-completed
    • arvist/shipment/complete
    • arvist/shipment/error

Training Data Collector​

  • Subscriptions
    • nvr/events – monitors events to collect training snapshots.

Plugins​

Asset Tracking​

  • Subscriptions
    • arvist/update – module configuration updates.
    • nvr/<zone>/person/active – per-zone person activity.

Path Obstruction​

  • Subscriptions
    • arvist/update – module configuration updates.
    • arvist/retake-snapshot – background refresh requests.
  • Publications
    • arvist/notifications – safety alerts.
    • arvist/incident/<module name> - sends incident data after incident is created.

Forklift Collision​

  • Subscriptions
    • arvist/update – module configuration updates.
    • nvr/events – live NVR events.
  • Publications
    • arvist/notifications – safety alerts.
    • arvist/incident/<module name> - sends incident data after incident is created.

External Integration Events (WMS/ERP)​

Topics under arvist/integration/shipment/* are for external systems (a WMS, ERP, or custom warehouse-automation integration) to consume. This is a separate channel from the arvist/shipment-inspection/*/arvist/shipment/* topics elsewhere in this document, which are internal RPC between Arvist Central and the Quality service.

  • Always published, regardless of whether a WMS/ERP integration is configured for the site (same pattern as arvist/incident/* — see Arvist MQTT Integration Guide).
  • Payloads include the full relevant object (e.g. the complete shipment, line items, issue), not a curated subset of fields.
  • Any image/video included is resolved to a fetchable URL at publish time — never a container filepath.

Events published so far:

EventTopicFires when
Startedarvist/integration/shipment/startedA shipment inspection begins
Unit completedarvist/integration/shipment/unit-completedA unit finishes processing — includes any open issues, whether there are none or several
Issue resolvedarvist/integration/shipment/issue-resolvedAn issue's status/metadata changes via a resolution action
Overage/shortage detectedarvist/integration/shipment/overage-shortage-detectedAn overage/shortage issue is first created — the real-time counterpart to issue-resolved, since these two types never appear in unit-completed
Shipment completedarvist/integration/shipment/completedA shipment reaches its final completed state (human /final submission, or automated completion when review is skipped) — never fires for the review transition
Canceledarvist/integration/shipment/canceledA whole shipment is canceled, or a single unit is removed
Pausedarvist/integration/shipment/pausedA shipment inspection is paused, manually or by the idle-timeout sweep
Resumedarvist/integration/shipment/resumedA paused shipment resumes, or a completed shipment is reopened

Message Formats​

Quality Station Update​

Topic: arvist/quality-stations/update

Published when quality stations are bulk upserted. Contains full quality station objects and deleted station information.

Message Structure:

{
"type": "quality_stations_bulk_update",
"data": {
"quality_stations": [
{
"id": 123,
"area_id": 95,
"area_name": "QS Station 1",
"description": "Main inspection station",
"quality_station_cameras": [
{
"side": "front",
"quality_station_id": 123,
"camera_id": 45,
"camera_name": "Camera 1",
"required": true
}
],
"zones": [...],
"quality_station_specs": {...}
}
],
"deleted_stations": [
{
"area_id": 96,
"area_name": "Deleted Station"
}
],
"timestamp": "2025-10-28T16:25:42.869Z"
}
}

Fields:

  • quality_stations: Array of complete quality station objects with all fields including cameras, zones, and specifications
  • deleted_stations: Array of stations removed in this update, containing area_id and area_name
  • timestamp: ISO 8601 timestamp of when the update occurred

A single message is sent regardless of how many stations were created, updated, or deleted.

Shipment Inspection Start​

Topic: arvist/shipment-inspection/start

Published when a shipment inspection is started. Instructs Palletscan service to begin processing a shipment.

Message Structure:

{
"shipment_id": 456,
"extract_identifiers": false
}

Fields:

  • shipment_id: Integer ID of the shipment to inspect
  • extract_identifiers: Boolean flag indicating whether to extract identifiers from the shipment label during inspection (default: false)
    • When true: The system will attempt to extract identifiers from the physical shipment label using OCR/pattern matching
      • The extracted identifier is based on the configured mapping for the shipment label
    • When false: Identifiers should already be associated with the shipment

Usage:

  • Published by Arvist Central when starting a shipment inspection via the API
  • Consumed by Palletscan service to initiate product counting and identification
  • The extract_identifiers flag enables workflows where order information is scanned from labels after inspection begins

Shipment Inspection Products Override​

Topic: arvist/shipment-inspection/products-override

Published to push an authoritative corrected count for one or more line items — no detection/annotation backs this, it's an overwrite, not a delta. Internal only, between Arvist Central and Palletscan — not one of the arvist/integration/shipment/* external events.

Message Structure:

{
"shipment_id": 123,
"products": [
{ "id": 456, "actual_quantity": 7 },
{ "id": 457, "actual_quantity": 12 }
],
"source": "shortage_resolution"
}

Fields:

  • shipment_id: Integer ID of the shipment
  • products: The shipment's full current per-product count array, with the corrected value(s) substituted in — id (line item id), actual_quantity (the true final count, not a delta)
  • source: Where the correction came from — "shortage_resolution" (the wrong_counting resolve action), "manual_line_item_edit" (direct line-item-count edit mid-inspection), or any other caller-supplied label

Usage:

  • Published whenever an operator overrides a line item's count directly, rather than the count changing through a new detection
  • On receipt: overwrite each listed line item's actual_quantity directly from products (don't diff/increment against existing state), then echo unit-completed as usual so cached counts resync

Integration: Shipment Started​

Topic: arvist/integration/shipment/started

Published when a shipment inspection begins.

Message Structure:

{
"site_id": 5,
"wms_site_id": 42,
"extract_identifiers": false,
"shipment": {
"id": 456,
"shipment_key": "SHP-2026-001",
"type": "inbound",
"status": "in_progress",
"order_numbers": ["PO-12345"],
"supplier": "Acme Corp",
"confidence": null,
"location_id": null,
"location_name": null,
"created_at": "2026-01-20T08:00:00.000Z",
"updated_at": "2026-01-20T08:00:00.000Z",
"quality_station": {
"id": 10,
"area_id": 95,
"area_name": "QS Station 1",
"station_configuration": "dual_side_pallet"
},
"units": [],
"line_items": [
{
"id": 4043,
"product_ref_id": 1078,
"product_id": "PROD-123",
"name": "Widget A",
"line_no": null,
"sku": "WDG-A-001",
"is_edited": false,
"expected_quantity": 100,
"actual_quantity": 0,
"additional_data": null,
"created_at": "2026-01-20T08:00:00.000Z",
"updated_at": "2026-01-20T08:00:00.000Z",
"thumbnail_embedding_id": 7613,
"issue": null
}
],
"pallet_identifiers": [],
"additional_data": null
}
}

Fields:

  • site_id, wms_site_id: same meaning as in Shipment Unit Completed
  • extract_identifiers: Whether the system will extract identifiers from the physical shipment label via OCR during this inspection
  • shipment: Shipment object at start — same shape as the Shipment Completed event's shipment field (id/shipment_key there are the shipment's identifiers — not repeated at the top level here), but units is empty and line_items carry their expected (not yet counted) quantities

When Published:

  • When a shipment inspection is started (POST /v1/api/quality/inspection/shipment), before any units have been processed

Integration: Shipment Unit Completed​

Topic: arvist/integration/shipment/unit-completed

Published every time a unit finishes processing, whether or not it has any issues.

Message Structure:

{
"shipment_id": 1,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "inbound",
"unit_id": "unit-001",
"unit_session_id": 789,
"order_numbers": ["PO-12345"],
"identifiers": {
"order_numbers": ["PO-12345"],
"pallet_identifier": "PLT-001"
},
"increment_by": 1,
"products": [
{
"product_id": "PROD-123",
"sku": "WDG-A-001",
"actual_quantity": 48
}
],
"progress": {
"current_count": 6,
"total_count": 10,
"inspection_state": "IMAGES_CAPTURED"
},
"images": [
{
"side": "front",
"media": [
{
"content_id": 5678,
"filename": "unit-001-front.jpg",
"content_type": "image/jpeg",
"type": "image",
"side": "front",
"url": "https://<bucket>.r2.cloudflarestorage.com/...",
"expires_at": "2026-01-20T11:00:00.000Z"
}
],
"damages": []
}
],
"issues": [
{
"id": 555,
"issue_type": "unidentified_product",
"status": "open",
"shipment_data_id": null,
"description": null,
"metadata": {
"file_name": "unit-001-front.jpg",
"annotation": {
"id": 40230,
"image_id": 5678,
"category_id": null,
"identifiers": {},
"bbox": [0.05, 0.42, 0.18, 0.3],
"area": 0.054,
"merged": null
}
},
"created_at": "2026-01-20T21:51:32.767Z",
"updated_at": "2026-01-20T21:51:32.767Z",
"resolved_at": null,
"resolved_by_user": null,
"reason": null
},
{
"id": 556,
"issue_type": "wrong_product",
"status": "open",
"shipment_data_id": null,
"description": null,
"metadata": {
"file_name": "unit-001-front.jpg",
"annotation": {
"id": 40231,
"image_id": 5678,
"category_id": null,
"identifiers": { "sku": "WDG-B-002" },
"bbox": [0.21, 0.08, 0.19, 0.32],
"area": 0.0608,
"merged": null
}
},
"created_at": "2026-01-20T21:51:33.102Z",
"updated_at": "2026-01-20T21:51:33.102Z",
"resolved_at": null,
"resolved_by_user": null,
"reason": null
}
]
}

Two open issues shown here for illustration — one unidentified_product (nothing matched at all, identifiers empty) and one wrong_product (a real, recognized product, WDG-B-002, that just isn't on this order). Both share the exact same envelope and flat metadata shape — only issue_type, shipment_data_id, and what metadata.annotation.identifiers managed to read differ. Most calls carry zero or one issue; a unit rarely has both at once.

Fields:

  • shipment_id: Integer ID of the shipment being inspected
  • shipment_key: The shipment's reference key, with any internal duplicate-shipment suffix (_1, _2, ...) stripped — this may be a WMS/ERP-provided shipment number or an internally generated ID depending on how the shipment was created
  • site_id: Arvist's internal site id
  • wms_site_id: The WMS-side site id mapped to this Arvist site (sites.wms_site_id), or null if unmapped
  • type: Shipment type ("inbound" or "outbound")
  • unit_id: String ID of the unit being inspected
  • unit_session_id: Integer ID of the unit's inspection session
  • order_numbers: Array of order/PO numbers associated with the shipment
  • identifiers: Key-value pairs of label fields read from the unit and correlated back to the shipment label's mapped fields. The keys present depend on what fields are configured on the label assigned to the shipment. Possible keys include:
    • order_numbers: Order/PO numbers scanned from the label
    • pallet_identifier: Pallet identifier value
    • total_pallets: Total pallet count
    • sku: Product SKU
    • items_quantity: Item quantity
    • case_quantity: Case quantity
    • Any other mapped_field value defined on the shipment label
  • increment_by: Unit count delta this call contributed (null if not applicable, e.g. photo-documentation-only stations)
  • products: This call's own per-product contribution — only the line items this unit touched, each with its new absolute actual_quantity
  • progress: The shipment's running progress
    • current_count/total_count: Units processed so far vs. expected total
    • inspection_state: The station's current inspection state (e.g. "STARTED", "IMAGES_CAPTURED", "AUTO_INSPECTION_STOPPED"), or null if not tracked
    • No per-product tally here — that would just restate products above under different key names; see Shipment Canceled for the one event that does carry a progress.product_counts (it has no products array of its own)
  • images: This unit session's images — side, media (array, see Media Resolution below), damages
  • issues: All open session-level issues for the unit — may be empty. Every issue_type shares the same top-level shape, with type-specific detail in metadata. Session-level types only — overage/shortage issues are scoped to a line item, not a unit session, so they never appear here even when open; see Shipment Issue Resolved for how those surface instead.
    • id: Unique issue identifier
    • issue_type: Type of issue ("damage", "unidentified_product", "wrong_product", "wrong_load", "no_identifiers")
    • status: Issue status ("open", "resolved", "canceled", "unresolved", "false_positive") — "resolved" means the original detection/classification was correct and the action just confirms a real-world outcome; "false_positive" means the classification itself was wrong and had to be corrected; "unresolved" means the shipment completed while the issue was still open and nobody acted on it
    • description: Optional issue description (not currently populated)
    • metadata: Type-specific data:
      • damage issues: damage_reports — array of {unit_side, damages, images}
        • unit_side: "front", "back", "left", "right", "top", or "all"
        • damages: Array of {damage_type, damage_type_id, damage_description, box_quantity}
        • images: Every image/video sharing this unit_side in the session, resolved per Media Resolution below (an array — a side can have more than one image, e.g. multi-layer/pick-pack)
      • wrong_load/no_identifiers issues: observed_order_numbers, observed_pallet_identifier, expected_location, actual_location (whichever are present)
      • unidentified_product/wrong_product issues: one detected instance per issue row — file_name, annotation directly at the root (no wrapper array). annotation.id/ annotation.image_id are the instance/image identifiers — not repeated as separate annotation_id/image_id keys alongside annotation
    • created_at/updated_at/resolved_at: ISO 8601 timestamps
    • resolved_by_user: Who resolved this issue — {id, first_name, last_name}, or null if still open or resolved by something other than a user action
    • reason: Why the issue was left unresolved — only set when status is "unresolved", null otherwise

Media Resolution:

A stored image row's media is always an array of 0–2 entries — one for an image capture, one for a video clip, both if the row has both. Each entry resolves to one of:

  • Cloud storage (R2, the common case): a presigned GET URL, valid 30 minutes — url, expires_at
  • Local storage (on-prem deployments): an internal stream_url, addressed by content_id via /storage/media/:contentId (serves both images and videos)

Every entry also carries content_id, filename, content_type, type ("image" or "video"), and side.

When Published:

  • Once per arvist/shipment/unit-completed (internal) message processed, regardless of whether it produced any issues

Integration: Shipment Issue Resolved​

Topic: arvist/integration/shipment/issue-resolved

Published whenever an issue's status or metadata changes via a resolution action — damage acknowledged/resolved, a wrong-load or no-identifiers issue resolved, a product identified/corrected, an overage or shortage resolved. Fires once per resolution action, one event per issue.

Message Structure:

{
"shipment_id": 1,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "inbound",
"unit_id": "unit-001",
"unit_session_id": 789,
"order_numbers": ["PO-12345"],
"issue": {
"id": 124,
"issue_type": "wrong_load",
"status": "resolved",
"shipment_data_id": null,
"description": null,
"metadata": {
"observed_order_numbers": ["PO-12345"]
},
"created_at": "2026-01-20T10:30:00.000Z",
"updated_at": "2026-01-20T10:32:00.000Z",
"resolved_at": "2026-01-20T10:32:00.000Z",
"resolved_by_user": { "id": 1, "first_name": "Arvist", "last_name": "Admin" },
"reason": null
}
}

Fields:

  • shipment_id, shipment_key, site_id, wms_site_id, type, order_numbers: same meaning as in Shipment Unit Completed
  • unit_id, unit_session_id: the unit/session the resolved issue belonged to — present for every issue type except overage/shortage, which are scoped to a line item instead and publish this event with both fields absent
  • issue: The single issue's post-resolution state. Re-fetched fresh right before publish (via a dedicated query, not whatever a given resolve action's own DB call happened to return), so this is always the same envelope regardless of which resolution path fired the event: id, issue_type, status, shipment_data_id, description, metadata, created_at, updated_at, resolved_at, resolved_by_user, reason — same fields as one entry in Shipment Unit Completed's issues (including the same damage_reports/image resolution for damage issues), plus shipment_data_id, which that event's embedded session issues don't carry
    • shipment_data_id: The line item (integer id) this issue resolved to or concerns — set for overage/shortage from the moment the issue is created, and for unidentified_product/wrong_product once resolved; null otherwise
    • resolved_by_user: {id, first_name, last_name}, or null if resolved by something other than a user action (e.g. an automated corrective flow)
    • reason: Set only when status is "unresolved"; null otherwise

Example — an overage resolved by physically removing the extra unit(s) (unit_id/unit_session_id absent, shipment_data_id set):

{
"shipment_id": 1,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "outbound",
"order_numbers": ["PO-12345"],
"issue": {
"id": 201,
"issue_type": "overage",
"status": "resolved",
"shipment_data_id": 5502,
"description": null,
"metadata": {
"removed_annotation_ids": [40231, 40232],
"removed_annotations": [
{ "annotation_id": 40231, "unit_id": "b3f1...", "file_name": "unit_b3f1_side1.jpg" },
{ "annotation_id": 40232, "unit_id": "b3f1...", "file_name": "unit_b3f1_side2.jpg" }
]
},
"created_at": "2026-01-20T09:15:00.000Z",
"updated_at": "2026-01-20T10:40:00.000Z",
"resolved_at": "2026-01-20T10:40:00.000Z",
"resolved_by_user": { "id": 1, "first_name": "Arvist", "last_name": "Admin" },
"reason": null
}
}

When Published:

  • Whenever a damage/wrong_load/no_identifiers issue's status changes via a resolution action
  • Whenever an unidentified_product or wrong_product issue is resolved, via any of: assigning/correcting a product, keeping an off-manifest product on record, or physically removing it
  • Whenever an overage is resolved — the extra unit(s) were physically removed, or one detected unit is reassigned to a different product
  • Whenever a shortage is resolved — the missing unit(s) were physically found and added, or the expected count itself is corrected

Integration: Shipment Overage-Shortage Detected​

Topic: arvist/integration/shipment/overage-shortage-detected

Published the moment an overage/shortage issue is first created — the real-time counterpart to issue-resolved for these two types, which otherwise have no other way to surface until they're resolved: they're scoped to a line item rather than a unit/session, so unlike every other issue type they never appear in Shipment Unit Completed's issues array. Fires exactly once per issue — a later unit-completed/count-check that finds the same overage/shortage still open does not re-fire this event.

Message Structure:

{
"shipment_id": 7,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "outbound",
"order_numbers": ["PO-12345"],
"issue": {
"id": 201,
"issue_type": "overage",
"status": "open",
"shipment_data_id": 5502,
"description": null,
"metadata": {
"candidates": [
{
"annotation_id": 40231,
"unit_id": "e2a0ffaf-727b-4dc2-9502-bf22c0d0339f",
"file_name": "unit-001-top.jpg",
"bbox": [0.21, 0.08, 0.19, 0.32],
"identifiers": { "sku": "WDG-A-001" },
"media": [
{
"content_id": 5678,
"filename": "unit-001-top.jpg",
"content_type": "image/jpeg",
"type": "image",
"side": "top",
"url": "https://<bucket>.r2.cloudflarestorage.com/...",
"expires_at": "2026-01-20T11:00:00.000Z"
}
]
}
]
},
"created_at": "2026-01-20T09:15:00.000Z",
"updated_at": "2026-01-20T09:15:00.000Z"
}
}

Fields:

  • shipment_id, shipment_key, site_id, wms_site_id, type, order_numbers: same meaning as in Shipment Unit Completed
  • issue: The newly-created issue — id, issue_type, status, shipment_data_id, description, metadata, created_at/updated_at. Deliberately a leaner shape than Shipment Issue Resolved's issue — no resolved_at, resolved_by_user, or reason here, since this event fires at creation, before any resolution has happened, and those fields would just always be null. unit_id/unit_session_id are never present at the top level either, since overage/shortage are always line-item scoped, never unit/session scoped
    • shipment_data_id: The line item this issue concerns, set from creation
    • status: Always "open" here — this event fires at creation, before any resolution action
    • metadata.candidates (overage only, absent for shortage): every annotation currently counted against this line item, across every unit — the same data the Arvist UI's own reassign picker builds from, so an integrator can build an equivalent "pick the specific unit that's actually a different product" screen. Each entry: annotation_id (send this back as reassign's annotation_id), unit_id, file_name, bbox, identifiers (whatever was read off the label), media (fetchable image, same shape as Shipment Unit Completed's images[].media). This is a point-in-time snapshot — reassign re-validates the annotation_id against live data at call time regardless, so acting on a stale entry just 400s rather than corrupting anything.

When Published:

  • Whenever a real line item's live count first goes above its expected_quantity (an overage), detected while a unit is completing
  • Whenever a real line item's count is still below its expected_quantity (a shortage) at the point shortages are checked — before /finished//submit proceeds, or at any automated completion

Integration: Shipment Completed​

Topic: arvist/integration/shipment/completed

Published once a shipment reaches its final completed status — a human's /final submission, or automated completion when review is skipped (skip_review, or product counting not enabled for the station). Does not fire for the review transition.

Message Structure:

{
"site_id": 5,
"wms_site_id": 42,
"location_key": null,
"shipment": {
"id": 456,
"shipment_key": "SHP-2026-001",
"type": "inbound",
"status": "completed",
"order_numbers": ["PO-12345", "PO-67890"],
"supplier": "Acme Corp",
"confidence": null,
"location_id": null,
"location_name": null,
"created_at": "2026-01-20T08:00:00.000Z",
"updated_at": "2026-01-20T10:30:00.000Z",
"quality_station": {
"id": 10,
"area_id": 95,
"area_name": "QS Station 1",
"station_configuration": "dual_side_pallet"
},
"units": [
{
"id": "unit-001",
"type": "pallet",
"pallet_identifier": null,
"created_at": "2026-01-20T08:05:00.000Z",
"updated_at": "2026-01-20T08:06:15.000Z",
"quality_sessions": [
{
"id": 789,
"created_at": "2026-01-20T08:05:30.000Z",
"updated_at": "2026-01-20T08:06:15.000Z",
"images": [
{
"side": "front",
"media": [
{
"content_id": 5678,
"filename": "unit-001-front.jpg",
"content_type": "image/jpeg",
"type": "image",
"side": "front",
"url": "https://<bucket>.r2.cloudflarestorage.com/...",
"expires_at": "2026-01-20T11:00:00.000Z"
}
],
"damages": [
{
"id": 101,
"type": "Torn Boxes",
"type_id": 3,
"category": "Packaging",
"category_type": "pallet",
"description": "Multiple boxes show tearing",
"damaged_box_qty": 5,
"created_at": "2026-01-20T08:06:00.000Z"
}
]
}
],
"issues": [
{
"id": 123,
"issue_type": "damage",
"status": "resolved",
"description": null,
"metadata": { "damage_reports": [{ "unit_side": "front", "damages": [ /* ... */ ], "images": [ /* ... */ ] }] },
"created_at": "2026-01-20T08:06:00.000Z",
"updated_at": "2026-01-20T10:30:00.000Z",
"resolved_at": "2026-01-20T10:30:00.000Z",
"resolved_by_user": { "id": 1, "first_name": "Arvist", "last_name": "Admin" },
"reason": null
}
]
}
]
}
],
"line_items": [
{
"id": 4043,
"product_ref_id": 1078,
"product_id": "PROD-123",
"name": "Widget A",
"line_no": null,
"sku": "WDG-A-001",
"is_edited": false,
"expected_quantity": 100,
"actual_quantity": 98,
"additional_data": null,
"created_at": "2026-01-20T08:00:00.000Z",
"updated_at": "2026-01-20T10:30:00.000Z",
"thumbnail_embedding_id": 7613,
"issue": null
}
],
"pallet_identifiers": [],
"additional_data": null
}
}

Fields:

  • site_id, wms_site_id: same meaning as in Shipment Unit Completed
  • location_key: WMS location identifier, only present when a human submitted via the /final review page. Optional.
  • shipment: Complete shipment object (status is always "completed") — id/shipment_key here are the shipment's identifiers, not repeated at the top level
    • id, shipment_key, type, order_numbers, supplier, confidence, location_id, location_name, created_at/updated_at
    • quality_station: id (station id), area_id, area_name (quality_stations has no name of its own — it's 1:1 with an area, so this is the area's name), station_configuration — curated to identity fields only; camera/zone layout, notification config, and inference/OCR tuning are internal implementation detail, not published
    • units: Array of inspected units
      • id, type ("pallet" or "product"), pallet_identifier, created_at/updated_at
      • quality_sessions: Array of inspection sessions for this unit
        • id, created_at/updated_at
        • images: Array of captured images
          • side: Image side ("front", "back", "left", "right", "top", etc.)
          • media: Array — see Media Resolution under Shipment Unit Completed
          • damages: id, type, type_id, category, category_type, description, damaged_box_qty
        • issues: Session-level issues, same envelope as Shipment Unit Completed — all resolved by this point, since a completed shipment has nothing left open. Includes resolved_by_user (id/first_name/last_name, or null) and reason (only set when status was left "unresolved")
    • line_items: id (this line item's own id — the shipment_data_id that overage/shortage issues reference), product_ref_id (internal catalog product id, or null if unlinked), product_id, name, sku (from the catalog product when linked, otherwise the shipment's own record), line_no, is_edited, expected_quantity, actual_quantity, additional_data, created_at/updated_at, thumbnail_embedding_id (opaque internal reference, not independently fetchable), issue
      • issue: This line item's own currently-open overage/shortage issue — a quick way to tell which line items are miscounted without cross-referencing every unit's session issues, since overage/shortage are the only issue types actually scoped to a line item (unidentified_product/wrong_product/damage/wrong_load/no_identifiers are always unit/session-scoped and never appear here, even once resolved to this line item). id, issue_type, status (always "open" here), shipment_data_id, metadata, created_at/updated_at/resolved_at (always null, since only open issues are surfaced here) — a separate query path from Shipment Overage-Shortage Detected's issue, so close but not byte-identical: no description here. null once resolved, or if the shipment completed with the issue left "unresolved" rather than actively resolved — this field only ever reflects a currently open aggregate issue
    • pallet_identifiers, additional_data: passthrough shipment-level data, present if set

When Published:

  • After a human submits the Final Count Page (/final), once final line-item counts are written
  • Or, for automated stations with skip_review (or without product counting enabled), immediately on device-driven completion

Integration: Shipment Canceled​

Topic: arvist/integration/shipment/canceled

Published when a whole shipment is canceled, or a single unit is removed from an in-progress shipment. Differentiated by unit_id.

Message Structure:

{
"shipment_id": 456,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "inbound",
"status": "pending",
"order_numbers": ["PO-12345"],
"unit_id": "unit-001",
"progress": {
"current_count": 5,
"total_count": 10,
"product_counts": [
{
"product_id": "PROD-123",
"sku": "WDG-A-001",
"name": "Widget A",
"current_quantity": 40
}
]
}
}

Fields:

  • shipment_id, shipment_key, site_id, wms_site_id, type, order_numbers: same meaning as in Shipment Unit Completed
  • status: The shipment's status after this action —
    • Whole-shipment cancel: "pending" (reset for re-inspection), or "deleted" (a duplicate shipment created for a repeat inspection is removed entirely)
    • Unit removal: the shipment's current status, unaffected by removing one unit
  • unit_id: The removed unit's id, or null for a whole-shipment cancel
  • progress: Corrected shipment progress after a unit removal, or null for a whole-shipment cancel
    • current_count/total_count: Units processed so far vs. expected total
    • product_counts: Running per-product tally for the whole shipment — product_id, sku, name, current_quantity

When Published:

  • Whole-shipment cancel: when a user cancels the shipment from the ⋮ menu
  • Unit removal: when a user removes a unit from the Summary page

Open issues on a removed unit: removing a unit does not resolve or otherwise touch any of that unit's own open session issues (wrong_product, unidentified_product, damage, etc.) — they're left status: "open" in Arvist with no matching issue-resolved ever published for them. canceled is the authoritative signal here: once you receive it for a unit_id, treat every other fact you were tracking for that unit (including any still-open issues) as moot — don't wait on an issue-resolved that isn't coming.

Integration: Shipment Paused​

Topic: arvist/integration/shipment/paused

Published when an in-progress shipment inspection is paused.

Message Structure:

{
"shipment_id": 456,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "inbound",
"order_numbers": ["PO-12345"],
"reason": "manual"
}

Fields:

  • shipment_id, shipment_key, site_id, wms_site_id, type, order_numbers: same meaning as in Shipment Unit Completed
  • reason: "manual" (paused by a user) or "idle_timeout" (auto-paused after no activity)

When Published:

  • When a user pauses a shipment, or the idle-timeout sweep auto-pauses one

Integration: Shipment Resumed​

Topic: arvist/integration/shipment/resumed

Published when a paused shipment resumes, or a completed shipment is reopened.

Message Structure:

{
"shipment_id": 456,
"shipment_key": "SHP-2026-001",
"site_id": 5,
"wms_site_id": 42,
"type": "inbound",
"order_numbers": ["PO-12345"],
"reason": "resumed",
"progress": {
"current_count": 5,
"total_count": 10
}
}

Fields:

  • shipment_id, shipment_key, site_id, wms_site_id, type, order_numbers: same meaning as in Shipment Unit Completed
  • reason: "resumed" (a paused shipment continues, existing counts preserved) or "reopened" (a completed shipment is reopened, counts reset to 0 for a fresh recount)
  • progress: current_count/total_count at the moment of resuming, or null (always null for "reopened", since counts are being reset)

When Published:

  • When a user resumes a paused shipment, or reopens a completed one

Arvist Notifications​

Topic: arvist/notifications/#

The notifications service subscribes to this topic pattern to process various types of notifications. Multiple notification types are supported, including safetyAlert, shippingMismatch, shippingDamage, userActionLink, adminErrorLog, and custom.

Custom Notification Type​

Topic: arvist/notifications (or any subtopic under this prefix)

The custom notification type provides flexibility for sending arbitrary notifications with custom subject, content, and attachments.

Message Structure:

{
"notificationType": "custom",
"targets": {
"email": ["user@example.com"],
"sms": ["+1234567890"],
"slack": ["channel-id"]
},
"data": {
"subject": "Daily Report",
"content": "Please find attached the daily report.",
"attachments": [
{
"filename": "report.csv",
"buffer": "base64-encoded-file-content",
"contentType": "text/csv"
}
]
},
"correlationId": "unique-tracking-id",
"metadata": {
"source": "reporting-service",
"priority": "normal"
}
}

Fields:

  • notificationType: Must be "custom" for custom notifications
  • targets: Object specifying notification recipients
    • email: Array of email addresses (optional)
    • sms: Array of phone numbers in E.164 format (optional)
    • slack: Array of Slack channel IDs (optional)
  • data: Custom notification content
    • subject: Email subject line (optional, defaults to "Custom Notification")
    • content: Notification body content (string or HTML string)
    • attachments: Array of file attachments (optional)
      • filename: Name of the attached file (optional)
      • buffer: Base64-encoded file content or raw Buffer (optional)
      • mediaUrl: URL to remote file instead of buffer (optional)
      • contentType: MIME type of the attachment (e.g., "text/csv", "application/pdf")
  • correlationId: Optional tracking identifier for logging and correlation
  • metadata: Optional additional metadata (any key-value pairs)

When Published:

  • By external services or custom integrations that need to send notifications
  • For scheduled reports, alerts, or custom workflows
  • When flexible notification content is required beyond predefined templates

Notes:

  • At least one target type must be specified (email, SMS, or Slack)
  • Attachments can be provided via buffer (base64-encoded) or mediaUrl (URL to file)
  • HTML content is supported in the content field for rich email formatting
  • The notification service automatically routes messages to the appropriate channels based on targets