Get Generation
Task Management
Get Generation
Query generation usage and billing metadata by generation ID.
GET
Get Generation
Authorizations
Authorization: Bearer YOUR_API_KEY
Query Parameters
Generation ID returned from inference or async jobs.
Response
Generation detail
API route or protocol identifier for the generation.
Example:
"chat.completions"
Unique generation ID.
Example:
"gen_01abc123def456"
Model slug used for the request.
Example:
"openai/gpt-4o"
UTC timestamp when the generation was created.
Example:
"2026-03-26T06:00:00.000Z"
Total generation time in milliseconds.
Example:
3200
Time to first token or initial response latency in milliseconds.
Example:
500
Whether the response was streamed.
Example:
true
Completion finish reason, e.g. stop.
Example:
"stop"