Skip to main content
GET
Get Generation

Authorizations

Authorization
string
header
required

Authorization: Bearer YOUR_API_KEY

Query Parameters

id
string
required

Generation ID returned from inference or async jobs.

Response

Generation detail

api
string
required

API route or protocol identifier for the generation.

Example:

"chat.completions"

generationId
string
required

Unique generation ID.

Example:

"gen_01abc123def456"

model
string
required

Model slug used for the request.

Example:

"openai/gpt-4o"

createAt
string<date-time>
required

UTC timestamp when the generation was created.

Example:

"2026-03-26T06:00:00.000Z"

generationTime
integer
required

Total generation time in milliseconds.

Example:

3200

latency
integer
required

Time to first token or initial response latency in milliseconds.

Example:

500

usage
object
required
streamed
boolean
required

Whether the response was streamed.

Example:

true

finishReason
string
required

Completion finish reason, e.g. stop.

Example:

"stop"