Get generation content
/v1/generation/contentGet stored input and output content for a generation.
Prefer the canonical X-Request-ID (br-*) from the original model response headers as the generation lookup ID. The endpoint also accepts recorded response IDs (such as chatcmpl_*, img_*, or video_*) and upstream aliases; X-Trace-ID is for tracing only.
Authentication
Authorization Bearer
API key as bearer token in Authorization header.
Query Parameters
idstringrequiredPrefer the canonical X-Request-ID (br-*) from the original response; a recorded response ID or upstream alias is also accepted.
Response
dataobjectStored generation content.
data.inputobject | nullOriginal request payload when available.
data.outputobject | nullSanitized response payload when available. Shape may vary by model; examples include chat choices, image data arrays, or video task fields. For text and vision models, internal upstream usage diagnostics such as upstream_usage and usage_from_upstream are omitted; use data.output.usage when present.
Errors
- 400: Missing required
idquery parameter. - 401: Missing or invalid
Authorization. - 404: Generation not found, or it is not accessible with the authenticated API key.