Skip to main content
Method: getGeneration()

Example

Parameters

  • id (string, required): Request id returned by a previous call.

Returns

GatewayGenerationRecord When request details were stored, the returned record also includes replay_supported and replay_request so you can resubmit the captured payload to the original endpoint. Timing fields follow the shared gateway semantics:
  • latency_ms: time to first token or first output byte/frame when tracked
  • generation_ms: post-latency generation time when tracked
Last modified on July 26, 2026