Skip to content

Promise uptime on a plan

Say "promise 99.9% uptime on Scale" and get an uptime term on the Offer, measured every minute, with credits paid on the next invoice.

For developers

An uptime term on an Offer promises how much of each month the API answers, and what a Customer gets back below it. Credits apply themselves; nobody files a claim.

For developers

Needs Ship an API · Open a bank account

What you get

  • 1uptime term of 99.9% a month on the Scale OfferOffer
  • 1uptime measured every minute from several regionsMonitor
  • 1credit on next month’s invoice for each customer owed one, with no claim to fileCredit Grant
  • 1uptime line in the plan’s terms and on the status pagePage

Your agent does

Offer.update
You, to your agent

Promise 99.9% uptime on Scale.

Add an SLA to the Scale plan.

Credit customers when the API is down.

# Offer.update
curl -X PATCH https://api.sb/leaseline.app/offers/offer_scale_monthly \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":{"amount":29,"currency":"USD"},"uptime":{"target":99.9,"credits":[{"below":99.9,"percent":10},{"below":99,"percent":25}]}}'
import { $ } from 'startup-builder'

await $.Offer.update({ id: 'offer_scale_monthly', price: { amount: 29, currency: 'USD' }, uptime: { target: 99.9, credits: [{ below: 99.9, percent: 10 }, { below: 99, percent: 25 }] } })
npx startup-builder do Offer.update --json '{"id":"offer_scale_monthly","price":{"amount":29,"currency":"USD"},"uptime":{"target":99.9,"credits":[{"below":99.9,"percent":10},{"below":99,"percent":25}]}}'
{
  "name": "do",
  "arguments": {
    "code": "return await $.Offer.update({ id: 'offer_scale_monthly', price: { amount: 29, currency: 'USD' }, uptime: { target: 99.9, credits: [{ below: 99.9, percent: 10 }, { below: 99, percent: 25 }] } })"
  }
}

Change it

  • Make it 99.95% for the enterprise plan only.
  • Show uptime for the last 90 days on the status page.
  • Did anyone earn a credit last month?

Under the hood

Systems
Billing, Monitoring
Nouns
Offer, Monitor, Credit Grant
Events
Offer.updated, CreditGrant.issued