Inferensys

Glossary

STOW-RS

STOW-RS (Store Over the Web by RESTful Services) is a DICOMweb RESTful service enabling the storage of DICOM instances over HTTP using multipart/related POST requests, serving as a modern alternative to the DIMSE C-STORE command.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
DICOMWEB STORAGE SERVICE

What is STOW-RS?

STOW-RS (Store Over the Web by RESTful Services) is a DICOMweb standard that enables the storage of medical imaging instances over HTTP using a simple multipart/related POST request, serving as a modern, firewall-friendly alternative to the legacy DIMSE C-STORE command.

STOW-RS is defined in DICOM Part 18 as the mechanism for transmitting composite SOP Instances from a Service Class User (SCU) to a Service Class Provider (SCP) using standard HTTP/HTTPS protocols. Unlike the legacy DIMSE C-STORE operation that requires a persistent, negotiated TCP/IP association, STOW-RS packages one or more DICOM instances into a multipart/related MIME payload and transmits them via a single POST request to a well-defined Uniform Resource Identifier (URI).

The service endpoint accepts the application/dicom+xml media type for metadata and encapsulates the raw binary pixel data within the multipart body, eliminating the need for complex firewall reconfigurations. The SCP responds with an XML document detailing the success or failure of each stored instance, referencing the retrieved DICOM UID. This stateless, web-centric architecture is foundational for cloud-based Vendor Neutral Archives (VNAs) and modern healthcare interoperability ecosystems.

DICOMWEB STORAGE SERVICE

Key Features of STOW-RS

STOW-RS (Store Over the Web by RESTful Services) modernizes medical imaging workflows by replacing legacy DICOM C-STORE commands with simple HTTP POST requests, enabling cloud-native PACS and VNA architectures.

01

HTTP Multipart/Related Payload

STOW-RS accepts DICOM instances packaged as a multipart/related MIME body within a single HTTP POST request. Each part contains one DICOM SOP Instance, allowing batch storage of an entire study in a single transaction. The Content-Type header must be set to multipart/related; type="application/dicom" with a specified boundary delimiter. This eliminates the overhead of negotiating a separate DICOM association for each image, dramatically simplifying firewall traversal and load balancer configuration compared to the legacy DIMSE C-STORE protocol.

HTTP/1.1
Transport Protocol
multipart/related
MIME Type
02

RESTful Endpoint Structure

The standard STOW-RS endpoint follows a predictable RESTful pattern: POST {base-url}/studies to store a new study, or POST {base-url}/studies/{studyInstanceUID} to append instances to an existing study. This resource-oriented design aligns with modern API gateway and microservice architectures. The server returns an XML or JSON response containing the success or failure status for each stored instance, including any Warning or Failure Reason codes, enabling robust programmatic error handling without parsing DICOM command sets.

201 Created
Success Status
XML/JSON
Response Format
03

Stateless Operation Model

Unlike the stateful DICOM Association Negotiation required by DIMSE, STOW-RS is inherently stateless. Each HTTP request is independent and self-contained, carrying all necessary authentication and payload data. This statelessness enables horizontal scaling behind a standard load balancer without sticky sessions, simplifies retry logic on failure, and allows the use of commodity CDN and reverse proxy infrastructure. The server does not maintain a persistent TCP connection context between transactions, reducing memory pressure on the storage SCP.

Stateless
Session Model
Horizontal
Scaling Pattern
04

Modern Authentication Integration

STOW-RS leverages standard HTTP authentication mechanisms, including OAuth 2.0 Bearer Tokens, JWT, and TLS mutual authentication, rather than relying on the limited DICOM User Identity Negotiation extension. This allows seamless integration with enterprise Identity and Access Management (IAM) systems and Single Sign-On (SSO) providers. Security teams can apply consistent web application firewall (WAF) rules and API rate limiting policies to DICOM storage traffic, unifying the security posture for imaging data with the rest of the enterprise API ecosystem.

OAuth 2.0
Auth Standard
Bearer/JWT
Token Type
05

Granular Store Response Payload

The STOW-RS response body provides a detailed, per-instance accounting of the storage operation. For each SOP Instance submitted, the server returns a ReferencedSOPSequence item containing the retrieveURL for subsequent WADO-RS access, the SOPClassUID, and the SOPInstanceUID. Failures are reported with a Failure Reason code (e.g., Processing failure, Duplicate SOP Instance) and an optional human-readable Comment. This granular feedback enables the client to implement precise retry logic for only the failed instances rather than re-sending an entire batch.

Per-Instance
Response Granularity
retrieveURL
WADO-RS Link
06

Study-Level Atomic Storage

When posting to the {base-url}/studies endpoint, STOW-RS treats the entire multipart payload as an atomic transaction for the creation of a new Study resource. The server assigns a new Study Instance UID and returns it in the Location response header. This allows a modality or acquisition gateway to transmit all images, structured reports, and presentation states for a complete patient exam in one round-trip, ensuring referential integrity. The client does not need to pre-coordinate the Study UID, simplifying the workflow for Secondary Capture and conversion scenarios.

Atomic
Transaction Type
Location Header
Study UID Return
DICOM STORAGE PROTOCOL COMPARISON

STOW-RS vs. DIMSE C-STORE

A technical comparison of the modern RESTful STOW-RS service and the legacy DIMSE C-STORE command for transmitting DICOM instances over a network.

FeatureSTOW-RSDIMSE C-STORE

Protocol Base

HTTP/HTTPS (RESTful)

DICOM Upper Layer over TCP/IP

DICOM Standard Reference

Part 18

Part 7

Request Method

POST

C-STORE-RQ command

Payload Format

multipart/related MIME

DICOM Command/Data PDVs

Firewall Traversal

Requires Association Negotiation

Native Web Proxy Support

Typical Port

443 (HTTPS)

104 or 11112

Bulk Data Handling

Native multipart streaming

Single association per instance

STOW-RS PROTOCOL

Frequently Asked Questions

Clear answers to common questions about the STOW-RS DICOMweb service, its implementation, and its role in modern medical imaging infrastructure.

STOW-RS (Store Over the Web by RESTful Services) is a DICOMweb standard defined in DICOM Part 18 that enables the storage of DICOM instances over HTTP using a simple multipart/related POST request. It serves as a modern, firewall-friendly alternative to the legacy DIMSE C-STORE command. The client sends an HTTP POST to the /studies endpoint, packaging one or more DICOM instances as binary parts within a multipart/related MIME body. The server processes each instance, persists it to the archive, and returns an XML or JSON response listing the successfully stored and any failed SOP Instance UIDs. This RESTful approach eliminates the need for persistent TCP/IP associations and complex port negotiation, making it ideal for cloud-based PACS and VNA integrations.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.