Skip to main content

Replay an earlier call's response

GET 

/v1/replay/:request_id

Returns the original response body of an earlier capability call, byte for byte, without calling the fetch service again.

  • Free — a replay is never billed and does not appear in the fetch service's success-rate statistics. It is still recorded in your call log.
  • data is the platform's original response body, so data.success and data.code describe the original call: data.success: false means the call you replayed had failed. The replay itself succeeded.
  • data.request_id is the original platform request id — the same value you passed in the path.
  • Only calls that reached the fetch service are retained: authentication, content-type and body-size rejections are not, and answer 404.
  • A result that is still being archived answers 409 with Retry-After: 1; retry after a second. A result that is gone for good answers 410.
  • Ownership is enforced per account: another account's request_id answers 404, exactly as if it did not exist.

Request​

Responses​

The original response body of the replayed call

Response Headers
    Cache-Control

    Always no-store — no intermediary may cache these responses.

    X-Original-Outcome

    Whether the original call succeeded; data.success carries the same fact.

    X-Original-Status

    HTTP status the original call answered with.

    X-Replay-Of

    The platform request id that was replayed; identical to data.request_id.

    X-Replay-Operation

    Which capability produced the original result.

    X-Upstream-Request-Id

    The fetch service's own request identifier for this call. Quote it together with the envelope's request_id in support requests.