Create Monitor
curl --request POST \
--url https://gdeltcloud.com/api/v2/monitors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"subject": {
"params": {},
"type": "query"
},
"trigger": {
"type": "new_matches"
},
"schedule": {
"timezone": "UTC",
"daily_hour": 8
},
"delivery": {
"email": true,
"webhook_url": "<string>",
"webhook_max_matches": 10
},
"criteria": {
"data": "events",
"countries": [],
"source_actor_countries": [],
"target_actor_countries": [],
"family_filters": {},
"fatalities_only": false
}
}
'import requests
url = "https://gdeltcloud.com/api/v2/monitors"
payload = {
"name": "<string>",
"subject": {
"params": {},
"type": "query"
},
"trigger": { "type": "new_matches" },
"schedule": {
"timezone": "UTC",
"daily_hour": 8
},
"delivery": {
"email": True,
"webhook_url": "<string>",
"webhook_max_matches": 10
},
"criteria": {
"data": "events",
"countries": [],
"source_actor_countries": [],
"target_actor_countries": [],
"family_filters": {},
"fatalities_only": False
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
subject: {params: {}, type: 'query'},
trigger: {type: 'new_matches'},
schedule: {timezone: 'UTC', daily_hour: 8},
delivery: {email: true, webhook_url: '<string>', webhook_max_matches: 10},
criteria: {
data: 'events',
countries: [],
source_actor_countries: [],
target_actor_countries: [],
family_filters: {},
fatalities_only: false
}
})
};
fetch('https://gdeltcloud.com/api/v2/monitors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"monitor": {
"id": "5e1d3b89-9c34-4fa1-80fc-17f72f782b33",
"organization_id": "88949d2a-4f00-45cb-9d23-2d242ddfe74d",
"created_by": "c6951b53-952b-40bf-99fd-c9d97a176f38",
"name": "Port disruption watch",
"description": "New Events coding port closures and shipping disruption in the United States.",
"enabled": true,
"subject": {
"type": "topic"
},
"criteria": {
"data": "events",
"search": "port closure shipping disruption",
"countries": [
"USA"
],
"family_filters": {
"cameoplus": {
"domains": [
"INFRASTRUCTURE"
],
"subcategories": []
}
},
"fatalities_only": false
},
"trigger": {
"type": "new_matches"
},
"schedule": {
"cadence": "hourly",
"timezone": "UTC",
"daily_hour": 8
},
"delivery": {
"email": true,
"webhook": {
"configured": true,
"endpoint": "https://example.com/gdelt-webhook",
"max_matches": 10,
"consecutive_failures": 0,
"last_success_at": "2026-08-23T14:05:00.000Z",
"last_failure_at": null
}
},
"created_at": "2026-08-23T13:00:00.000Z",
"updated_at": "2026-08-23T14:05:00.000Z",
"last_checked_at": "2026-08-23T14:00:00.000Z",
"last_triggered_at": "2026-08-23T14:00:00.000Z",
"legacy": false
},
"webhook_signing_secret": "whsec_returned_only_once"
}Monitors
Create Monitor
Create one organization-shared Monitor. When a webhook destination is first configured, webhook_signing_secret is returned once.
POST
/
api
/
v2
/
monitors
Create Monitor
curl --request POST \
--url https://gdeltcloud.com/api/v2/monitors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"subject": {
"params": {},
"type": "query"
},
"trigger": {
"type": "new_matches"
},
"schedule": {
"timezone": "UTC",
"daily_hour": 8
},
"delivery": {
"email": true,
"webhook_url": "<string>",
"webhook_max_matches": 10
},
"criteria": {
"data": "events",
"countries": [],
"source_actor_countries": [],
"target_actor_countries": [],
"family_filters": {},
"fatalities_only": false
}
}
'import requests
url = "https://gdeltcloud.com/api/v2/monitors"
payload = {
"name": "<string>",
"subject": {
"params": {},
"type": "query"
},
"trigger": { "type": "new_matches" },
"schedule": {
"timezone": "UTC",
"daily_hour": 8
},
"delivery": {
"email": True,
"webhook_url": "<string>",
"webhook_max_matches": 10
},
"criteria": {
"data": "events",
"countries": [],
"source_actor_countries": [],
"target_actor_countries": [],
"family_filters": {},
"fatalities_only": False
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
subject: {params: {}, type: 'query'},
trigger: {type: 'new_matches'},
schedule: {timezone: 'UTC', daily_hour: 8},
delivery: {email: true, webhook_url: '<string>', webhook_max_matches: 10},
criteria: {
data: 'events',
countries: [],
source_actor_countries: [],
target_actor_countries: [],
family_filters: {},
fatalities_only: false
}
})
};
fetch('https://gdeltcloud.com/api/v2/monitors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"monitor": {
"id": "5e1d3b89-9c34-4fa1-80fc-17f72f782b33",
"organization_id": "88949d2a-4f00-45cb-9d23-2d242ddfe74d",
"created_by": "c6951b53-952b-40bf-99fd-c9d97a176f38",
"name": "Port disruption watch",
"description": "New Events coding port closures and shipping disruption in the United States.",
"enabled": true,
"subject": {
"type": "topic"
},
"criteria": {
"data": "events",
"search": "port closure shipping disruption",
"countries": [
"USA"
],
"family_filters": {
"cameoplus": {
"domains": [
"INFRASTRUCTURE"
],
"subcategories": []
}
},
"fatalities_only": false
},
"trigger": {
"type": "new_matches"
},
"schedule": {
"cadence": "hourly",
"timezone": "UTC",
"daily_hour": 8
},
"delivery": {
"email": true,
"webhook": {
"configured": true,
"endpoint": "https://example.com/gdelt-webhook",
"max_matches": 10,
"consecutive_failures": 0,
"last_success_at": "2026-08-23T14:05:00.000Z",
"last_failure_at": null
}
},
"created_at": "2026-08-23T13:00:00.000Z",
"updated_at": "2026-08-23T14:05:00.000Z",
"last_checked_at": "2026-08-23T14:00:00.000Z",
"last_triggered_at": "2026-08-23T14:00:00.000Z",
"legacy": false
},
"webhook_signing_secret": "whsec_returned_only_once"
}Authorizations
Body
application/json
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
- Option 21
- Option 22
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30
- Option 31
- Option 32
- Option 33
- Option 34
- Option 35
- Option 36
- Option 37
- Option 38
- Option 39
- Option 40
- Option 41
- Option 42
- Option 43
- Option 44
- Option 45
- Option 46
- Option 47
- Option 48
- Option 49
- Option 50
- Option 51
- Option 52
- Option 53
- Option 54
- Option 55
- Option 56
- Option 57
- Option 58
- Option 59
- Option 60
- Option 61
- Option 62
- Option 63
- Option 64
⌘I

