Skip to main content
POST
/
monitors
/
{id}
/
trigger
Trigger a Monitor
curl --request POST \
  --url https://api.exa.ai/monitors/{id}/trigger \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.exa.ai/monitors/{id}/trigger"

headers = {"x-api-key": "<api-key>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.exa.ai/monitors/{id}/trigger', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "triggered": true
}

Authorizations

x-api-key
string
header
required

Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Path Parameters

id
string
required

The monitor ID

Response

200 - application/json

Whether the monitor was triggered

triggered
boolean
required

Whether the monitor was successfully triggered