curl --request GET \
--url https://api.exa.ai/websets/v0/monitors \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"object": "monitor",
"status": "enabled",
"websetId": "<string>",
"cadence": {
"cron": "<string>",
"timezone": "Etc/UTC"
},
"behavior": {
"type": "search",
"config": {
"count": 123,
"query": "<string>",
"criteria": [
{
"description": "<string>"
}
],
"entity": {
"type": "company"
},
"behavior": "append"
}
},
"lastRun": {
"id": "<string>",
"object": "monitor_run",
"status": "created",
"monitorId": "<string>",
"type": "search",
"completedAt": "2023-11-07T05:31:56Z",
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"canceledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"nextRunAt": "2023-11-07T05:31:56Z",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"hasMore": true,
"nextCursor": "<string>"
}Lists all monitors for the Webset.
curl --request GET \
--url https://api.exa.ai/websets/v0/monitors \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "<string>",
"object": "monitor",
"status": "enabled",
"websetId": "<string>",
"cadence": {
"cron": "<string>",
"timezone": "Etc/UTC"
},
"behavior": {
"type": "search",
"config": {
"count": 123,
"query": "<string>",
"criteria": [
{
"description": "<string>"
}
],
"entity": {
"type": "company"
},
"behavior": "append"
}
},
"lastRun": {
"id": "<string>",
"object": "monitor_run",
"status": "created",
"monitorId": "<string>",
"type": "search",
"completedAt": "2023-11-07T05:31:56Z",
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"canceledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"nextRunAt": "2023-11-07T05:31:56Z",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"hasMore": true,
"nextCursor": "<string>"
}Your Exa API key
The cursor to paginate through the results
1The number of results to return
1 <= x <= 200The id of the Webset to list monitors for
List of monitors
The list of monitors
Show child attributes
The unique identifier for the Monitor
The type of object
monitor The status of the Monitor
enabled, disabled The id of the Webset the Monitor belongs to
Behavior to perform when monitor runs
Show child attributes
"search"Specify the search parameters for the Monitor.
By default, the search parameters (query, entity and criteria) from the last search are used when no parameters are provided.
Show child attributes
The maximum number of results to find
The query to search for. By default, the query from the last search is used.
2 - 10000The behaviour of the Search when it is added to a Webset.
override, append The last run of the monitor
Show child attributes
The unique identifier for the Monitor Run
The type of object
monitor_run The status of the Monitor Run
created, running, completed, canceled, failed The monitor that the run is associated with
The type of the Monitor Run
search, refresh When the run completed
When the run failed
The reason the run failed
When the run was canceled
When the run was created
When the run was last updated
Date and time when the next run will occur in
When the monitor was created
When the monitor was last updated
Whether there are more results to paginate through
The cursor to paginate through the next set of results