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
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
Models
ai.models
Methods
Model Search -> V4PagePaginationArray<unknown>
get/accounts/{account_id}/ai/models/search
Model Search
AI
Tasks
ai.tasks
Methods
Task Search -> SinglePage<unknown>
get/accounts/{account_id}/ai/tasks/search
Task Search