Generations
Start a generation
client.generations.create(GenerationCreateParams { project_id, prompt, type, 3 more } body, RequestOptionsoptions?): GenerationCreateResponse { charged_cost, estimated_seconds, run_id, 6 more }
POST/generate
Get a run
client.generations.retrieve(stringrunID, RequestOptionsoptions?): GenerationRetrieveResponse { created_at, progress, run_id, 8 more }
GET/runs/{runId}
List generation history
client.generations.list(GenerationListParams { cursor, limit, project_id, 2 more } query?, RequestOptionsoptions?): GenerationsCursorPage<GenerationListResponse { created_at, generation_id, progress, 12 more } >
GET/generations