Cloudflare Event API

The Event API from Cloudflare — 27 operation(s) for event.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 35

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

0 of 35 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 2 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

GET /accounts/{account_id}/cloudforce-one/events List threat events in a dataset · Filter and list events observed #
Ask an LLM
“How do I list threat events in a Cloudforce One dataset?”
“Can I list events from the analytics or operational dataset?”
Tell an agent
List events in dataset {datasetId} for account {account_id}.
Search events in account {account_id} matching {search}.
POST /accounts/{account_id}/cloudforce-one/events Filter and list events with a POST body · Filter and list events #
Ask an LLM
“Can I send structured filters in a JSON body to list events?”
“Which dataset scope values does the POST event list accept?”
Tell an agent
POST a structured search {search} to list events in account {account_id}.
List events in account {account_id} from dataset {datasetId} using the POST body.
GET /accounts/{account_id}/cloudforce-one/events/aggregate Aggregate threat events · Aggregate events by single or multiple columns with optional date filtering #
Ask an LLM
“How do I count threat events by attacker or target industry?”
“Can I group aggregated events by day?”
Tell an agent
Aggregate events in account {account_id} by {aggregateBy}.
Count events by {aggregateBy} between {startDate} and {endDate}.
GET /accounts/{account_id}/cloudforce-one/events/by-id/{event_id}/relationships List events related to one event · Filter and list events related to specific event #
Ask an LLM
“How do I find events that reference a given threat event?”
“Can I limit how deep the relationships search goes?”
Tell an agent
List events related to {event_id} in account {account_id} from dataset {datasetId}.
Find {relationshipTypes} relationships of {event_id} at depth {maxDepth}.
POST /accounts/{account_id}/cloudforce-one/events/create Create a threat event · Creates a new event #
Ask an LLM
“How do I add a new threat event to Cloudforce One?”
“What fields are required to create an event?”
Tell an agent
Create event {event} in account {account_id} with date {date} and TLP {tlp}.
Add threat event {event} from {source} with category {category}.
POST /accounts/{account_id}/cloudforce-one/events/create/bulk Create many threat events at once · Creates bulk events #
Ask an LLM
“Can I import a batch of threat events in one call?”
“Which dataset must I name when creating events in bulk?”
Tell an agent
Create these events in bulk in account {account_id} in dataset {datasetId}.
Bulk import {data} into dataset {datasetId} for account {account_id}.
POST /accounts/{account_id}/cloudforce-one/events/create/bulk/relationships Deprecated bulk create with relationships · Creates bulk DOS event with relationships and indicators #
Ask an LLM
“Is the old bulk event create with relationships still supported?”
“What should I use instead of the deprecated bulk relationships create?”
Tell an agent
Use the deprecated bulk create with relationships for {data} in dataset {datasetId} of account {account_id}.
Import {data} with relationships into dataset {datasetId} for account {account_id}.
POST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/copy Copy events to another dataset · Copies specified events from one dataset to another dataset #
Ask an LLM
“How do I copy threat events into a different dataset?”
“Can I keep the raw data when copying events?”
Tell an agent
Copy events {eventIds} from dataset {dataset_id} to {destDatasetId} in account {account_id}.
Copy {eventIds} from {dataset_id} to {destDatasetId} keeping raw data {keepRawData}.
GET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/events/{event_id} Read a threat event · Reads an event #
Ask an LLM
“How do I read one threat event by its UUID?”
“What does a single event record contain?”
Tell an agent
Read event {event_id} in dataset {dataset_id} for account {account_id}.
Show threat event {event_id} from {dataset_id} in account {account_id}.
POST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/move Move events to another dataset · Moves specified events from one dataset to another dataset #
Ask an LLM
“How do I move threat events into a different dataset?”
“Is raw data deleted from the source when moving events?”
Tell an agent
Move events {eventIds} from dataset {dataset_id} to {destDatasetId} in account {account_id}.
Move {eventIds} from {dataset_id} to {destDatasetId} keeping raw data {keepRawData}.
DELETE /accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events Delete threat events · Deletes one or more events #
Ask an LLM
“How do I delete threat events from a dataset?”
“Can I remove several events in one request?”
Tell an agent destructive · confirm first
Delete events {eventIds} from dataset {dataset_id} in account {account_id}.
Remove threat events {eventIds} from {dataset_id} in account {account_id}.
GET /accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events/{event_id}/raw Read raw data for an event · Reads raw data for an event by UUID #
Ask an LLM
“How do I read the raw data behind a threat event?”
“Does raw data search across all shards in a dataset?”
Tell an agent
Read raw data for event {event_id} in dataset {dataset_id} for account {account_id}.
Get the raw record of event {event_id} from {dataset_id} in account {account_id}.
DELETE /accounts/{account_id}/cloudforce-one/events/event_tag/{event_id} Remove tags from a threat event · Removes a tag from an event #
Ask an LLM
“How do I remove tags from a threat event?”
“Can I strip several tags off one event at once?”
Tell an agent destructive · confirm first
Remove tags {tags} from event {event_id} in account {account_id}.
Untag event {event_id} in account {account_id} by removing {tags}.
POST /accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}/create Add tags to a threat event · Adds a tag to an event #
Ask an LLM
“How do I tag a threat event for filtering?”
“Can I add several tags to one event?”
Tell an agent
Add tags {tags} to event {event_id} in account {account_id}.
Tag threat event {event_id} in account {account_id} with {tags}.
POST /accounts/{account_id}/cloudforce-one/events/graphql Run GraphQL aggregations over events · GraphQL endpoint for event aggregation #
Ask an LLM
“Can I run multi-dimensional aggregations over threat events with GraphQL?”
“Which date range and dataset filters does the GraphQL endpoint support?”
Tell an agent
Run a GraphQL aggregation over threat events in account {account_id}.
Aggregate events in account {account_id} with a GraphQL query.
GET /accounts/{account_id}/cloudforce-one/events/queries List saved threat event queries · List all saved event queries observed #
Ask an LLM
“Which saved queries exist for my account?”
“Can I see all my threat event queries?”
Tell an agent
List saved event queries for account {account_id}.
Show every saved threat query in account {account_id}.
POST /accounts/{account_id}/cloudforce-one/events/queries/create Create a saved threat event query · Create a saved event query #
Ask an LLM
“How do I save a threat event query?”
“Can a saved query alert me when new events match it?”
Tell an agent
Create saved query {name} in account {account_id} with JSON {query_json}.
Save query {name} in account {account_id} with alert {alert_enabled}.
DELETE /accounts/{account_id}/cloudforce-one/events/queries/{query_id} Delete a saved threat event query · Delete a saved event query #
Ask an LLM
“How do I delete a saved threat event query?”
“Can I remove a saved query I no longer use?”
Tell an agent destructive · confirm first
Delete saved query {query_id} from account {account_id}.
Remove saved threat query {query_id} in account {account_id}.
GET /accounts/{account_id}/cloudforce-one/events/queries/{query_id} Read a saved threat event query · Read a saved event query #
Ask an LLM
“How do I see the filters of one saved query?”
“What does a saved event query contain?”
Tell an agent
Read saved query {query_id} in account {account_id}.
Show the filters of saved query {query_id} for account {account_id}.
PATCH /accounts/{account_id}/cloudforce-one/events/queries/{query_id} Update a saved threat event query · Update a saved event query #
Ask an LLM
“Can I rename a threat query or turn its alert on?”
“How do I change the rule scope on a saved events query?”
Tell an agent
Change saved event query {query_id} in account {account_id} to be named {name}.
Set the rule scope of event query {query_id} in account {account_id} to {rule_scope}.
POST /accounts/{account_id}/cloudforce-one/events/queries/{query_id} Update a saved threat event query · Update a saved event query #
Ask an LLM
“How do I change the filters of a saved query?”
“Can I rename a saved threat event query?”
Tell an agent
Update saved query {query_id} in account {account_id} with JSON {query_json}.
Rename saved query {query_id} in account {account_id} to {name}.
GET /accounts/{account_id}/cloudforce-one/events/raw/{dataset_id}/{event_id} Read raw threat event data by UUID (legacy) · Reads raw data for an event by UUID #
Ask an LLM
“Can I pull the raw data for a threat event by its UUID using the legacy endpoint?”
“What did the legacy event raw read return for a given event ID?”
Tell an agent
Read raw data for legacy event {event_id} in dataset {dataset_id} of account {account_id} using the deprecated raw read.
Fetch the legacy raw record {event_id} from threat dataset {dataset_id} in {account_id}.
DELETE /accounts/{account_id}/cloudforce-one/events/relate/{event_id} Remove a reference between threat events · Removes an event reference #
Ask an LLM
“How do I unlink two threat events that were related?”
“Can I remove a reference link between events?”
Tell an agent destructive · confirm first
Remove the reference from events {events} on event {event_id} in account {account_id}.
Unlink threat events {events} from event {event_id} for account {account_id}.
POST /accounts/{account_id}/cloudforce-one/events/relate/{event_id}/create Create reference links between threat events · Creates event references for a event #
Ask an LLM
“How do I link several threat events together?”
“Can I create reference links for an event?”
Tell an agent
Create reference links for events {events} on event {event_id} in account {account_id}.
Link threat events {events} to event {event_id} for account {account_id}.
POST /accounts/{account_id}/cloudforce-one/events/relationships/create Create a parent-child relationship between events · Create a relationship between two events #
Ask an LLM
“How do I mark one threat event as a child of another?”
“Can I create a directed relationship between two events?”
Tell an agent
Create a {relationshipType} relationship from event {parentId} to events {childIds} in dataset {datasetId} for account {account_id}.
Link {childIds} as children of event {parentId} with type {relationshipType} in dataset {datasetId}, account {account_id}.
PATCH /accounts/{account_id}/cloudforce-one/events/update/bulk Bulk update several threat events · Bulk update events #
Ask an LLM
“How do I change the same field on many threat events at once?”
“What is the limit on bulk event updates?”
Tell an agent
Update events {eventIds} in dataset {datasetId} for account {account_id} with {updates}.
Bulk change fields {updates} on events {eventIds} in dataset {datasetId}, account {account_id}.
DELETE /accounts/{account_id}/cloudforce-one/events/{dataset_id}/delete Delete threat events (legacy) · Deletes one or more events #
Ask an LLM
“How do I delete threat events in a dataset with the legacy endpoint?”
“Can I remove several threat events from a dataset at once via the deprecated delete?”
Tell an agent destructive · confirm first
Delete legacy events {eventIds} in dataset {dataset_id} of account {account_id} with the deprecated delete.
Removes threat events {eventIds} from dataset {dataset_id} in {account_id} using the legacy method.
GET /accounts/{account_id}/cloudforce-one/events/{event_id} Read an event (legacy) · Reads an event #
Ask an LLM
“Can I read a threat event by its ID with the deprecated endpoint?”
“What information does the legacy event read return for one event ID?”
Tell an agent
Read legacy event {event_id} in account {account_id}.
Fetch the deprecated record for event {event_id} in {account_id}.
PATCH /accounts/{account_id}/cloudforce-one/events/{event_id} Partially update a threat event · Updates an event #
Ask an LLM
“How do I change just the attacker or target country on a threat event?”
“Can I update only some fields of an event without resending the rest?”
Tell an agent
Change the target country of event {event_id} to {targetCountry} within dataset {datasetId}, account {account_id}.
Patch event {event_id} in account {account_id} so its target industry is {targetIndustry}, using dataset {datasetId}.
POST /accounts/{account_id}/cloudforce-one/events/{event_id} Update a threat event · Updates an event #
Ask an LLM
“Can I mark an existing threat event as an attacker or change its category?”
“How do I add an insight to a threat event?”
Tell an agent
Set the attacker of event {event_id} in dataset {dataset_id} of account {account_id} to {attacker}.
Update the category and insight of event {event_id} in {account_id} to {category} and {insight}.
GET /accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id} Read raw data for a threat event · Reads data for a raw event #
Ask an LLM
“How do I fetch the raw data behind a threat event?”
“Can I read a specific raw event within an event?”
Tell an agent
Read raw event {raw_id} for threat event {event_id} in account {account_id}.
Fetch raw data {raw_id} attached to event {event_id} for account {account_id}.
PATCH /accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id} Partially update raw data of a threat event · Updates a raw event #
Ask an LLM
“How do I change just the source or TLP of a raw threat event?”
“Can I update only some fields of raw event data?”
Tell an agent
Set the source of raw event {raw_id} on threat event {event_id} in account {account_id} to {source}.
Change the TLP of raw event {raw_id} on event {event_id}, account {account_id}, to {tlp}.
POST /accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id} Replace raw data of a threat event · Updates a raw event #
Ask an LLM
“How do I overwrite the raw data of a threat event?”
“Can I fully replace a raw event's data?”
Tell an agent
Replace the raw data of event {event_id} with {data} in account {account_id}.
Overwrite raw event {raw_id} on threat event {event_id} with {data}, account {account_id}.
GET /accounts/{account_id}/cloudforce-one/events/{event_id}/relationships List events related to one (legacy) · Filter and list events related to specific event #
Ask an LLM
“Which events are related to a given threat event ID through indicators, using the legacy lookup?”
“Can the legacy event relationships search go back only to parent events of a certain type?”
Tell an agent
List events related to legacy event {event_id} in dataset {dataset_id} of account {account_id} with direction {direction}.
Find parent events of {event_id} in dataset {dataset_id} under {account_id} with relationship types {relationshipTypes}.
POST /accounts/{account_id}/cloudforce-one/v2/events/graphql Aggregate threat events with GraphQL · GraphQL endpoint for event aggregation #
Ask an LLM
“Can I group threat events by attacker country and indicator type for several datasets?”
“Is there a GraphQL query that limits aggregated events to a date range?”
Tell an agent
Run an event aggregation GraphQL query on account {account_id}.
Group threat events for account {account_id} with a multi-dataset GraphQL aggregation.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudflare:cloudflare-event-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudflare-event-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to Cloudflare's API documentation site.
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  title: Cloudflare Event API
  version: 4.0.0
servers:
- description: Client API
  url: https://api.cloudflare.com/client/v4
security:
- api_email: []
  api_key: []
- api_token: []
- user_service_key: []
tags:


# --- truncated at 32 KB (245 KB total) ---
# Full source: https://artifacts.apis.io/cloudflare/openapi/cloudflare-event-api-openapi.yml