Skip to main content
Method: client.get_generation(...).

Example

Parameters

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

Returns

Generation record (JSON) If the gateway stored full request details, the returned record includes replay_supported plus replay_request, which can be sent back to the original endpoint for a controlled rerun. 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