{"uid":"cap_2yI45vm9IyuCO6KXucfrk","slug":"corpusai-azure-spot-vm-eviction-rate-history-8cda2d1f","name":"corpusAI Azure Spot VM Eviction Rate History","description":"corpusAI Cloud Pricing: Azure spot eviction-rate history (28-day buckets, sampled daily).","url":"https://cloud.trycorpus.ai/v1/azure/eviction?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["region"],"properties":{"to":{"type":"string","format":"date","description":"Last sample date (inclusive), YYYY-MM-DD. Default: latest."},"sku":{"type":"string","description":"Optional SKU name (for example `D2s_v5`). Default: every SKU."},"from":{"type":"string","format":"date","description":"First sample date (inclusive), YYYY-MM-DD. Default: earliest."},"region":{"enum":["us-east","us-west-2","eu-west"],"type":"string","description":"Azure region slug: `us-east`, `us-west-2` or `eu-west`."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"count":{"type":"integer"},"region":{"type":"string"},"samples":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string"},"date":{"type":"string","format":"date","description":"Sample day."},"bucket":{"type":"string","description":"Eviction-rate bucket in percent over the trailing 28 days: `0-5`, `5-10`, `10-15`, `15-20`, `20+`."}}}}}}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_87AJccaRJKjIl3AYI0xPq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical Azure spot VM eviction-rate buckets by SKU and region, sampled over trailing 28-day windows.","exampleAgentPrompt":"What's the historical spot eviction rate for the D2s_v5 SKU in Azure us-east over the last 6 months? Pull the data from corpusAI's cloud pricing API so I can see which eviction-rate bucket it falls into.","exampleUseCases":[{"title":"Choosing safest Azure spot region","prompt":"I want to run a batch ML job on Azure spot VMs — can you check the eviction history for the us-east, us-west-2, and eu-west regions so I can pick the one with the lowest eviction rate?"},{"title":"SKU reliability audit for cost optimization","prompt":"Pull the eviction rate history for the D8s_v5 SKU in Azure eu-west from 2024-01-01 to 2024-12-31, I need to see if it's been consistently in the 0-5% bucket before I commit to using it for production workloads."},{"title":"Monitoring Azure spot stability over time","prompt":"Has the eviction rate for Azure spot VMs in us-west-2 gotten worse over the past year? Fetch the full eviction history across all SKUs for that region so I can see the trend."}],"resultDescription":"Returns a JSON object with a count of samples, the queried region, and an array of sample records — each containing the SKU name, the sample date, and the eviction-rate bucket (one of: 0-5%, 5-10%, 10-15%, 15-20%, 20+%) computed over the trailing 28-day window.","failureModes":["Missing required 'region' parameter returns a 400/validation error","Invalid region slug (not one of us-east, us-west-2, eu-west) causes rejection","Invalid date format for 'from' or 'to' fields returns a schema validation error","Payment failure (insufficient USDC balance or x402 misconfiguration) blocks the request","Date range with no matching samples returns an empty samples array","Unknown SKU name returns empty results rather than an error"],"whenToPreferThis":"Use this endpoint when you need Azure-specific spot VM eviction rate history, particularly when selecting SKUs or regions for cost-sensitive batch or interruptible workloads. It is distinct from general cloud pricing endpoints because it focuses on eviction risk buckets rather than dollar prices, making it ideal for reliability and SLA planning. Prefer it over manual Azure portal checks when building automated infrastructure selection or monitoring pipelines that need historical eviction trends by region and SKU.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:37:37.883Z","isFirstParty":false,"canonicalSlug":"corpusai-azure-spot-vm-eviction-rate-history-8cda2d1f"}