Skip to content
Cloudflare API
Search
Ctrl
K
Auto
Light
Dark
Start here
Start here
TypeScript
HTTP
HTTP
TypeScript
TypeScript
Python
Python
Go
Go
Terraform
Terraform
API Reference
Overview
Account & User Management
Abuse Reports
Abuse Reports
Submit an abuse report
Abuse Report Details
List abuse reports
Mitigations
Mitigations
List abuse report mitigations
Request review on mitigations
Accounts
Accounts
List Accounts
Account Details
Create an account
Update Account
Delete a specific account
Members
Members
List Members
Member Details
Add Member
Update Member
Remove Member
Roles
Roles
List Roles
Role Details
Subscriptions
Subscriptions
List Subscriptions
Create Subscription
Update Subscription
Delete Subscription
Tokens
Tokens
List Tokens
Token Details
Create Token
Update Token
Delete Token
Verify Token
Permission Groups
Permission Groups
List Permission Groups
List Permission Groups
Value
Value
Roll Token
Logs
Logs
Audit
Audit
Get account audit logs (Version 2)
Alerting
Alerting
Available Alerts
Available Alerts
Get Alert Types
Destinations
Destinations
Eligible
Eligible
Get delivery mechanism eligibility
Pagerduty
Pagerduty
List PagerDuty services
Create PagerDuty integration token
Delete PagerDuty Services
Connect PagerDuty
Webhooks
Webhooks
List webhooks
Get a webhook
Create a webhook
Update a webhook
Delete a webhook
History
History
List History
Policies
Policies
List Notification policies
Get a Notification policy
Create a Notification policy
Update a Notification policy
Delete a Notification policy
Silences
Silences
List Silences
Get Silence
Create Silences
Update Silences
Delete Silence
Audit Logs
Audit Logs
Get account audit logs
Billing
Billing
Profiles
Profiles
Billing Profile Details
Usage
Usage
Get PayGo Account Billable Usage (Version 1, Alpha)
Get Account Usage (Version 2, Alpha, Restricted)
Custom Pages
Custom Pages
List custom pages
Get a custom page
Update a custom page
Assets
Assets
List custom assets
Get a custom asset
Create a custom asset
Update a custom asset
Delete a custom asset
IAM
IAM
Permission Groups
Permission Groups
List Account Permission Groups
Permission Group Details
Resource Groups
Resource Groups
List Resource Groups
Resource Group Details
Create Resource Group
Update Resource Group
Remove Resource Group
User Groups
User Groups
List User Groups
User Group Details
Create User Group
Update User Group
Remove User Group
Members
Members
List User Group Members
Get User Group Member
Add User Group Members
Update User Group Members
Remove User Group Member
SSO
SSO
Get all SSO connectors
Get single SSO connector
Initialize new SSO connector
Update SSO connector state
Delete SSO connector
Begin SSO connector verification
OAuth Clients
OAuth Clients
List OAuth Clients
OAuth Client Details
Create OAuth Client
Update OAuth Client
Delete OAuth Client
Rotate OAuth Client Secret
Delete Rotated OAuth Client Secret
OAuth Scopes
OAuth Scopes
List OAuth Scopes
Memberships
Memberships
List Memberships
Membership Details
Update Membership
Delete Membership
Resource Sharing
Resource Sharing
List account shares
Get account share by ID
Create a new share
Update a share
Delete a share
Recipients
Recipients
List share recipients by share ID
Get share recipient by ID
Create a new share recipient
Delete a share recipient
Resources
Resources
List share resources by share ID
Get share resource by ID
Create a new share resource
Update a share resource
Delete a share resource
User
User
User Details
Edit User
Audit Logs
Audit Logs
Get user audit logs
Billing
Billing
History
History
Billing History Details
Profile
Profile
Billing Profile Details
Invites
Invites
List Invitations
Invitation Details
Respond to Invitation
Organizations
Organizations
List Organizations
Organization Details
Leave Organization
Subscriptions
Subscriptions
Get User Subscriptions
Update User Subscription
Delete User Subscription
Tenants
Tenants
List user tenants
Tokens
Tokens
List Tokens
Token Details
Create Token
Update Token
Delete Token
Verify Token
Permission Groups
Permission Groups
List Token Permission Groups
Value
Value
Roll Token
AI
AI
AI
Execute AI model
Finetunes
Finetunes
List Finetunes
Create a new Finetune
Assets
Assets
Upload a Finetune Asset
Public
Public
List Public Finetunes
Authors
Authors
Author Search
Tasks
Tasks
Task Search
Models
Models
Model Search
Schema
Schema
Get Model Schema
To Markdown
To Markdown
Convert Files into Markdown
Get all converted formats supported
AI Audit
AI Gateway
AI Gateway
List Gateways
Fetch a Gateway
Create a new Gateway
Update a Gateway
Delete a Gateway
Evaluation Types
Evaluation Types
List Evaluators
Custom Providers
Custom Providers
List Account Providers
Fetch a Account Provider
Create a new Account Provider
Delete a Account Provider
Logs
Logs
List Gateway Logs
Get Gateway Log Detail
Patch Gateway Log
Delete Gateway Logs
Get Gateway Log Request
Get Gateway Log Response
Datasets
Datasets
List Datasets
Fetch a Dataset
Create a new Dataset
Update a Dataset
Delete a Dataset
Evaluations
Evaluations
List Evaluations
Fetch a Evaluation
Create a new Evaluation
Delete a Evaluation
Dynamic Routing
Dynamic Routing
List all AI Gateway Dynamic Routes.
Get an AI Gateway Dynamic Route.
Create a new AI Gateway Dynamic Route.
Update an AI Gateway Dynamic Route.
Delete an AI Gateway Dynamic Route.
List all AI Gateway Dynamic Route Deployments.
Create a new AI Gateway Dynamic Route Deployment.
List all AI Gateway Dynamic Route Versions.
Create a new AI Gateway Dynamic Route Version.
Get an AI Gateway Dynamic Route Version.
Provider Configs
Provider Configs
List Provider Configs
Create a new Provider Configs
URLs
URLs
Get Gateway URL
Billing
Billing
Get credit balance
Get usage history
Get invoice history
Get invoice preview
Topup
Topup
Create a top-up
Check top-up status
Config
Config
Get auto top-up configuration
Set auto top-up configuration
Delete auto top-up configuration
Spending Limit
Spending Limit
Get spending limit
Set spending limit (deprecated)
Delete spending limit
AI Search
AI Search
Namespaces
Namespaces
List namespaces.
Create namespace.
Read namespace.
Update namespace.
Delete namespace.
Multi-Instance Search
Multi-Instance Chat Completions
Instances
Instances
List instances.
Create new instance.
Read instance.
Update instance.
Delete instance.
Stats
Search
Chat Completions
Jobs
Jobs
List Jobs
Create new job
Get a Job Details
Change Job Status
List Job Logs
Items
Items
Items List.
Upload Item.
Create or Update Item.
Get Item.
Sync Item.
Delete Item.
Download Item Content.
Item Logs.
List Item Chunks.
Instances
Instances
List instances.
Create new instance.
Read instance.
Update instance.
Delete instance.
Stats
Search
Chat Completions
Jobs
Jobs
List Jobs
Create new job
Get a Job Details
List Job Logs
Tokens
Tokens
List tokens.
Create token.
Read token.
Update token.