Skip to main content
GET
Get stored prompt, completion, and error content for a generation

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Query Parameters

id
string
required

The generation ID

Maximum string length: 128
Pattern: ^gen-[0-9A-Za-z-]+$
Example:

"gen-1234567890"

Response

Returns the stored prompt and completion content, plus the failure error when the generation failed

Stored prompt and completion content for a generation

data
object
required

Stored prompt and completion content, plus the failure error when one was stored

Example: