Relativity6Platform Docs

Caching

How Marvin2 response caching works for classification and repeat requests.

When responses are cached

Caching is based on the full request body. If every meaningful field matches a previous call — company name, location, predictionType, responseConfig, searchMode, and the rest — you should see a HIT.

Change any value in the body and you should expect a MISS and a new classification.

Only successful responses are cached. Errors are not stored.

Repeat requests

Batch and replay jobs — Re-running the same file often produces many HIT responses and much lower latency than the first pass.

Live underwriting — When a user edits company details, update the request body so the service can return an updated classification.

Need a fresh result? — Change something material in the request (for example, add a description or adjust responseConfig). If you need guaranteed fresh runs on every call, contact Relativity6 support.

Quota and billing

  • A MISS runs a full classification and typically counts toward your quota like a normal request.
  • A HIT returns a stored answer without running classification again. How cache hits affect quota depends on your organization's agreement — confirm with your account team if cost control matters.

Include responseId and the cache header value when contacting support.