Model Search
Searches Workers AI models by name or description.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Accepted Permissions (at least one required)
Query Parameters
If set, return models in the requested marketplace format instead of the default response.
If true, include models whose planned_deprecation_date is in the past — but only within a three-month grace window after that date. Models whose planned_deprecation_date is more than three months in the past remain hidden regardless of this flag. Future planned-deprecation dates are always included regardless of this flag. Defaults to false, preserving the existing behavior of hiding all past-dated deprecations.
Model Search
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/ai/models/search \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [
{}
],
"messages": [
"string"
],
"result": [
{}
],
"success": true
}Returns Examples
{
"errors": [
{}
],
"messages": [
"string"
],
"result": [
{}
],
"success": true
}