Skip to content
Start here

Finetunes

List Finetunes
client.ai.finetunes.list(FinetuneListParams { account_id } params, RequestOptionsoptions?): FinetuneListResponse { id, created_at, model, 3 more }
GET/accounts/{account_id}/ai/finetunes
Create a new Finetune
client.ai.finetunes.create(FinetuneCreateParams { account_id, model, name, 2 more } params, RequestOptionsoptions?): FinetuneCreateResponse { id, created_at, model, 4 more }
POST/accounts/{account_id}/ai/finetunes
ModelsExpand Collapse
FinetuneListResponse { id, created_at, model, 3 more }
id: string
formatuuid
created_at: string
formatdate-time
model: string
modified_at: string
formatdate-time
name: string
description?: string
FinetuneCreateResponse { id, created_at, model, 4 more }
id: string
formatuuid
created_at: string
formatdate-time
model: string
modified_at: string
formatdate-time
name: string
public: boolean
description?: string

FinetunesAssets

Upload a Finetune Asset
client.ai.finetunes.assets.create(stringfinetuneId, AssetCreateParams { account_id, file, file_name } params, RequestOptionsoptions?): AssetCreateResponse { success }
POST/accounts/{account_id}/ai/finetunes/{finetune_id}/finetune-assets
ModelsExpand Collapse
AssetCreateResponse { success }
success: boolean

FinetunesPublic

List Public Finetunes
client.ai.finetunes.public.list(PublicListParams { account_id, limit, offset, orderBy } params, RequestOptionsoptions?): SinglePage<PublicListResponse { id, created_at, model, 4 more } >
GET/accounts/{account_id}/ai/finetunes/public
ModelsExpand Collapse
PublicListResponse { id, created_at, model, 4 more }
id: string
formatuuid
created_at: string
formatdate-time
model: string
modified_at: string
formatdate-time
name: string
public: boolean
description?: string