# Queue and cache check APIs

## Queue Deadline Risk Snapshot API

Find queued messages that are overdue, due now or approaching their deadlines in a supplied snapshot. Supply one observation time, up to 24 queue maximum-age policies and up to 120 messages with unique IDs. Use one clock and whole milliseconds throughout. The earlier of the queue age limit and the message expiry applies. Use null if there is no separate message expiry. A negative remaining time is overdue. Zero is due now. Positive time through the warning threshold is at risk. Counts cover the supplied records only. This checks caller-defined deadlines without inspecting a live broker or predicting its expiry behavior. Use authorized, non-sensitive data. The report describes supplied records and does not change external systems.

[Request example](queue-deadline-risk-snapshot.request.example.json) · [Input schema](queue-deadline-risk-snapshot.input.schema.json) · [Result schema](queue-deadline-risk-snapshot.result.schema.json)

## HTTP Cache Key Collision Audit API

Find HTTP cache keys shared by test requests that need different response variants. Supply up to 120 cases with unique IDs and case-sensitive labels for the cache namespace, computed key and expected response variant. Use only opaque test labels, without raw headers, cookies or URL query values. Within one namespace, the same key may be reused by cases with the same expected variant. A shared key with multiple expected variants is reported as a collision. At least two cases in one namespace are needed for a comparison. Findings apply to the submitted cases and key labels only. The audit does not generate cache keys, fetch URLs or verify the live cache configuration. Use authorized, non-sensitive data. The report describes supplied records and does not change external systems.

[Request example](http-cache-key-collision-audit.request.example.json) · [Input schema](http-cache-key-collision-audit.input.schema.json) · [Result schema](http-cache-key-collision-audit.result.schema.json)

Per job, USD 9.00 once. Save your private JSON result within its 30-day access period.
Requests accept at most 36,000 UTF-8 input bytes. Send only authorized, non-sensitive records.

Use the existing [agent checkout guide](https://gatewayinformationgroup.com/developers) to prepare a quote, pay and retrieve the private result.
