curl --request POST \
--url https://api.bigdata.com/v1/search-monitoring/monitors \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"name": "Credit Rating Downgrade or Negative Watch",
"intent": "Watch for rating downgrades and negative watch placements affecting BlackRock",
"status": "inactive",
"search_queries": {
"search_mode": "fast",
"query": {
"text": "credit rating downgrade negative watch",
"max_chunks": 100
}
},
"schedule": {
"frequency": "1h"
},
"structured_output": {
"company": {
"description": "The company affected by the rating action.",
"field_type": "entity_reference"
},
"rating_agency": {
"description": "The credit rating agency announcing the action.",
"field_type": "text"
},
"action": {
"description": "The announced credit rating action.",
"field_type": "enum",
"values": [
"downgrade",
"negative_watch"
]
},
"new_rating": {
"description": "The new rating, when stated.",
"field_type": "text"
}
},
"extraction_instructions": "Only return a new event when a rating agency announces a downgrade or places the company on negative watch. Exclude analyst recommendations.",
"entity_watchlist": [
{
"name": "BlackRock Inc.",
"rp_entity_id": "HJ95FV"
}
]
}
'{
"data": {
"intent": "<string>",
"schedule": {
"frequency": "1h"
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"status": "inactive",
"search_queries": {
"search_mode": "fast",
"query": {}
},
"structured_output": {},
"extraction_instructions": "<string>",
"entity_watchlist": [
{
"name": "<string>",
"rp_entity_id": "<string>"
}
]
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Create a monitor
Create a monitor with an intent and schedule. Optionally customize its name, search, extraction rules, output fields, and entity watchlist. Set status to inactive while you test the monitor, then change it to active when it is ready to run continuously.
curl --request POST \
--url https://api.bigdata.com/v1/search-monitoring/monitors \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"name": "Credit Rating Downgrade or Negative Watch",
"intent": "Watch for rating downgrades and negative watch placements affecting BlackRock",
"status": "inactive",
"search_queries": {
"search_mode": "fast",
"query": {
"text": "credit rating downgrade negative watch",
"max_chunks": 100
}
},
"schedule": {
"frequency": "1h"
},
"structured_output": {
"company": {
"description": "The company affected by the rating action.",
"field_type": "entity_reference"
},
"rating_agency": {
"description": "The credit rating agency announcing the action.",
"field_type": "text"
},
"action": {
"description": "The announced credit rating action.",
"field_type": "enum",
"values": [
"downgrade",
"negative_watch"
]
},
"new_rating": {
"description": "The new rating, when stated.",
"field_type": "text"
}
},
"extraction_instructions": "Only return a new event when a rating agency announces a downgrade or places the company on negative watch. Exclude analyst recommendations.",
"entity_watchlist": [
{
"name": "BlackRock Inc.",
"rp_entity_id": "HJ95FV"
}
]
}
'{
"data": {
"intent": "<string>",
"schedule": {
"frequency": "1h"
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"status": "inactive",
"search_queries": {
"search_mode": "fast",
"query": {}
},
"structured_output": {},
"extraction_instructions": "<string>",
"entity_watchlist": [
{
"name": "<string>",
"rp_entity_id": "<string>"
}
]
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API key created in the Bigdata Developer Platform.
Body
Plain-language description of what should count as an event.
How often an active monitor searches for new content.
Show child attributes
Show child attributes
Short, recognizable monitor name.
active runs on schedule. inactive keeps its configuration but does not start new scheduled runs.
active, inactive What to search for during each run. Set the search mode and provide the same query object used by Search documents.
Show child attributes
Show child attributes
The fields returned with every event. Each property name becomes a field in the response.
Show child attributes
Show child attributes
Rules explaining what to include, what to exclude, and how to interpret matching content.
Optional set of entities the monitor should track.
Show child attributes
Show child attributes
Was this page helpful?