Ultralayer Alert API
The Alert API from Ultralayer, for alert.
The Alert API from Ultralayer, for alert.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ultralayer-ai:ultralayer-ai-alert-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ultralayer Alert API
summary: Ultralayer API
description: Ultralayer API
version: 0.1.0
servers:
- url: https://api.ultralayer.ai
description: Ultralayer Production Server
tags:
- name: Alert
paths:
/v0/alert/create_alert:
post:
tags:
- Alert
summary: Create Alert
description: Create a realtime alert that delivers matching updates to email, Telegram, or a webhook.
operationId: create_alert
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AlertInstructions'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AlertRecord'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
x-mcp-ui: ui://ultralayer/create_alert.html
/v0/alert/get_alerts:
get:
tags:
- Alert
summary: Get Alerts
description: List your alerts, including recent attempts and deliveries.
operationId: get_alerts
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/AlertRecord'
type: array
title: Response Get Alerts
security:
- HTTPBearer: []
x-mcp-ui: ui://ultralayer/get_alerts.html
/v0/alert/deactivate_alert:
post:
tags:
- Alert
summary: Deactivate Alert
description: Pause an active alert.
operationId: deactivate_alert
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AlertId'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: string
title: Response Deactivate Alert
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/v0/alert/activate_alert:
post:
tags:
- Alert
summary: Activate Alert
description: Activate a paused alert.
operationId: activate_alert
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AlertId'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: string
title: Response Activate Alert
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/v0/alert/delete_alert:
post:
tags:
- Alert
summary: Delete Alert
description: Permanently delete an alert.
operationId: delete_alert
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AlertId'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: string
title: Response Delete Alert
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
TelegramReceiver:
properties:
type:
type: string
const: telegram
title: Type
chat_id:
type: string
maxLength: 64
title: Chat Id
description: Chat ID; start the alerts bot first.
additionalProperties: false
type: object
required:
- type
- chat_id
title: TelegramReceiver
WebhookReceiver:
properties:
type:
type: string
const: webhook
title: Type
url:
type: string
maxLength: 2048
title: Url
headers:
anyOf:
- additionalProperties:
type: string
type: object
maxProperties: 4
- type: 'null'
title: Headers
description: POST headers.
body_wrap_key:
anyOf:
- type: string
maxLength: 64
pattern: ^[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]+)?$
- type: 'null'
title: Body Wrap Key
description: Place the alert envelope under this body key. Dot-separated for one level of nesting (e.g. variables.PAYLOAD).
body_wrap_as_string:
type: boolean
title: Body Wrap As String
description: JSON-encode the envelope to a string before placing it under body_wrap_key. Requires body_wrap_key.
default: false
body_extra:
anyOf:
- additionalProperties:
anyOf:
- type: string
- type: integer
- type: number
- type: boolean
- type: 'null'
type: object
maxProperties: 10
- type: 'null'
title: Body Extra
description: Static keys merged into the top level of the body. String, number, boolean or null values only.
additionalProperties: false
type: object
required:
- type
- url
title: WebhookReceiver
AlertId:
properties:
alert_id:
type: integer
title: Alert Id
additionalProperties: false
type: object
required:
- alert_id
title: AlertId
AlertAttempt:
properties:
attempted_at:
type: string
format: date-time
title: Attempted At
description: When this delivery was decided.
outcome:
type: string
enum:
- delivered
- delivery_partial
- delivery_failed
- no_data
- insufficient_credit
title: Outcome
description: Terminal state of this delivery.
item_count:
type: integer
title: Item Count
description: Hydrated items. 0 on no_data and insufficient_credit.
type: object
required:
- attempted_at
- outcome
- item_count
title: AlertAttempt
description: An alert's delivery outcome or reason for pausing, without the payload.
ReceiverResult:
properties:
type:
type: string
enum:
- webhook
- email
- telegram
title: Type
description: The receiver channel.
target:
type: string
title: Target
description: Where it was delivered (webhook url, telegram chat id, or account email).
status:
type: string
enum:
- success
- failed
title: Status
description: Whether delivery to this receiver succeeded.
delivered_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Delivered At
description: When this receiver was successfully delivered to, or null on failure.
error:
anyOf:
- type: string
- type: 'null'
title: Error
description: Failure reason, or null on success.
type: object
required:
- type
- target
- status
title: ReceiverResult
description: The delivery result for one receiver.
AlertDelivery:
properties:
delivered_at:
type: string
format: date-time
title: Delivered At
description: Latest successful receiver time, or the attempt time when nothing was sent.
payload:
additionalProperties: true
type: object
title: Payload
description: The envelope that was delivered ({name, response}).
receiver_results:
items:
$ref: '#/components/schemas/ReceiverResult'
type: array
title: Receiver Results
description: Per-receiver delivery outcomes.
type: object
required:
- delivered_at
- payload
- receiver_results
title: AlertDelivery
description: An alert payload and its delivery results.
GuidanceOutcomeAlertConditions:
properties:
symbols:
anyOf:
- items:
type: string
type: array
maxItems: 50
minItems: 1
- type: 'null'
title: Symbols
description: Match any.
metric_keys:
anyOf:
- items:
type: string
type: array
maxItems: 20
minItems: 1
- type: 'null'
title: Metric Keys
description: Match any.
examples:
- - revenue
metric_key_exact_match:
type: boolean
title: Metric Key Exact Match
description: 'true: exact metric_keys, case-insensitive; false: case-insensitive substring. Ignored without metric_keys.'
default: false
metric_basis:
anyOf:
- items:
type: string
enum:
- gaap
- non_gaap
- unspecified
type: array
maxItems: 3
minItems: 1
- type: 'null'
title: Metric Basis
description: Match any.
segments:
anyOf:
- items:
type: string
type: array
maxItems: 8
minItems: 1
- type: 'null'
title: Segments
description: Match any. 'null' is consolidated.
guided_period_type:
anyOf:
- items:
type: string
enum:
- quarter
- fiscal_year
- half
- multi_year
- other
type: array
maxItems: 5
minItems: 1
- type: 'null'
title: Guided Period Type
description: Match any.
source:
type: string
const: guidance_outcomes
title: Source
outcomes:
anyOf:
- items:
type: string
enum:
- significantly_exceeded
- exceeded
- in_line
- missed
- significantly_missed
- indeterminate
type: array
maxItems: 6
minItems: 1
- type: 'null'
title: Outcomes
description: Match any.
additionalProperties: false
type: object
required:
- source
title: GuidanceOutcomeAlertConditions
AlertInstructions:
properties:
name:
anyOf:
- type: string
maxLength: 255
minLength: 1
- type: 'null'
title: Name
description: Unique label; auto-generated if omitted
examples:
- nvda_aapl_headlines
conditions:
oneOf:
- $ref: '#/components/schemas/WireAlertConditions'
- $ref: '#/components/schemas/DevelopmentAlertConditions'
- $ref: '#/components/schemas/GuidanceAlertConditions'
- $ref: '#/components/schemas/GuidanceOutcomeAlertConditions'
- $ref: '#/components/schemas/ChangeAlertConditions'
title: Conditions
examples:
- entities:
- NVDA
- AAPL
min_importance_score: 0.6
source: wire
discriminator:
propertyName: source
mapping:
changes: '#/components/schemas/ChangeAlertConditions'
developments: '#/components/schemas/DevelopmentAlertConditions'
guidance: '#/components/schemas/GuidanceAlertConditions'
guidance_outcomes: '#/components/schemas/GuidanceOutcomeAlertConditions'
wire: '#/components/schemas/WireAlertConditions'
detail:
type: string
enum:
- full
- standard
- essential
title: Detail
description: essential:minimal; standard:citable; full:all.
default: full
receivers:
items:
oneOf:
- $ref: '#/components/schemas/WebhookReceiver'
- $ref: '#/components/schemas/EmailReceiver'
- $ref: '#/components/schemas/TelegramReceiver'
discriminator:
propertyName: type
mapping:
email: '#/components/schemas/EmailReceiver'
telegram: '#/components/schemas/TelegramReceiver'
webhook: '#/components/schemas/WebhookReceiver'
type: array
maxItems: 2
minItems: 1
title: Receivers
description: 1-2 unique targets.
additionalProperties: false
type: object
required:
- conditions
- receivers
title: AlertInstructions
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
EmailReceiver:
properties:
type:
type: string
const: email
title: Type
additionalProperties: false
type: object
required:
- type
title: EmailReceiver
AlertRecord:
properties:
alert_id:
type: integer
title: Alert Id
description: Unique identifier for the alert.
name:
type: string
title: Name
description: Alert name
status:
type: string
enum:
- active
- paused
title: Status
description: Current status of the alert.
conditions:
oneOf:
- $ref: '#/components/schemas/WireAlertConditions'
- $ref: '#/components/schemas/DevelopmentAlertConditions'
- $ref: '#/components/schemas/GuidanceAlertConditions'
- $ref: '#/components/schemas/GuidanceOutcomeAlertConditions'
- $ref: '#/components/schemas/ChangeAlertConditions'
title: Conditions
description: What this alert matches.
discriminator:
propertyName: source
mapping:
changes: '#/components/schemas/ChangeAlertConditions'
developments: '#/components/schemas/DevelopmentAlertConditions'
guidance: '#/components/schemas/GuidanceAlertConditions'
guidance_outcomes: '#/components/schemas/GuidanceOutcomeAlertConditions'
wire: '#/components/schemas/WireAlertConditions'
detail:
type: string
enum:
- full
- standard
- essential
title: Detail
description: Projection of each delivered item.
receivers:
items:
oneOf:
- $ref: '#/components/schemas/WebhookReceiver'
- $ref: '#/components/schemas/EmailReceiver'
- $ref: '#/components/schemas/TelegramReceiver'
discriminator:
propertyName: type
mapping:
email: '#/components/schemas/EmailReceiver'
telegram: '#/components/schemas/TelegramReceiver'
webhook: '#/components/schemas/WebhookReceiver'
type: array
title: Receivers
description: The configured delivery targets.
active_since:
type: string
format: date-time
title: Active Since
description: When the alert was last activated.
attempts:
items:
$ref: '#/components/schemas/AlertAttempt'
type: array
title: Attempts
description: Recent delivery attempts (no payload).
deliveries:
items:
$ref: '#/components/schemas/AlertDelivery'
type: array
title: Deliveries
description: Recent deliveries (includes payload).
created_at:
type: string
format: date-time
title: Created At
description: When the alert was created.
type: object
required:
- alert_id
- name
- status
- conditions
- detail
- receivers
- active_since
- attempts
- deliveries
- created_at
title: AlertRecord
description: An alert's settings, status, and recent delivery history.
ChangeAlertConditions:
properties:
source:
type: string
const: changes
title: Source
symbols:
anyOf:
- items:
type: string
type: array
maxItems: 50
minItems: 1
- type: 'null'
title: Symbols
description: Match any.
change_kinds:
anyOf:
- items:
type: string
enum:
- added
- removed
- modified
type: array
maxItems: 3
minItems: 1
- type: 'null'
title: Change Kinds
description: Match any.
change_categories:
anyOf:
- items:
type: string
enum:
- metric_definition
- disclosed_metric
- accounting_policy
- reporting_structure
- guidance_basis
- results_attribution
- risk
- catalyst
- legal
- policy
- discrete_item
- capital_action
- strategy
- business_description
- product
- supply_chain
- property_and_equipment
- concentration
- governance
- compensation
- control_and_audit
type: array
maxItems: 21
minItems: 1
- type: 'null'
title: Change Categories
description: Match any.
impact:
anyOf:
- items:
type: string
enum:
- positive
- negative
- neutral
type: array
maxItems: 3
minItems: 1
- type: 'null'
title: Impact
description: Match any.
min_materiality_score:
type: number
maximum: 1.0
minimum: 0.0
title: Min Materiality Score
description: 0-.2 reword; .2-.4 weak; .4-.6 mod; .6-.8 high; .8-1 must-read
default: 0.4
additionalProperties: false
type: object
required:
- source
title: ChangeAlertConditions
GuidanceAlertConditions:
properties:
symbols:
anyOf:
- items:
type: string
type: array
maxItems: 50
minItems: 1
- type: 'null'
title: Symbols
description: Match any.
metric_keys:
anyOf:
- items:
type: string
type: array
maxItems: 20
minItems: 1
- type: 'null'
title: Metric Keys
description: Match any.
examples:
- - revenue
metric_key_exact_match:
type: boolean
title: Metric Key Exact Match
description: 'true: exact metric_keys, case-insensitive; false: case-insensitive substring. Ignored without metric_keys.'
default: false
metric_basis:
anyOf:
- items:
type: string
enum:
- gaap
- non_gaap
- unspecified
type: array
maxItems: 3
minItems: 1
- type: 'null'
title: Metric Basis
description: Match any.
segments:
anyOf:
- items:
type: string
type: array
maxItems: 8
minItems: 1
- type: 'null'
title: Segments
description: Match any. 'null' is consolidated.
guided_period_type:
anyOf:
- items:
type: string
enum:
- quarter
- fiscal_year
- half
- multi_year
- other
type: array
maxItems: 5
minItems: 1
- type: 'null'
title: Guided Period Type
description: Match any.
source:
type: string
const: guidance
title: Source
source_types:
anyOf:
- items:
type: string
enum:
- earnings_release
- guidance_update
- interim_update
- earnings_call
type: array
maxItems: 4
minItems: 1
- type: 'null'
title: Source Types
description: Match any.
revision_direction:
anyOf:
- items:
type: string
enum:
- new
- raised
- lowered
- maintained
- withdrawn
type: array
maxItems: 5
minItems: 1
- type: 'null'
title: Revision Direction
description: Match any; the new observation.
additionalProperties: false
type: object
required:
- source
title: GuidanceAlertConditions
WireAlertConditions:
properties:
source:
type: string
const: wire
title: Source
novelty:
items:
type: string
enum:
- new
- update
- duplicate
- correction
type: array
maxItems: 4
minItems: 1
title: Novelty
description: Match any.
default:
- new
- update
- correction
content_type:
anyOf:
- items:
type: string
enum:
- news
- analysis
- opinion
- press_release
- data_release
type: array
maxItems: 5
minItems: 1
- type: 'null'
title: Content Type
description: Match any.
recency:
anyOf:
- items:
type: string
enum:
- realtime
- report_of_past
- report_of_future
type: array
maxItems: 3
minItems: 1
- type: 'null'
title: Recency
description: Match any.
source_relationship:
anyOf:
- items:
type: string
enum:
- first_party
- reporting
- second_hand
type: array
maxItems: 3
minItems: 1
- type: 'null'
title: Source Relationship
description: Match any.
factuality:
anyOf:
- items:
type: string
enum:
- confirmed
- reported
- rumor
- speculation
- forecast
type: array
maxItems: 5
minItems: 1
- type: 'null'
title: Factuality
description: Match any.
categories:
anyOf:
- items:
type: string
type: array
maxItems: 20
minItems: 1
- type: 'null'
title: Categories
description: Match any.
examples:
- - earnings
entities:
anyOf:
- items:
type: string
type: array
maxItems: 50
minItems: 1
- type: 'null'
title: Entities
description: Match any; names or tickers.
examples:
- - NVDA
- Apple Inc.
entity_relevance:
anyOf:
- items:
type: string
enum:
- primary
- significant
- contextual
- incidental
type: array
maxItems: 4
minItems: 1
- type: 'null'
title: Entity Relevance
description: Match any.
min_entity_sentiment:
anyOf:
- type: number
maximum: 1.0
minimum: -1.0
- type: 'null'
title: Min Entity Sentiment
description: '+-.2 neutral; +-.2-.6 mod; +-.6+ strong; both: >=min OR <=max'
max_entity_sentiment:
anyOf:
- type: number
maximum: 1.0
minimum: -1.0
- type: 'null'
title: Max Entity Sentiment
sectors:
anyOf:
- items:
type: string
enum:
- communication_services
- consumer_discretionary
- consumer_staples
- energy
- financials
- health_care
- industrials
- information_technology
- materials
- real_estate
- utilities
type: array
maxItems: 11
minItems: 1
- type: 'null'
title: Sectors
description: Match any.
industries:
anyOf:
- items:
type: string
type: array
maxItems: 20
minItems: 1
- type: 'null'
title: Industries
description: Match any.
countries:
anyOf:
- items:
type: string
type: array
maxItems: 50
minItems: 1
- type: 'null'
title: Countries
description: Match any; lowercase ISO 3166-1 alpha-2
asset_classes:
anyOf:
- items:
type: string
enum:
- equities
- fixed_income
- currencies
- commodities
- crypto
- real_estate
type: array
maxItems: 6
minItems: 1
- type: 'null'
title: Asset Classes
description: Match any.
publisher:
anyOf:
- items:
type: string
type: array
maxItems: 20
minItems: 1
- type: 'null'
title: Publisher
description: Match any.
min_importance_score:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Min Importance Score
description: 0-.2 noise; .2-.4 low; .4-.6 mod; .6-.8 high; .8-1 critical
min_trustworthiness_score:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Min Trustworthiness Score
description: <.2 anon; .4-.6 mod; .6+ reputable; .8+ official
additionalProperties: false
type: object
required:
- source
title: WireAlertConditions
DevelopmentAlertConditions:
properties:
source:
type: string
const: developments
title: Source
symbols:
anyOf:
- items:
type: string
type: array
maxItems: 50
minItems: 1
- type: 'null'
title: Symbols
description: Match any stakeholder ticker.
examples:
- - NVDA
- AAPL
min_impact_score:
anyOf:
- type: number
maximum: 1.0
minimum: -1.0
- type: 'null'
title: Min Impact Score
description: '+-.5+ strong; 0..+-.5 weak; 0 neutral; both: >=min OR <=max'
max_impact_score:
anyOf:
- type: number
maximum: 1.0
minimum: -1.0
- type: 'null'
title: Max Impact Score
development_types:
anyOf:
- items:
type: string
type: array
maxItems: 10
minItems: 1
- type: 'null'
title: Development Types
description: Match any.
examples:
- - corporate_action
min_importance_score:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Min Importance Score
description: 0-.2 noise; .2-.4 minor; .4-.6 expected/mod; .6-.8 material; .8-1 critical
min_surprise_score:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Min Surprise Score
description: 0-.2 known; .2-.4 expected; .4-.6 modest; .6-.8 notable; .8-1 shock
min_confidence_score:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Min Confidence Score
description: <.2 unreliable; .4-.6 incomplete; .6+ strong; .8+ explicit
additionalProperties: false
type: object
required:
- source
title: DevelopmentAlertConditions
securitySchemes:
HTTPBearer:
type: http
scheme: bearer