Generations - TypeScript SDK
Generations method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
(generations)
Overview
Generation history endpoints
Available Operations
- getGeneration - Get request & usage metadata for a generation
getGeneration
Get request & usage metadata for a generation
Example Usage
Standalone function
The standalone function version of this method:
React hooks and utilities
This method can be used in React components through the following hooks and associated utilities.
Check out this guide for information about each of the utilities below and how to get started using React hooks.
Parameters
Response
Promise<operations.GetGenerationResponse>