/insights/alertsWatch an issue’s estimate for a grade band; tell me when it goes below or above a target.
collector.createPriceAlert()insights:writeIdempotency-KeyX-Request-Idobject
issueIdstring (uuid)requirededitionIdstring (uuid) or nullrequiredgradedbooleanrequiredbandIdenumrequired9.8+9.0-9.67.0-8.54.0-6.5under-4directionenumrequiredbelowabovetargetCentsintegerrequiredat most 100000000
currencystringdefault "USD"
notestring or nullat most 300 characters
cooldownDaysinteger1–90 · default 7
sourceItemIdstring (uuid) or null201CreatedThe alert.
object
invalid_requestinvalid_jsoninvalid_idempotency_key
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
unauthorized: Not signed in (no session or token, or an expired one).
feature_required: The plan doesn’t include this (details.feature names it).
idempotency_in_progress: The first request with this key is still running.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).