Skip to content
Start here

AI

Execute AI model
client.AI.Run(ctx, modelName, params) (*AIRunResponseUnion, error)
POST/accounts/{account_id}/ai/run/{model_name}

AIFinetunes

List Finetunes
client.AI.Finetunes.List(ctx, query) (*FinetuneListResponse, error)
GET/accounts/{account_id}/ai/finetunes
Create a new Finetune
client.AI.Finetunes.New(ctx, params) (*FinetuneNewResponse, error)
POST/accounts/{account_id}/ai/finetunes

AIFinetunesAssets

Upload a Finetune Asset
client.AI.Finetunes.Assets.New(ctx, finetuneID, params) (*FinetuneAssetNewResponse, error)
POST/accounts/{account_id}/ai/finetunes/{finetune_id}/finetune-assets

AIFinetunesPublic

List Public Finetunes
client.AI.Finetunes.Public.List(ctx, params) (*SinglePage[FinetunePublicListResponse], error)
GET/accounts/{account_id}/ai/finetunes/public

AIAuthors

Author Search
client.AI.Authors.List(ctx, query) (*SinglePage[AuthorListResponse], error)
GET/accounts/{account_id}/ai/authors/search

AITasks

Task Search
client.AI.Tasks.List(ctx, query) (*SinglePage[TaskListResponse], error)
GET/accounts/{account_id}/ai/tasks/search

AIModels

Model Search
client.AI.Models.List(ctx, params) (*V4PagePaginationArray[ModelListResponse], error)
GET/accounts/{account_id}/ai/models/search

AIModelsSchema

Get Model Schema
client.AI.Models.Schema.Get(ctx, params) (*ModelSchemaGetResponse, error)
GET/accounts/{account_id}/ai/models/schema

AITo Markdown

Convert Files into Markdown
client.AI.ToMarkdown.Transform(ctx, params) (*SinglePage[ToMarkdownTransformResponse], error)
POST/accounts/{account_id}/ai/tomarkdown
Get all converted formats supported
client.AI.ToMarkdown.Supported(ctx, query) (*SinglePage[ToMarkdownSupportedResponse], error)
GET/accounts/{account_id}/ai/tomarkdown/supported