Upload DICOM instances to a DICOMweb server using STOW-RS

domain: dicomweb.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate to your DICOMweb server using the required method (Basic auth with YOUR_TOKEN, or OAuth bearer token) and confirm the server's STOW-RS endpoint URL from its WADO capabilities response or documentation
  2. For each DICOM file, read the raw .dcm bytes; do not modify the file — the binary DICOM payload must be sent exactly as stored including all header and pixel data bytes
  3. Construct a multipart/related HTTP POST request: set the Content-Type header to 'multipart/related; type="application/dicom"; boundary=BOUNDARY_STRING' and add each DICOM file as a separate part with Content-Type: application/dicom
  4. POST the multipart request to the STOW-RS endpoint, typically structured as {base_url}/studies for a study-level store; include Authorization header with YOUR_TOKEN
  5. Parse the response — HTTP 200 indicates all instances were accepted; HTTP 202 indicates partial success with some instances accepted and others failed; inspect the response body (DICOM XML or JSON) for per-instance success/failure status using the Referenced SOP Instance UID list
  6. For failed instances, log the failure reason from the Failed SOP Sequence in the response and implement retry logic for transient failures (network errors) while routing persistent failures to a dead-letter queue for manual review

Known gotchas

Related routes

Upload large DICOM studies to a DICOMweb server using STOW-RS multipart/related requests with proper boundary construction
dicomweb.com · 5 steps · unrated
Submit DICOM imaging studies to a cloud DICOMweb server using STOW-RS multipart upload and then verify storage by querying study metadata via QIDO-RS
dicomstandard.org · 5 steps · unrated
Create a DICOM store in Google Cloud Healthcare API and perform STOW-RS, QIDO-RS, and WADO-RS operations against it
cloud.google.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans