Skip to content

Offer alerts

Ask Legion to email you once when a machine that matches your search becomes available, and manage your alerts in the app or through the API and MCP.

On this page

When no machine matches your search, an alert tells you the moment one does. You get one email, with a link that opens the market with the same search.

Create an alert

  1. Open the market and set your filters: the GPU model, the number of GPUs, a price limit, any requirement. A price limit is an all-in price, like every price in the market, so it includes the platform fee.

  2. If nothing matches, the market says No GPUs match this search. Choose Email me when one's available.

  3. Check the words that sum up your search, add a name if you like, pick how long to keep watching (7, 30 or 90 days) and choose Create alert.

The alert keeps every filter of the search, and the tier: an alert made from an interruptible search watches interruptible availability. It needs permission to rent (rentals.manage).

What you get

Legion checks every alert about once a minute, with the same search the market runs for your organization. When a machine matches, you are emailed once and the alert becomes Notified. An alert that already matches when you create it fires at the next check.

  • One email per alert. After it fires, the alert doesn't watch any more. Use Re-arm to watch again.

  • It isn't a reservation. The machine can be rented by someone else before you open the link. The email names the cheapest price Legion found; the market shows what is free right now.

  • The email goes to you, the person who created the alert. Nobody else in your organization sees your alerts.

Your alerts

The Alerts page in the app lists your alerts, newest first: what each one watches for, its status (Active, Notified or Expired), when it was created and when it expires, and for a notified alert when you were emailed and the price per GPU-hour Legion found. For each alert you can:

  • Open search to see the market with the alert's filters.

  • Re-arm a notified or expired alert. It is checked again and its expiry restarts, 30 days from now.

  • Delete it.

Limits

  • An alert lasts 30 days unless you choose another time, at most 90. When the time is up it expires, and you can re-arm it.

  • You can have 10 active alerts at a time, counting a re-armed one. Delete one, or wait for one to notify you or expire, to make room. The API answers 409 alert_limit_reached.

  • Notified and expired alerts are removed 30 days after they stop.

  • You can't change an alert's filters. Create a new alert for a new search.

With the API and MCP

Alerts are in the API under the Offers tag: create one with createOfferAlert using the same filters as listOffers (without the sort, the page and the catalog entry), read them with listOfferAlerts and getOfferAlert, re-arm or rename one with updateOfferAlert, and remove one with deleteOfferAlert.

Shell
curl -X POST https://api.legion.ambient.xyz/v1/offer-alerts \
  -H "Authorization: Bearer $LEGION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Two H100s under $2.50", "filters": {"gpu_models": ["NVIDIA H100 80GB HBM3"], "min_gpus": 2, "max_price_per_gpu_hour_cents": 250}, "expires_in_days": 30}'

An agent connected through MCP has the tools create_offer_alert, list_offer_alerts and delete_offer_alert. See the tools reference.

If offer alerts are switched off for a while, creating or re-arming one answers 503 offer_alerts_disabled.