Skip to main content
This endpoint stores an encrypted DDN envelope without decrypting its payload. The Cache validates the recipient, expiration, size limits, and public delivery state before accepting it. For a direct compatible-client request, send only the original envelope fields. Direct storage can use ordinary DID-service fall-through when no policy applies. When a policy rule applies, submit the original envelope to a Relay so the network can execute the winning Store action.

Request

Do not send policy_context, policy_id, policy_revision, policy_rule_id, policy_block_hash, or policy_block_number. Policy provenance is network-managed and client-supplied values do not authorize storage.
The Cache treats a failed Directory or chain lookup as an error, not as proof that no policy applies. Network-managed policy delivery remains pinned to the finalized policy decision selected for that delivery attempt. Chunk metadata uses the same assured-set contract as Relay submission. A Cache stores each opaque envelope but withholds an incomplete set from retrieval. It exposes the set after every declared sequence is present, or purges the incomplete set after its retry window.

Response

boolean
required
true when the envelope is accepted.
boolean
required
true when this Cache already held the same message ID.
string
required
UUID of the accepted envelope.
string
required
Canonical recipient DID used for storage.
string
required
Absolute ISO-8601 expiration applied to this stored copy.
string
required
Maximum clock-time duration allowed by the effective constraints.
string
required
Duration applied to this entry.
boolean
required
Whether this entry is one chunk of a message group.
string
For a chunk, chunk_staged while the declared set is incomplete or chunk_set_complete when every sequence is present.
boolean
For a chunk, whether the complete assured set is available for retrieval.
integer
Number of distinct sequences the Cache currently holds for this set.
integer
Declared total_chunks for this set.
string
For an incomplete set, the ISO-8601 deadline before the Cache may purge it.
object
required
Public Cache delivery-event metadata for this entry. Optional reason and signature keys are absent when not populated.
string
Network-verified policy ID when a Relay executed an applied policy.
integer
Network-verified policy revision when a rule applied.
string
Network-verified winning rule ID when a rule applied.
string
Finalized block hash associated with the applied policy decision.
The optional policy fields appear at the top level. There is no policy_resolution or cache_placement response wrapper.

Straight to the point

  • Accepted: 202
  • Client policy provenance: prohibited
  • Same message_id: accepted with deduped: true
  • Incomplete assured set: stored but hidden from retrieval until complete
  • Maximum raw envelope: 25 MiB; maximum non-payload metadata: 64 KiB
  • Expired, oversized, or policy-ineligible: rejected