AI

ai

Methods

Execute AI Model -> Envelope<Array<{ label, score }> | string | { audio } | 8 more...>
post/accounts/{account_id}/ai/run/{model_name}

This endpoint provides users with the capability to run specific AI models on-demand.

By submitting the required input data, users can receive real-time predictions or results generated by the chosen AI model. The endpoint supports various AI model types, ensuring flexibility and adaptability for diverse use cases.

Model specific inputs available in Cloudflare Docs.

Security

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY

Parameters
account_id: string
model_name: string
Response fields
result: Array<{ label, score }> | string | { audio } | 8 more...
Optional

An array of classification results for the input text

Request example
200Example
AI

Authors

ai.authors

Methods

Author Search -> SinglePage<unknown>
get/accounts/{account_id}/ai/authors/search

Author Search

AI

Finetunes

ai.finetunes

Methods

Create A New Finetune -> Envelope<{ id, created_at, model, 4 more... }>
post/accounts/{account_id}/ai/finetunes

Create a new Finetune

List Finetunes -> Envelope<{ id, created_at, model, 3 more... }>
get/accounts/{account_id}/ai/finetunes

List Finetunes

ai.finetunes.assets

Methods

Upload A Finetune Asset -> Envelope<{ id, bucket_name, created_at, 3 more... }>
post/accounts/{account_id}/ai/finetunes/{finetune_id}/finetune-assets

Upload a Finetune Asset

ai.finetunes.public

Methods

List Public Finetunes -> SinglePage<{ id, created_at, model, 4 more... }>
get/accounts/{account_id}/ai/finetunes/public

List Public Finetunes

AI

Models

ai.models

Methods

Model Search -> V4PagePaginationArray<unknown>
get/accounts/{account_id}/ai/models/search

Model Search

AIModels

Schema

ai.models.schema

Methods

Get Model Schema -> Envelope<unknown>
get/accounts/{account_id}/ai/models/schema

Get Model Schema

AI

Tasks

ai.tasks

Methods

Task Search -> SinglePage<unknown>
get/accounts/{account_id}/ai/tasks/search

Task Search