An open-source, faster Devin alternative
TypeScript
docs: thread granularity-as-a-feature angle across reserved capacity pages
Igor Zalutski99a4d27cc1a2
diff --git a/docs/reserved-capacity/concepts.mdx b/docs/reserved-capacity/concepts.mdxindex ed8d76ea..652a92b3 100644--- a/docs/reserved-capacity/concepts.mdx+++ b/docs/reserved-capacity/concepts.mdx@@ -19,6 +19,11 @@ A 15-minute window on the UTC quarter-hour grid.| `startsAt` | Inclusive start. Always ends in `:00`, `:15`, `:30`, or `:45` with zero seconds. || `endsAt` | Exclusive end. Always `startsAt + 15 minutes`. |+The 15-minute grain is the smallest commitment unit and that's the point.+You can shape a reservation to the exact contour of your workload — a+nightly window, working-hour blocks, an hourly cron — without paying for+idle slots outside it.+Half-open intervals (`[startsAt, endsAt)`) mean two adjacent reservationsnever overlap and never leave gaps.diff --git a/docs/reserved-capacity/overview.mdx b/docs/reserved-capacity/overview.mdxindex ad5bb9b3..fbf1a2db 100644--- a/docs/reserved-capacity/overview.mdx+++ b/docs/reserved-capacity/overview.mdx@@ -31,6 +31,12 @@ Reservations are made against 15-minute UTC intervals on the quarter-hourgrid: `:00`, `:15`, `:30`, `:45`. Within each interval, you commit aninteger number of GB. A two-hour reservation of 16 GB is 8 intervals × 16 GB.+The 15-minute grain is deliberate. Reserve the slots you'll actually run+in — you aren't pushed into a long contiguous block and asked to pay for+the troughs in between. A nightly batch reserves the eight intervals it+occupies; a weekday workload reserves working hours and skips evenings+and weekends. The reserved rate applies whatever shape your demand takes.+You don't book individual blocks or get block IDs back. You just tell theAPI "for this interval, add this many GB to my reserved capacity," and thecalendar shows you the new total.@@ -86,7 +92,10 @@ that interval falls back to on-demand rates.If you already know you'll run 50 GB of agents at 3am every night, reservethe day before, get the lower rate, get the guarantee. If your workload is-"whatever users ask for," stay on-demand.+"whatever users ask for," stay on-demand. And because the granularity is+15 minutes, you can be precise — reserve the peaks, leave the troughs to+on-demand, and don't commit to capacity outside your actual workload+window.## Where to go nextdiff --git a/docs/reserved-capacity/reserving.mdx b/docs/reserved-capacity/reserving.mdxindex 4d7a335a..b54f4c9e 100644--- a/docs/reserved-capacity/reserving.mdx+++ b/docs/reserved-capacity/reserving.mdx@@ -12,6 +12,12 @@ There are two write-side endpoints: `POST` to commit, `GET` to audit. Bothwork in terms of intervals and integer GB; there are no individual blocksor unit IDs.+Reservations compose at 15-minute granularity, so a multi-hour or+multi-day commitment is just a list of contiguous (or non-contiguous)+intervals. Reserve precisely the windows your workload occupies — there's+no minimum block size beyond the interval itself, and no requirement to+reserve continuously through periods you won't use.+## Make a reservationOne call commits capacity to one or more 15-minute intervals. Atomic across