V0
Alert
HAS_MCP_EQUIVALENT

Create Alert

Create an alert that periodically polls an endpoint and delivers new results to your configured receivers (webhook, email, and/or telegram).

post/v0/alert/create_alert

Request

  • Base URL: https://api.ultralayer.ai
  • URL: https://api.ultralayer.ai/v0/alert/create_alert
  • Auth: HTTP bearer

Request body

namestring nullable

Unique label; auto-generated if omitted

path'/v0/search/list_wire' | '/v0/search/semantic_search' | '/v0/search/search_developments' | '/v0/search/retrieve_event_developments' | '/v0/search/search_events' | '/v0/filings/list_guidance' | '/v0/filings/list_changes' | '/v0/filings/list_guidance_outcomes' required

Endpoint the alert polls.

argumentsobject required

Endpoint arguments, dont provide system timestamps.

interval_minutesinteger required

Poll interval; multiple of 5.

lookback_minutesinteger nullable

Defaults to interval_minutes

thresholdinteger

Items required to fire.

Example request

{
  "name": "apple_wire_sentiment",
  "path": "/v0/search/list_wire",
  "arguments": {
    "entities": [
      "Apple Inc."
    ],
    "max_entity_sentiment": -0.3,
    "min_entity_sentiment": 0.3,
    "novelty": [
      "new",
      "update",
      "correction"
    ]
  },
  "interval_minutes": 15
}

Response

Successful Response

alert_idinteger required

Unique identifier for the alert.

namestring required

Human label for the alert.

status'active' | 'paused' required

Current status of the alert.

path'/v0/search/list_wire' | '/v0/search/semantic_search' | '/v0/search/search_developments' | '/v0/search/retrieve_event_developments' | '/v0/search/search_events' | '/v0/filings/list_guidance' | '/v0/filings/list_changes' | '/v0/filings/list_guidance_outcomes' required

The endpoint the alert polls.

argumentsobject required

The endpoint arguments.

interval_minutesinteger required

How often the alert checks the endpoint, in minutes.

lookback_minutesinteger required

Rolling lookback window, in minutes.

thresholdinteger required

Minimum item count before the alert fires.

last_triggered_end_timestampstring date-time nullable required

end_timestamp of the last successful delivery, or null.

created_atstring date-time required

When the alert was created.

Changes

No recorded changes to this operation across all 1 revision of this API.