Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Overview

Generation history endpoints

Available Operations

getGeneration

Get request & usage metadata for a generation

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.GenerationResponse>

Errors

listGenerationContent

Get stored prompt and completion content for a generation

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.GenerationContentResponse>

Errors