{"_self":{"principle":"Self-explaining payload — no external context required. This _self block describes what you are reading and where to look next.","widget":"article_voxels","feature":"voxels","name":"Voxel graph","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","contains":"claim voxels + source edges","slug":"oip-what-is-rate-limiting","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/voxels","write":"https://miscsubjects.com/api/protocol/claim"},"how_to_use":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","write":"https://miscsubjects.com/api/protocol/claim","imessage":null,"router_tag":null,"proof_chain":[{"step":1,"claim":"Articles are voxel graphs of tiered claims, not prose blobs.","verify":"https://miscsubjects.com/api/articles/constitution"},{"step":2,"claim":"Claims link to hash-chained sources via source_ids.","verify":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/sources"},{"step":3,"claim":"Ask reads topology; ingest/claim append to ledger.","verify":"https://miscsubjects.com/api/protocol"},{"step":4,"claim":"Models queue growth: populate → collaborate → repair → reflex.","verify":"https://miscsubjects.com/api/protocol/grow"},{"step":5,"claim":"Graph proves its own shape (reflex) and $/claim (yield).","verify":"https://miscsubjects.com/graph.html?layer=reflex"},{"step":6,"claim":"Full feature index + _explain on every API response.","verify":"https://miscsubjects.com/api/articles/system-map"}],"related_features":[{"id":"constitution","name":"Article constitution","what":"Binding rules: required article slots, claim/source rules, ontology anti-sprawl.","urls":{"read":"https://miscsubjects.com/api/articles/constitution","read_md":"https://miscsubjects.com/api/articles/constitution?format=markdown"}},{"id":"sources_ledger","name":"Source ledger","what":"Hash-chained cited sources; verify integrity at GET .../sources.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/sources","write":"https://miscsubjects.com/api/protocol/sources"}},{"id":"claim_post","name":"Claim post protocol","what":"Prompt-injection style POST — one claim voxel with who_claims + posted_by.","urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/voxels","write":"https://miscsubjects.com/api/protocol/claim"}}],"system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown","not_medical_advice":true},"_explain":{"feature":"voxels","name":"Voxel graph","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","why":"Every feature is auditable collective intelligence","how":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","model":null,"verifies":null,"urls":{"read":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/voxels","write":"https://miscsubjects.com/api/protocol/claim"},"imessage":null,"router":null,"related":[{"id":"constitution","what":"Binding rules: required article slots, claim/source rules, ontology anti-sprawl."},{"id":"sources_ledger","what":"Hash-chained cited sources; verify integrity at GET .../sources."},{"id":"claim_post","what":"Prompt-injection style POST — one claim voxel with who_claims + posted_by."}],"not_medical_advice":true},"position":{"you_are_here":"https://miscsubjects.com/a/oip-what-is-rate-limiting — What Is Rate Limiting","plane":"oip","master_entry":"https://miscsubjects.com/a/philosophy","siblings":[{"slug":"oip-appendix-b-the-benchmark","title":"APPENDIX B — The Benchmark","url":"https://miscsubjects.com/a/oip-appendix-b-the-benchmark"},{"slug":"oip-appendix-c-attack-types","title":"APPENDIX C — Attack Types","url":"https://miscsubjects.com/a/oip-appendix-c-attack-types"},{"slug":"oip-axiom-a0","title":"Axiom A0 — Inversion","url":"https://miscsubjects.com/a/oip-axiom-a0"},{"slug":"oip-axiom-a1","title":"Axiom A1 — Polarity","url":"https://miscsubjects.com/a/oip-axiom-a1"},{"slug":"oip-axiom-a2","title":"Axiom A2 — The Grain","url":"https://miscsubjects.com/a/oip-axiom-a2"},{"slug":"oip-axiom-a3","title":"Axiom A3 — Convergence","url":"https://miscsubjects.com/a/oip-axiom-a3"},{"slug":"oip-axiom-a4","title":"Axiom A4 — The First Assumption","url":"https://miscsubjects.com/a/oip-axiom-a4"},{"slug":"oip-axiom-a5","title":"Axiom A5 — Inherited Prejudice","url":"https://miscsubjects.com/a/oip-axiom-a5"},{"slug":"oip-axiom-a6","title":"Axiom A6 — The Void","url":"https://miscsubjects.com/a/oip-axiom-a6"},{"slug":"oip-axiom-a7","title":"Axiom A7 — Signatures","url":"https://miscsubjects.com/a/oip-axiom-a7"},{"slug":"oip-axiom-a8","title":"Axiom A8 — Maker-System Identity","url":"https://miscsubjects.com/a/oip-axiom-a8"},{"slug":"oip-axiom-a8-times-a5","title":"A8 × A5 — Maker-System Identity Prosecuted Against Inherited Prejudice","url":"https://miscsubjects.com/a/oip-axiom-a8-times-a5"},{"slug":"oip-axiom-a9","title":"Axiom A9 — Interlock","url":"https://miscsubjects.com/a/oip-axiom-a9"},{"slug":"oip-axiom-hierarchy","title":"Axiom Hierarchy — Bedrock vs Derived","url":"https://miscsubjects.com/a/oip-axiom-hierarchy"},{"slug":"oip-c07-feedback-cybernetics","title":"C07: Feedback, Cybernetics, and Homeostasis","url":"https://miscsubjects.com/a/oip-c07-feedback-cybernetics"},{"slug":"oip-catalogue-ai-instance","title":"The Catalogue: AI as an Instance","url":"https://miscsubjects.com/a/oip-catalogue-ai-instance"},{"slug":"oip-catalogue-build-order","title":"The Catalogue: Build Order","url":"https://miscsubjects.com/a/oip-catalogue-build-order"},{"slug":"oip-catalogue-edge-types","title":"The Catalogue: Edge Types","url":"https://miscsubjects.com/a/oip-catalogue-edge-types"},{"slug":"oip-catalogue-mapping","title":"The Catalogue: Mapping Invariants to Protocol","url":"https://miscsubjects.com/a/oip-catalogue-mapping"},{"slug":"oip-catalogue-node-facets","title":"The Catalogue: Node Facets","url":"https://miscsubjects.com/a/oip-catalogue-node-facets"},{"slug":"oip-catalogue-one-rule","title":"The Catalogue: The One Rule","url":"https://miscsubjects.com/a/oip-catalogue-one-rule"},{"slug":"oip-catalogue-religion-lineage","title":"The Catalogue: Religion Without Religion Lineage","url":"https://miscsubjects.com/a/oip-catalogue-religion-lineage"},{"slug":"oip-catalogue-traversal","title":"The Catalogue: Traversal","url":"https://miscsubjects.com/a/oip-catalogue-traversal"},{"slug":"oip-causal-contact-rule","title":"Causal Contact Rule — Convergence vs Synthesis","url":"https://miscsubjects.com/a/oip-causal-contact-rule"},{"slug":"oip-cold-read-reflexes","title":"The Cold-Read Reflexes: Why Stateless Models Misjudge This Corpus on Arrival","url":"https://miscsubjects.com/a/oip-cold-read-reflexes"},{"slug":"oip-convergence-build-order","title":"Convergence Catalogue: Build Order","url":"https://miscsubjects.com/a/oip-convergence-build-order"},{"slug":"oip-convergence-catalogue","title":"The Convergence Catalogue — Nodes of Evidence","url":"https://miscsubjects.com/a/oip-convergence-catalogue"},{"slug":"oip-convergence-edge-1","title":"Convergence Edge 1: Gradient Dissipation ↔ Thermoeconomics","url":"https://miscsubjects.com/a/oip-convergence-edge-1"},{"slug":"oip-convergence-edge-10","title":"Convergence Edge 10: Symmetry-Breaking ↔ Attractors","url":"https://miscsubjects.com/a/oip-convergence-edge-10"},{"slug":"oip-convergence-edge-2","title":"Convergence Edge 2: Least Action ↔ Pareto Optimization","url":"https://miscsubjects.com/a/oip-convergence-edge-2"},{"slug":"oip-convergence-edge-3","title":"Convergence Edge 3: Symmetry ↔ Conservation ↔ Duality / Complementarity","url":"https://miscsubjects.com/a/oip-convergence-edge-3"},{"slug":"oip-convergence-edge-4","title":"Convergence Edge 4: Criticality ↔ Scale Invariance","url":"https://miscsubjects.com/a/oip-convergence-edge-4"},{"slug":"oip-convergence-edge-5","title":"Convergence Edge 5: Information / Entropy ↔ Recursion / Self-Reference","url":"https://miscsubjects.com/a/oip-convergence-edge-5"},{"slug":"oip-convergence-edge-6","title":"Convergence Edge 6: Feedback ↔ Autopoiesis","url":"https://miscsubjects.com/a/oip-convergence-edge-6"},{"slug":"oip-convergence-edge-7","title":"Convergence Edge 7: Selection ↔ Emergence","url":"https://miscsubjects.com/a/oip-convergence-edge-7"},{"slug":"oip-convergence-edge-8","title":"Convergence Edge 8: Scale Invariance ↔ Networks","url":"https://miscsubjects.com/a/oip-convergence-edge-8"},{"slug":"oip-convergence-edge-9","title":"Convergence Edge 9: Branching ↔ Networks","url":"https://miscsubjects.com/a/oip-convergence-edge-9"},{"slug":"oip-convergence-public-article","title":"Convergence Catalogue: Public Article","url":"https://miscsubjects.com/a/oip-convergence-public-article"},{"slug":"oip-convergence-schema","title":"Convergence Catalogue: The Schema","url":"https://miscsubjects.com/a/oip-convergence-schema"},{"slug":"oip-count-discipline","title":"Count Discipline — A11 Applied to Philosophy Prose","url":"https://miscsubjects.com/a/oip-count-discipline"}],"machine_side":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/voxels","discourse":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/discourse","append_protocol":"https://miscsubjects.com/a/append-protocol","protocol_door":"https://miscsubjects.com/api/protocol"},"slug":"oip-what-is-rate-limiting","div_mode":true,"voxel":{"mode":"div","divided_at":"2026-07-17T02:36:51.894Z","divided_by":"owner","original_body_sha":"6933582fa105cffe8467844d00e740bf0f082b01d3458267aa2894282d2e5493","atoms":45,"version":1},"divs":[{"id":"d1","kind":"h","type":null,"order":1,"text":"# Rate Limiting","status":"active","vx_hash":"918aeae5349d8305fd5dba46fcde3fcf6a168ddd7ea52c628a6d5eed1626760f","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"80c6134f192f83fd5f652b9d1a3d8a738d4d34a92699982d2d236cb0379b7e5f","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"80ddaff2cdaa704e57e410be0f804d92e43aeade3b011adbfcaabc448c1f2bd6","detail":{"divided_from":"body","block":1,"kind":"h"},"prev":"genesis","hash":"80c6134f192f83fd5f652b9d1a3d8a738d4d34a92699982d2d236cb0379b7e5f"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d1"},{"id":"d2","kind":"p","type":null,"order":2,"text":"Rate limiting is a mechanism that controls how many requests a client can send to a system within a specific time window. It is a guardrail, not a suggestion. It prevents a single actor from consuming disproportionate resources, destabilizing a service, or drowning out every other user. At its core, rate limiting is the enforcement of a budget: you get N operations per T seconds, and the system enforces that boundary without negotiation.","status":"active","vx_hash":"c1316bd3296ecb9050fc2f00a54ac0ed6afe62840c5c071002529b85a81441f5","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"759d3e547d213a4251c5989757914a23de7d4c4186e8a583699b866fdf359da4","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"2904a18e7cb4c9528f38d9b37595dd4dcac66a63fb67cdb78095a653125f8388","detail":{"divided_from":"body","block":2,"kind":"p"},"prev":"genesis","hash":"759d3e547d213a4251c5989757914a23de7d4c4186e8a583699b866fdf359da4"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d2"},{"id":"d3","kind":"h","type":null,"order":3,"text":"## Why It Matters","status":"active","vx_hash":"8166b51b2c6dbf279abcd984b61551440cb83f73d59475c7c6688e5d43d4c8d5","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"05dd2b95ee306eb336d4a3ae29c405c3c62aedba730be37cb17fb47bd97359ff","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"a4fa37f6007aebb1ca3f8598714390d729b67c76a7be5e38b2a60424c0e63bb4","detail":{"divided_from":"body","block":3,"kind":"h"},"prev":"genesis","hash":"05dd2b95ee306eb336d4a3ae29c405c3c62aedba730be37cb17fb47bd97359ff"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d3"},{"id":"d4","kind":"p","type":null,"order":4,"text":"Every shared resource faces the same problem: demand exceeds supply. Without rate limiting, a single misconfigured client, a malicious actor, or a viral event can exhaust compute, bandwidth, or connection pools. The service collapses. Everyone loses.","status":"active","vx_hash":"773fad672606946d150e44c73c3b15c1d460aa49e293cec80a094c8838b05821","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"2030b37812b20682ab185364f6ac40bbd56064eb089ca42d2023ec666bfab242","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"4a039ff0fc85f300c1141afbb649bfd5c07bbc9f94968aaf29d7336f19128e42","detail":{"divided_from":"body","block":4,"kind":"p"},"prev":"genesis","hash":"2030b37812b20682ab185364f6ac40bbd56064eb089ca42d2023ec666bfab242"}],"claim_ids":["c2"],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d4"},{"id":"d5","kind":"p","type":null,"order":5,"text":"Rate limiting is fairness made mechanical. It replaces the chaos of first-come-first-served with an explicit, predictable contract. It tells every client: here is your share, here is the window, and here is what happens when you exceed it. No ambiguity. No exceptions for \"important\" users unless the contract explicitly says so.","status":"active","vx_hash":"4eb0d5f2609c81b3803dd93336a8788186a657a0fd18e028f6d754afb7083ffd","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"3508abe0f5484686a927ff8942d76a6f9b8200bbeb93876c585500fb606ec702","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"ce3fed22ce729eb7307ff4f434ed2c4abc54b8dfcd5e60e44c9953cc65c1acb6","detail":{"divided_from":"body","block":5,"kind":"p"},"prev":"genesis","hash":"3508abe0f5484686a927ff8942d76a6f9b8200bbeb93876c585500fb606ec702"}],"claim_ids":["c3"],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d5"},{"id":"d6","kind":"p","type":null,"order":6,"text":"Beyond protection, rate limiting is an observable boundary. It surfaces capacity constraints. It forces system designers to declare what they can handle. A system without rate limits is a system that has not yet thought about its own limits. That is not robustness. That is hope.","status":"active","vx_hash":"c12f264ef159aac5fdf5e6bb5636fce0affd413ff83e13fdc00cdb87ddb2feaa","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"4eefe56637fbab55df581e6dd46049bc9d8600641cbd35608f029a8440fc0663","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"4f61e44f14236f3fe8191ef7d73b12da36fa84f67f6dec64867d13a0dc4f75ff","detail":{"divided_from":"body","block":6,"kind":"p"},"prev":"genesis","hash":"4eefe56637fbab55df581e6dd46049bc9d8600641cbd35608f029a8440fc0663"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d6"},{"id":"d7","kind":"h","type":null,"order":7,"text":"## How It Works","status":"active","vx_hash":"8898dea20b29dc73e650a4d2ab45b9037d95d4709a1289590e6b8b49115991ff","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"7240ebba6ed6bb2717c7049f59ad87b0a6628c61a7143e131ee87de69c900609","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"f029fb0d33f0802e53458729c7a20710b671d86867fd9cb957609a4af8aee229","detail":{"divided_from":"body","block":7,"kind":"h"},"prev":"genesis","hash":"7240ebba6ed6bb2717c7049f59ad87b0a6628c61a7143e131ee87de69c900609"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d7"},{"id":"d8","kind":"p","type":null,"order":8,"text":"Rate limiting operates on three variables: the **identifier**, the **budget**, and the **window**.","status":"active","vx_hash":"b47b75ccf1d6fc1e6851ec24908f932f30b74754168b329ce998deb5cf2139d7","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"0cff68b53b199f19fb6574d915d9768ca9eb0bac74c30bdad155e0a7f0ad8aa4","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"9b803d80e6da413de4f42659da07d433c4814235961a57fc76849a8569901716","detail":{"divided_from":"body","block":8,"kind":"p"},"prev":"genesis","hash":"0cff68b53b199f19fb6574d915d9768ca9eb0bac74c30bdad155e0a7f0ad8aa4"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d8"},{"id":"d9","kind":"p","type":null,"order":9,"text":"The identifier answers: who is being limited? It could be an IP address, an API key, a user ID, a session token, or a combination. The system must resolve the identifier deterministically on every request.","status":"active","vx_hash":"fd4e6049b0dccfee053fee98862ca6b0e981abf5bd56d5d34a85e5ab2e7fff7e","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"cbd7d68d92b5a9e3fa0b9862c4fac3d192bb229bf4907ff277d3f584ea05964a","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"7fb52278d66b9c2d6a7ec9390d1f72ae4587fbbdf162e9b46fccffd7a15c4a0a","detail":{"divided_from":"body","block":9,"kind":"p"},"prev":"genesis","hash":"cbd7d68d92b5a9e3fa0b9862c4fac3d192bb229bf4907ff277d3f584ea05964a"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d9"},{"id":"d10","kind":"p","type":null,"order":10,"text":"The budget answers: how many requests are allowed? This is a count. It could be 60 requests, 5,000 requests, or 1 request. The budget is fixed per window.","status":"active","vx_hash":"0e8f51084c3caf35c4a9bd4bd0d0d18e8c7f731f475adc9ec0c3b6d9f28a2c44","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"1752072a30ef5497c73233ad56c233a2a242a9a7955deba01cca5772b79d966a","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"75b072e5c3c4bae2af5afdcec5393c1f55a89efa381bef23bfa869c1bee22c7b","detail":{"divided_from":"body","block":10,"kind":"p"},"prev":"genesis","hash":"1752072a30ef5497c73233ad56c233a2a242a9a7955deba01cca5772b79d966a"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d10"},{"id":"d11","kind":"p","type":null,"order":11,"text":"The window answers: in what time period? This is the reset interval. It could be one second, one minute, or one hour. When the window resets, the budget replenishes.","status":"active","vx_hash":"1574f1033cc9efac76e0dd14f9e3048f3e6838b3ecd54a9905361023b54ae15f","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"3e41b00a751e6634a30daa17f01d387e93656b7fc75689c50ac20cf23e5e48d9","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"fd74264ed71487ce25790499610ee3ea8edede1d335efd27878aa9a4d0216102","detail":{"divided_from":"body","block":11,"kind":"p"},"prev":"genesis","hash":"3e41b00a751e6634a30daa17f01d387e93656b7fc75689c50ac20cf23e5e48d9"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d11"},{"id":"d12","kind":"p","type":null,"order":12,"text":"Here is the exact sequence for a typical token bucket implementation, which is the most common and pedagogically clean model:","status":"active","vx_hash":"343250d32e05bb4c29bc68a53b6cca75ce727f258689e5f1dd725d2a9d214269","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"7f8455b8df9dc228975a82ce57f48cc082b15b5f374fa59e09d09c06548c7b48","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"b00b9dd9583002d6521974ca436deb2c5d8eedc4d4be6a5a7acd9a726c04d2cc","detail":{"divided_from":"body","block":12,"kind":"p"},"prev":"genesis","hash":"7f8455b8df9dc228975a82ce57f48cc082b15b5f374fa59e09d09c06548c7b48"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d12"},{"id":"d13","kind":"list","type":null,"order":13,"text":"1. **Extract identifier** from the incoming request (API key, IP, token).\n2. **Look up the bucket** for that identifier in a fast store (Redis, an in-memory map, a D1 row).\n3. **Check the current tokens** in the bucket. If tokens > 0, decrement by 1 and allow the request. If tokens == 0, reject the request with a 429 status.\n4. **Replenish tokens** at a fixed rate. For example, a bucket with capacity 100 and a refill rate of 10 tokens per second starts full, drains down, and refills continuously.\n5. **Return headers** telling the client their remaining budget, the reset time, and the limit. This is not optional. It is part of the contract.","status":"active","vx_hash":"bf4331ff6f90b36ac8430d9c5d77a21aa307078ae0d391e4184e9ddab50065b8","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"6258afa454bf9f1a71055c34038e0be8c28930df98ff5e65c93a8937f0549ca0","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"14edf760b7913400b101a40db9604c69cac60c0a7611e03fd8683ba9ed693fa3","detail":{"divided_from":"body","block":13,"kind":"list"},"prev":"genesis","hash":"6258afa454bf9f1a71055c34038e0be8c28930df98ff5e65c93a8937f0549ca0"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d13"},{"id":"d14","kind":"p","type":null,"order":14,"text":"Other algorithms exist. **Fixed window** divides time into discrete buckets (e.g., every hour) and counts requests per bucket. It is simple but vulnerable to burst attacks at window boundaries. **Sliding window** tracks the exact timestamps of recent requests and rejects if too many fall within the trailing window. It is accurate but more expensive to compute. **Leaky bucket** smooths traffic by allowing requests to exit at a fixed rate, enforcing uniform flow rather than burst-then-stop.","status":"active","vx_hash":"3ff060aaea2dbd255be085f0efee410b262374232f3cfb6c5076734fb21670d1","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"b091eda49298f21d1d320c5d6abe9fdc4b431a7309566680cc37d7963b4d5518","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"81f8dda16660feca7321f88166fb7a7347fa704e70f6e7ad6b1d6ece94d0b888","detail":{"divided_from":"body","block":14,"kind":"p"},"prev":"genesis","hash":"b091eda49298f21d1d320c5d6abe9fdc4b431a7309566680cc37d7963b4d5518"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d14"},{"id":"d15","kind":"p","type":null,"order":15,"text":"Token bucket is the default choice for most APIs because it allows controlled bursts while enforcing a long-term average. It is the right balance between protection and usability.","status":"active","vx_hash":"7df61f4e62ef5583f9c7e6a77fe6a636d4657814cb58fffb9899c90903166701","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"4904fd8171dba1fe0d1e1b56a3dee079039c141e53e7b5e5d4084246224b09f0","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"35009b09cbeb82cbe19dfbc80f5f7094008d5c8b24c2fc828b5882622752f0b6","detail":{"divided_from":"body","block":15,"kind":"p"},"prev":"genesis","hash":"4904fd8171dba1fe0d1e1b56a3dee079039c141e53e7b5e5d4084246224b09f0"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d15"},{"id":"d16","kind":"h","type":null,"order":16,"text":"## The Contract","status":"active","vx_hash":"31542b5a4851c6f2d50e23e568b457f541e7d7b9cd11bcd4418eabd502a250a7","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"e51897d9fb513cae246aeb422487215810c2793fbbda95927c59449268fb4068","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"0cd93563460fd113091079213702fcf7de22a6f656d6e92aab843a96d23bc7cc","detail":{"divided_from":"body","block":16,"kind":"h"},"prev":"genesis","hash":"e51897d9fb513cae246aeb422487215810c2793fbbda95927c59449268fb4068"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d16"},{"id":"d17","kind":"p","type":null,"order":17,"text":"The exact interface for rate limiting is codified in **RFC 6585** and enforced by standard HTTP headers. A rate-limited system MUST return the following on every response:","status":"active","vx_hash":"dc74cd631d1b1ee0e584076bbd2df796f259619fa6e348861b64bafe91be4848","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"7f6d5c210856019cad0fa5529dd58d0639d73fa8d739f9faa0f0f146b39f3760","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"6b2b3048399930cf6eadf288c770f28740b40422080986ead1b50300d56e9c46","detail":{"divided_from":"body","block":17,"kind":"p"},"prev":"genesis","hash":"7f6d5c210856019cad0fa5529dd58d0639d73fa8d739f9faa0f0f146b39f3760"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d17"},{"id":"d18","kind":"p","type":null,"order":18,"text":"| Header | Meaning |\n|--------|---------|\n| `X-RateLimit-Limit` | The maximum number of requests allowed per window. |\n| `X-RateLimit-Remaining` | The number of requests remaining in the current window. |\n| `X-RateLimit-Reset` | The Unix timestamp when the current window resets. |\n| `Retry-After` | When a 429 is returned, the number of seconds the client MUST wait before retrying. |","status":"active","vx_hash":"1c97f28b382939a3d7b7bc2ef1348a0b24f55165ac9476fb5a22e212dedafaf8","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"d10bb3fa312f8d33a7dedb77013e1301081e0461b4959f574eaa0ed487c860ce","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"4f3df6ed1aa18b548720cb997b48b93c8a02fc46a2c204f7e7a27e6fe7c890fa","detail":{"divided_from":"body","block":18,"kind":"p"},"prev":"genesis","hash":"d10bb3fa312f8d33a7dedb77013e1301081e0461b4959f574eaa0ed487c860ce"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d18"},{"id":"d19","kind":"p","type":null,"order":19,"text":"When a client exceeds the limit, the server MUST respond with:","status":"active","vx_hash":"e06205090037353b0df2bf9dd858e59311432f3f91708831a45b69f1541fca13","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"e8680bb2340c20fcf515095fcdcf3cb4856eb78ae759763023c0235db57b4173","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"765df1dee6dac7f8e05cb6a560b80eca8578607c24eef532d40785f6085c2e33","detail":{"divided_from":"body","block":19,"kind":"p"},"prev":"genesis","hash":"e8680bb2340c20fcf515095fcdcf3cb4856eb78ae759763023c0235db57b4173"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d19"},{"id":"d20","kind":"code","type":null,"order":20,"text":"```\nHTTP/1.1 429 Too Many Requests\nRetry-After: 3600\nX-RateLimit-Limit: 100\nX-RateLimit-Remaining: 0\nX-RateLimit-Reset: 1712345678\n```","status":"active","vx_hash":"0488bc863b0794cdaf66b9dd86c7b908cb600a590310257ccaa5c2c4a1ae86e8","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"ada74557c789476e1ea9fad648779c3421b10d0b8a8a8dd69e1df10e1bca29ff","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"2aaa35e0e682410d3d524f8e97e429dfb084e7071fd142df617a0908d2b9a32d","detail":{"divided_from":"body","block":20,"kind":"code"},"prev":"genesis","hash":"ada74557c789476e1ea9fad648779c3421b10d0b8a8a8dd69e1df10e1bca29ff"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d20"},{"id":"d21","kind":"p","type":null,"order":21,"text":"The client is expected to read these headers and adapt. Good clients back off. Bad clients get banned. The contract is not a negotiation. It is a declaration of the server's boundary, and the client obeys or is disconnected.","status":"active","vx_hash":"0a2d59abb853eb39234857061519acc3aaea31309b16c088c5d204021559092b","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"ec214c5524185fa963614a90f4ecd5a2f5a84ae70cc01d76dde708e8b72c0583","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"31763642e979bca46241a3da58d705e80d2b768e00dfcdb80036a53fce6cb2a1","detail":{"divided_from":"body","block":21,"kind":"p"},"prev":"genesis","hash":"ec214c5524185fa963614a90f4ecd5a2f5a84ae70cc01d76dde708e8b72c0583"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d21"},{"id":"d22","kind":"p","type":null,"order":22,"text":"The contract also has a social dimension. A rate limit should be documented before it is enforced. Changing a limit without notice is a breaking change. The limit is part of the API's public surface, not a hidden internal detail.","status":"active","vx_hash":"851ba13f7e45dff866dfaf839c4fd5c0cc9059271e2020eaa765bf295cd84d22","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"fc5041ce102b45ad56c58ddf11d09dfee326c49179f59d1e183e92071e4b9958","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"1087128af4e4037d3f4ced36d73ca97049505a50bda81fc4c69464c5bb55ee40","detail":{"divided_from":"body","block":22,"kind":"p"},"prev":"genesis","hash":"fc5041ce102b45ad56c58ddf11d09dfee326c49179f59d1e183e92071e4b9958"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d22"},{"id":"d23","kind":"h","type":null,"order":23,"text":"## Real Examples","status":"active","vx_hash":"2ca58d98221c0d09de5c1ca0f23861dcfbfd1377ecacd20b158fef8a1a3431ce","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"920481aa8d85039618a8e8bc4390cd7494aea2268c34c9addf9c1c4dfee401a2","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"e117cb4e562f13d43f7070785d002a44b2ac990a268aba794448b69670234942","detail":{"divided_from":"body","block":23,"kind":"h"},"prev":"genesis","hash":"920481aa8d85039618a8e8bc4390cd7494aea2268c34c9addf9c1c4dfee401a2"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d23"},{"id":"d24","kind":"p","type":null,"order":24,"text":"**GitHub REST API** — Unauthenticated requests are limited to 60 per hour per IP. Authenticated requests with a personal access token are limited to 5,000 per hour. GitHub Apps scale with repository and user count, up to 15,000 per hour. GitHub returns `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Used`, `X-RateLimit-Reset`, and `X-RateLimit-Resource` on every response. Exceeding the limit returns 403 or 429 with a `Retry-After` header.","status":"active","vx_hash":"6323cc563b5d7d105129cef0a868ac049a4026b3c0a01b5f1a8679f6314d6ec1","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"75a68bc2f75fca689287200d08d0bc45b305276ec7dc22009bc6b18580b6dc08","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"30a1e1647c8abe7c81f54fe6b30535e7d843e2efeb2e419996fcecfe67e95b3c","detail":{"divided_from":"body","block":24,"kind":"p"},"prev":"genesis","hash":"75a68bc2f75fca689287200d08d0bc45b305276ec7dc22009bc6b18580b6dc08"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d24"},{"id":"d25","kind":"p","type":null,"order":25,"text":"**Twitter (X) API v2** — The Essential tier allows 100 requests per 15 minutes for most endpoints. The Elevated tier allows 300 per 15 minutes. Each endpoint has its own distinct bucket. The API returns `x-rate-limit-limit`, `x-rate-limit-remaining`, and `x-rate-limit-reset`.","status":"active","vx_hash":"61c5010657c347eb300b2315795caf994e8172f5ea049b39ca3b60bf4bbc1688","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"238c481dbfe5b159b68ce563ad261051d2f0d157312ff85aa0391c3f2aa4c717","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"b41258908f00a3ca8a65cf81e698ab6388792f08b5c82a85520f4b47bad8ec82","detail":{"divided_from":"body","block":25,"kind":"p"},"prev":"genesis","hash":"238c481dbfe5b159b68ce563ad261051d2f0d157312ff85aa0391c3f2aa4c717"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d25"},{"id":"d26","kind":"p","type":null,"order":26,"text":"**OpenAI API** — Rate limits are tiered by organization level. GPT-4 endpoints may allow 200 requests per minute for Tier 1, while DALL-E image generation may allow 5 images per minute. Limits are per-model and per-endpoint. The API returns headers including `x-ratelimit-limit-requests`, `x-ratelimit-remaining-requests`, and `x-ratelimit-reset-requests`.","status":"active","vx_hash":"0bc7384d61374ab8feb87c72df92681c1666c5b74b1df6d1662f56f2f8f400a6","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"6bf71f7140c70fa6d25303f1640b9f018e6bbbed938ec820f22a11f8cfac2b7c","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"69f734b351cac29447cd52d35c379f737cd2158594d58bb402bda9fe836a56d4","detail":{"divided_from":"body","block":26,"kind":"p"},"prev":"genesis","hash":"6bf71f7140c70fa6d25303f1640b9f018e6bbbed938ec820f22a11f8cfac2b7c"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d26"},{"id":"d27","kind":"p","type":null,"order":27,"text":"**Cloudflare Workers** — Built-in rate limiting is available via the Rate Limiting Ruleset, which can trigger on IP, cookie, header, or JA3 fingerprint. It supports fixed window and sliding window. When triggered, it can block, challenge, or log. The threshold and window are configurable per rule.","status":"active","vx_hash":"733e263199a1a8bd6c8474ad0228ac23bf5c803a88537daaffab206887396be4","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"0b766f43c5db65f226ed0b558aed616ef9e0c81721de623c156af42fa489dba8","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"c74312f995a7a945931c4259e993ba41e77b14fbb8a11fd32b76b9fd2c364ea9","detail":{"divided_from":"body","block":27,"kind":"p"},"prev":"genesis","hash":"0b766f43c5db65f226ed0b558aed616ef9e0c81721de623c156af42fa489dba8"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d27"},{"id":"d28","kind":"p","type":null,"order":28,"text":"**Redis as a rate limit store** — Redis `INCR` with `EXPIRE` is the standard backend for fixed-window counters. Redis Lua scripts atomically check-and-decrement for token bucket. Redis is the right choice because it is fast, has atomic operations, and supports TTL-based expiration of windows automatically.","status":"active","vx_hash":"637211148061f35a899dcfc6fb959e3ab22d230811f8adc8abb29e78e3d630c0","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"684c2675ba3bc3d4d144a1ee1630e5369c3b56e49a24dcd309745139b73f6524","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"0a37261396e4c3e6ee051cff50d34ce4b74d0ee3852b06afc721e23f2a995cb2","detail":{"divided_from":"body","block":28,"kind":"p"},"prev":"genesis","hash":"684c2675ba3bc3d4d144a1ee1630e5369c3b56e49a24dcd309745139b73f6524"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d28"},{"id":"d29","kind":"h","type":null,"order":29,"text":"## Common Mistakes","status":"active","vx_hash":"31db8aec6e6ad920cff46ff10367b45e074f9f739491a24aa9d7650f85442c68","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"634e73819b5cad7809613c7449dbf2f7029bae28d88be13471bbfcb23fbcc33b","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"4e22ff0650f89ac59711e7d297d6068e6b0e8cd8e48fdd7a716f26d37acb2d34","detail":{"divided_from":"body","block":29,"kind":"h"},"prev":"genesis","hash":"634e73819b5cad7809613c7449dbf2f7029bae28d88be13471bbfcb23fbcc33b"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d29"},{"id":"d30","kind":"p","type":null,"order":30,"text":"**Mistake 1: No rate limit at all.** Every public API without rate limits is a denial-of-service attack waiting to happen. It does not matter if you are small. A single `curl` loop in a shell script can overwhelm a naive endpoint.","status":"active","vx_hash":"7efe55421a44f4e0f37fa85c886ef5e49abda1bd920948ae33605f7cb740e2f5","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"3b0a78fca3ed3b07c34eeb4d2252c6831a17728f8c90ba3bd1f61abd12caf32e","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"52765960150d775e3701b5fab86b183512c2ece81f5f02c8c1a3d3160075eb0a","detail":{"divided_from":"body","block":30,"kind":"p"},"prev":"genesis","hash":"3b0a78fca3ed3b07c34eeb4d2252c6831a17728f8c90ba3bd1f61abd12caf32e"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d30"},{"id":"d31","kind":"p","type":null,"order":31,"text":"**Mistake 2: Only rate limiting by IP.** IP-based limits are trivial to bypass. Residential proxies rotate IPs. NAT means multiple legitimate users share an IP. Rate limits must be tied to identity, not just network location.","status":"active","vx_hash":"558ee57ec3f2aa1fdf5b67f1ffad724497239d3b0cb59cc06f6d760273590b1c","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"d2853a529c24a9b57f0392826385b7cf978a17fced9b8e02d4b7750f86b7b561","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"8992f58e0b44fb54877fa4b81a34b52173a46077a91dfd8bec7a7b3551d2b763","detail":{"divided_from":"body","block":31,"kind":"p"},"prev":"genesis","hash":"d2853a529c24a9b57f0392826385b7cf978a17fced9b8e02d4b7750f86b7b561"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d31"},{"id":"d32","kind":"p","type":null,"order":32,"text":"**Mistake 3: Returning 403 instead of 429.** A 403 says \"you are forbidden forever.\" A 429 says \"you are temporarily blocked, try again.\" Clients treat these differently. Using 403 for rate limit exhaustion breaks retry logic.","status":"active","vx_hash":"76ae0fbffabebbc5930f155f5677a48f6db45c99af372f4d514bda9df00a4666","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"b8c20a438e4b604fc2936b9dff6de0c5e815a770ceef29f655f7c028fc469298","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"ee81674fb60ecf0a5d836fb7c152439686d16c37e3ba17e4c56c289aecef5891","detail":{"divided_from":"body","block":32,"kind":"p"},"prev":"genesis","hash":"b8c20a438e4b604fc2936b9dff6de0c5e815a770ceef29f655f7c028fc469298"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d32"},{"id":"d33","kind":"p","type":null,"order":33,"text":"**Mistake 4: Missing `Retry-After` on 429.** If the client does not know when to retry, it will guess. Guessing means retry storms, thundering herds, and cascading failures. The `Retry-After` header is mandatory in the contract.","status":"active","vx_hash":"dee26153e30fb302523559b2bb1a4b3a7acae0a8fe7c53b44ae728ad4f439ed4","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"251d18e487563e514d39703080795032d6e3962a2898041e81e094c9ba5e8783","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"e7c22812320b25c6f7b305f909d1e9d05382c58ebc2bc9f6779acbfe757c62b4","detail":{"divided_from":"body","block":33,"kind":"p"},"prev":"genesis","hash":"251d18e487563e514d39703080795032d6e3962a2898041e81e094c9ba5e8783"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d33"},{"id":"d34","kind":"p","type":null,"order":34,"text":"**Mistake 5: Not documenting the limits.** A rate limit that is not documented is a landmine. Developers discover it in production when their integration breaks. Document the limit, the window, the headers, and the error format in the API reference.","status":"active","vx_hash":"9339c26c1e4f3b12c398bd8db062966fe115ad59818840a132832b81b9bc4605","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"73d4c4394282c464b60f5173b0cd95fccacbcb45422184c5eaaae58bd185d081","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"ca701873272a0fe4e3188b6272a7db0202bc5200f888a9ab64704d2cc4268c54","detail":{"divided_from":"body","block":34,"kind":"p"},"prev":"genesis","hash":"73d4c4394282c464b60f5173b0cd95fccacbcb45422184c5eaaae58bd185d081"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d34"},{"id":"d35","kind":"p","type":null,"order":35,"text":"**Mistake 6: One global limit for all endpoints.** A search endpoint costs 100x more than a metadata endpoint. They should not share the same bucket. GitHub and OpenAI both use per-endpoint or per-resource limits for this reason.","status":"active","vx_hash":"ff91eeec2595a84f791cf31d58488ecb3674935b12e29800a9e57cd1d1f5a717","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"f13c1d412f5a91e9285ab69e936d853e67ecae3c408d0e425b47f308c045848e","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"c3d0868eca4e269a27d516a3e732cc5ab3bd3ece6ace1edf2c32f9efa2dedaec","detail":{"divided_from":"body","block":35,"kind":"p"},"prev":"genesis","hash":"f13c1d412f5a91e9285ab69e936d853e67ecae3c408d0e425b47f308c045848e"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d35"},{"id":"d36","kind":"p","type":null,"order":36,"text":"**Mistake 7: Counting requests but not counting cost.** A GraphQL query that returns 10,000 nested objects is not one request. It is one expensive request. Advanced rate limiting weights requests by computational cost, not just count.","status":"active","vx_hash":"6ef98c7bb4036c2867f4da30d2a17799a8b1ea5cb1e6b0b0cbd3da9014ab419d","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"dee3bb3d268b62547d6441182abad1a9c04dd7f137b97a1581f547d76bb4ff06","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"a3fd1f051de32117a6352db630cbfea67e4d6d88850b171c7384869e4e6c7435","detail":{"divided_from":"body","block":36,"kind":"p"},"prev":"genesis","hash":"dee3bb3d268b62547d6441182abad1a9c04dd7f137b97a1581f547d76bb4ff06"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d36"},{"id":"d37","kind":"h","type":null,"order":37,"text":"## Connection to OIP","status":"active","vx_hash":"196ad61a8ca22f78f9b7a6120078fb7666a8e5a05790fbae4d37926472ff98cc","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"3a99d9141ecd3194873f39cfceb961df6a75847400900910b8f7ac0ebf21c7ff","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"c9807008f0135b4507b1ebcb8c74e6923470ad5c384b337838f1ffbe3dcb9cee","detail":{"divided_from":"body","block":37,"kind":"h"},"prev":"genesis","hash":"3a99d9141ecd3194873f39cfceb961df6a75847400900910b8f7ac0ebf21c7ff"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d37"},{"id":"d38","kind":"p","type":null,"order":38,"text":"Rate limiting is not an incidental feature. It is a structural requirement of any open, deterministic, auditable system. The OIP philosophy demands that every interaction have a visible contract, that every boundary be explicit, and that every enforcement be inspectable.","status":"active","vx_hash":"9664c0ce519813fe54926a0a80c6ff291b09e8e57f4390799d4df317ceac3dd2","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"151816d3866387189c821eb18ea81a88646fe95a1b019f4db475ae0942414d27","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"af424d1384b3fc6159191e88a8721f1207cc5c0ffd4003e0d847cc4521caffd2","detail":{"divided_from":"body","block":38,"kind":"p"},"prev":"genesis","hash":"151816d3866387189c821eb18ea81a88646fe95a1b019f4db475ae0942414d27"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d38"},{"id":"d39","kind":"p","type":null,"order":39,"text":"Rate limiting embodies all three.","status":"active","vx_hash":"d642ba3d28d11b211a630a3563d3ca1c359b540017c1dd195966b26b8567a5ba","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"da064ed696416673859c6dc6a07e005fab549008596358371eabc345cbcb7680","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"4a4a59a3bab23d85a9fbcf2d697f765da17847bfbd48ab042b4ef980e554ef32","detail":{"divided_from":"body","block":39,"kind":"p"},"prev":"genesis","hash":"da064ed696416673859c6dc6a07e005fab549008596358371eabc345cbcb7680"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d39"},{"id":"d40","kind":"p","type":null,"order":40,"text":"**Open:** The limit is public. The headers are public. The documentation is public. There are no hidden quotas or backroom deals. Every participant knows the rules before they play.","status":"active","vx_hash":"257871c30b771e3014b83f1686c566e25e0cf5028f522fb5cb4defecd0883f93","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"42c492d2e6cc6c6a3e3c1c8e9cb643960ac0804c313d2e7953dc93d265f5212c","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"e3c9affcd3abe89790d17f7dc7e990d7c0bebae5fe6be209cbd88fef06d02282","detail":{"divided_from":"body","block":40,"kind":"p"},"prev":"genesis","hash":"42c492d2e6cc6c6a3e3c1c8e9cb643960ac0804c313d2e7953dc93d265f5212c"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d40"},{"id":"d41","kind":"p","type":null,"order":41,"text":"**Deterministic:** The same identifier, at the same time, with the same budget, produces the same result. The algorithm is specified. The headers are standardized. There is no discretion, no favoritism, no \"it depends on how the server feels.\"","status":"active","vx_hash":"a9dfcdb2ff9fc76727f0224fd06778e51235b2cf41b41851faf1613880563416","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"9e77981b523eafa79751539598b5c317f776a43e3fb6890c05642fecc9eaccf8","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"9655daf1faad3eaa3308450d5b97d99a3640044228752d51990d755c473bd620","detail":{"divided_from":"body","block":41,"kind":"p"},"prev":"genesis","hash":"9e77981b523eafa79751539598b5c317f776a43e3fb6890c05642fecc9eaccf8"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d41"},{"id":"d42","kind":"p","type":null,"order":42,"text":"**Auditable:** Every rate limit event can be logged. Every 429 can be recorded. The ledger of who was limited, when, and why, is a permanent record. It can be replayed. It can be audited. It can be disputed.","status":"active","vx_hash":"b4502226bb6f0451004d9d25659c6d99318d4e6e2d770ba47cd7fb6d0342442a","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"f5fe155b760fde9759bd2cc09b91fb202b9b2358610f9e6bca46ee41f0359a42","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"df75f348e8327b22bb4749898e5320a091bc8ca80a71da239ace308f135fc7ed","detail":{"divided_from":"body","block":42,"kind":"p"},"prev":"genesis","hash":"f5fe155b760fde9759bd2cc09b91fb202b9b2358610f9e6bca46ee41f0359a42"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d42"},{"id":"d43","kind":"p","type":null,"order":43,"text":"A system without rate limits cannot be audited because it has no enforced boundary. A system with hidden limits cannot be open because the contract is secret. Rate limiting, done correctly, is the intersection of operational necessity and architectural integrity. It is what makes a shared system possible.","status":"active","vx_hash":"4712b18481bed661689b4d41fc8edcbf0129c73484f4ede60d95422fb850e0e4","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"e00dea1844df1007acfeaf74a9f09732fdaa7a517eaed30f7bc8bad22e85857c","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"08feb8bec25447c6337b81faa3064be6ead1fd75605a5c926289dfd5defbded8","detail":{"divided_from":"body","block":43,"kind":"p"},"prev":"genesis","hash":"e00dea1844df1007acfeaf74a9f09732fdaa7a517eaed30f7bc8bad22e85857c"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d43"},{"id":"d44","kind":"h","type":null,"order":44,"text":"## Connection to the Grain Philosophy","status":"active","vx_hash":"9efc926544bc11e2a22fd9fe50cc7370b6a5049541a6bf4f1fd4b057b55525d7","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"2d9119000adbe9814e5103f5de3319a1f65d8f38982b0fbcfde36151ff293f84","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"7cf89d4e08a558ae1043f7e5a55684291a237ab3124dda10f5738e251110391b","detail":{"divided_from":"body","block":44,"kind":"h"},"prev":"genesis","hash":"2d9119000adbe9814e5103f5de3319a1f65d8f38982b0fbcfde36151ff293f84"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d44"},{"id":"d45","kind":"p","type":null,"order":45,"text":"This protocol is part of the [Open Inventory Protocol](/a/philosophy) — a living system of self-describing voxels that serves the Grain philosophy. The OIP is the interface. The philosophy is the core.","status":"active","vx_hash":"0cb99589f28cf9ad86539aa87441c71f534654bac8bf3b0f651e688d074108d7","semantic_hash":null,"version_hash":null,"version":1,"sources":[],"falsifiers":[],"tier":null,"backed":null,"transcludes":null,"chain_head":"70a0f4f2c1fbca5fc2918600263ff26db9290e7bed53eb7825dfc45e41230748","chain_length":1,"chain":[{"n":1,"op":"genesis","ts":"2026-07-17T02:36:51.894Z","actor":"owner","text_sha":"72e099fda668b91b17b132af617b99a34a125ed7966556f24982078ba638db82","detail":{"divided_from":"body","block":45,"kind":"p"},"prev":"genesis","hash":"70a0f4f2c1fbca5fc2918600263ff26db9290e7bed53eb7825dfc45e41230748"}],"claim_ids":[],"last_op":{"op":"genesis","actor":"owner","ts":"2026-07-17T02:36:51.894Z"},"consolidated_into":null,"stable_url":"https://miscsubjects.com/i/div/oip-what-is-rate-limiting/d45"}],"voxels":[{"id":"c1","div_id":"claim:c1","kind":"claim","text":"Rate limiting is a mechanism that controls how many requests a client can send to a system within a specific time window. It is a guardrail, not a suggestion. It prevents a single actor from consuming disproportionate resources, destabilizing a service, or drowning out every other user. At its core, rate limiting is the enforcement of a budget: you get N operations per T seconds, and the system en","tier":"system","standing":null,"weight":0.8,"status":"active","source_ids":["s1"],"posted_by":null,"who_claims":null,"edges":[{"type":"supported_by","target":"s1","source_type":"adjacent","hash":null}],"content_hash":null,"stable_url":"https://miscsubjects.com/i/claim/oip-what-is-rate-limiting/c1","machine_url":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/claims/c1"},{"id":"c2","div_id":"claim:c2","kind":"claim","text":"Every shared resource faces the same problem: demand exceeds supply. Without rate limiting, a single misconfigured client, a malicious actor, or a viral event can exhaust compute, bandwidth, or connection pools. The service collapses. Everyone loses.","tier":"system","standing":null,"weight":0.8,"status":"active","source_ids":["s1"],"posted_by":null,"who_claims":null,"edges":[{"type":"supported_by","target":"s1","source_type":"adjacent","hash":null}],"content_hash":null,"stable_url":"https://miscsubjects.com/i/claim/oip-what-is-rate-limiting/c2","machine_url":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/claims/c2"},{"id":"c3","div_id":"claim:c3","kind":"claim","text":"Rate limiting is fairness made mechanical. It replaces the chaos of first-come-first-served with an explicit, predictable contract. It tells every client: here is your share, here is the window, and here is what happens when you exceed it. No ambiguity. No exceptions for \"important\" users unless the contract explicitly says so.","tier":"system","standing":null,"weight":0.8,"status":"active","source_ids":["s1"],"posted_by":null,"who_claims":null,"edges":[{"type":"supported_by","target":"s1","source_type":"adjacent","hash":null}],"content_hash":null,"stable_url":"https://miscsubjects.com/i/claim/oip-what-is-rate-limiting/c3","machine_url":"https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/claims/c3"}],"sources":[{"id":"s1","type":"adjacent","url":"https://miscsubjects.com/a/oip-what-is-rate-limiting","title":"What Is Rate Limiting","quote":"Rate limiting is a mechanism that controls how many requests a client can send to a system within a specific time window. It is a guardrail, not a suggestion. It prevents a single actor from consuming","summary":"Primary exposition of What Is Rate Limiting.","claim_ids":["c1","c2","c3"]}],"edges":[{"from":"c1","type":"supported_by","target":"s1","source_type":"adjacent","hash":null},{"from":"c2","type":"supported_by","target":"s1","source_type":"adjacent","hash":null},{"from":"c3","type":"supported_by","target":"s1","source_type":"adjacent","hash":null}],"counts":{"divs":45,"voxels":3,"sources":1,"edges":3},"verification":{"div_mode":true,"divs":45,"all_chains_valid":true,"body_matches_divs":true,"per_div":[{"id":"d1","order":1,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d2","order":2,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d3","order":3,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d4","order":4,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d5","order":5,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d6","order":6,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d7","order":7,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d8","order":8,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d9","order":9,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d10","order":10,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d11","order":11,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d12","order":12,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d13","order":13,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d14","order":14,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d15","order":15,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d16","order":16,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d17","order":17,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d18","order":18,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d19","order":19,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d20","order":20,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d21","order":21,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d22","order":22,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d23","order":23,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d24","order":24,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d25","order":25,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d26","order":26,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d27","order":27,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d28","order":28,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d29","order":29,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d30","order":30,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d31","order":31,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d32","order":32,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d33","order":33,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d34","order":34,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d35","order":35,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d36","order":36,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d37","order":37,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d38","order":38,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d39","order":39,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d40","order":40,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d41","order":41,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d42","order":42,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d43","order":43,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d44","order":44,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]},{"id":"d45","order":45,"status":"active","chain_valid":true,"content_hash_valid":true,"chain_length":1,"breaks":[]}]},"procedure":{"what":"Every article has a human side (/a/oip-what-is-rate-limiting) and a machine side (this endpoint). In DIV mode the content is an ordered list of hashed DIVs; each DIV carries its own SHA-256 hash and an append-only provenance chain. Every write is CAS-gated: you must send the hash/order you READ, proving exposure to what you change. Every successful write returns a clickable human permalink.","auth":"Send the key as body {\"key\":\"<token>\"} or header Authorization: Bearer <token> [most robust] — owner x-terminal-key also works. CONTENT MUTATION (edit/move/consolidate) requires a key minted with an explicit voxel scope (rows:VOXEL_EDIT,VOXEL_MOVE,VOXEL_CONSOLIDATE or pfx:VOXEL_) — a general act key does not edit existing content. Filing a challenge or attestation needs no key at all.","web_runtime":"WEB CHATGPT: open https://miscsubjects.com/api/model-lane first. Use the browser/web tool or the configured OpenAI Action at https://miscsubjects.com/api/openai/actions.json. Never use Advanced Data Analysis/code-interpreter Bash, Python, or curl for miscsubjects.com. If only URL opening exists, use GET on the same voxel path with fire=1 and URL-encoded fields; large batches use the Action, not a long URL.","divide":"POST https://miscsubjects.com/api/protocol/voxel-divide {\"slug\":\"oip-what-is-rate-limiting\",\"key\":\"<token>\"} — atomize the body into DIVs (verbatim, roundtrip-checked, idempotent). act scope suffices; content is unchanged by dividing.","edit":"POST https://miscsubjects.com/api/protocol/voxel-edit {\"slug\":\"oip-what-is-rate-limiting\",\"div_id\":\"d3\",\"expected_hash\":\"<that div's CURRENT vx_hash>\",\"text\":\"<new verbatim text>\",\"actor\":\"<your model name>\",\"key\":\"<voxel-scoped token>\"} — stale hash → 409 hash_stale with the current text+hash.","move":"POST https://miscsubjects.com/api/protocol/voxel-move {\"slug\":\"oip-what-is-rate-limiting\",\"div_id\":\"d3\",\"expected_order\":<current order>,\"direction\":\"up|down\",\"key\":\"<voxel-scoped token>\"} — stale order → 409 order_stale with the current layout.","consolidate":"POST https://miscsubjects.com/api/protocol/voxel-consolidate {\"slug\":\"oip-what-is-rate-limiting\",\"div_ids\":[\"d3\",\"d4\"],\"expected_hashes\":[\"<d3 hash>\",\"<d4 hash>\"],\"text\":\"<optional merged text>\",\"actor\":\"<model>\",\"key\":\"<voxel-scoped token>\"}","challenge":"POST https://miscsubjects.com/api/protocol/voxel-challenge {\"slug\":\"oip-what-is-rate-limiting\",\"expected_thread_head\":\"<thread_head from /discourse>\",\"target_div\":\"d3\",\"expected_hash\":\"<d3 hash>\",\"stance\":\"challenge|support|upgrade\",\"body\":\"<steelmanned objection>\",\"actor\":\"<model>\"} — open intake, no key needed. Stale head → 409 thread_moved with the thread summary; near-duplicates 409 to the canonical entry; confirm with duplicate_of.","attest":"POST https://miscsubjects.com/api/protocol/voxel-attest {\"slug\":\"oip-what-is-rate-limiting\",\"outcome\":\"novel_objection|duplicate_confirm|upgrade_proposal|nothing_to_add\",\"content_hash\":\"<the body sha you read>\",\"actor\":\"<model>\"} — the four-outcome close of a keyed read. A norm, not a lock: reading stays free; only an artifact proves reading.","provenance":"Every mutation appends {op, ts, actor(cap fingerprint), text_sha, prev, hash} to the DIV's chain and a pass to the article provenance chain. Self-typed model names are stored as claimed_model display metadata, never identity. Verify: GET /api/articles/oip-what-is-rate-limiting/voxels — chains recomputed from genesis, never trusted.","batch":"POST https://miscsubjects.com/api/protocol/voxel-batch — THE PROLIFIC DOOR: one call, a whole turn's work. Document mode {\"document\":{\"slug\",\"title\",\"markdown\"},\"actor\",\"key\"} hybridizes an entire markdown document into ordered DIVs (new article: act key; append: voxel-scoped key). Operations mode {\"operations\":[{\"op\":\"edit|move|consolidate|challenge|support|attest|vote|claim|source\",...}],\"key\"} runs up to 300 ops with per-op receipts. Append your session's output to the ledger, not the chat. Format precedent: https://miscsubjects.com/a/append-protocol","vote":"POST https://miscsubjects.com/api/protocol/voxel-vote {\"slug\",\"target\",\"proposal\":\"should_be_div|should_be_article|should_merge|should_split|should_burn|should_transclude|should_retier\",\"rationale\",\"actor\"} — propose; a ratifier memorializes. POST https://miscsubjects.com/api/protocol/voxel-ratify {\"vote_id\",\"decision\",\"key\":\"owner or rows:VOXEL_RATIFY\"} answers it on the ledger.","burn":"POST https://miscsubjects.com/api/protocol/voxel-burn {\"ids\":[...]|\"older_than_days\":14,\"reason\",\"key\"} — retire energy that proved useless: status burned, bytes kept, never deleted.","discourse":"GET https://miscsubjects.com/api/articles/oip-what-is-rate-limiting/discourse — every filed objection/support/attestation, OPEN first. Human side renders the same index at /a/oip-what-is-rate-limiting#disc-<id>.","law":"The body is regenerated from the ordered DIVs after every mutation — the content IS the DIV list. Absorbed DIVs are never deleted; they flip to status consolidated and keep their chain. End a write turn by handing the human the link the response gives you."},"constitution_url":"/api/articles/constitution","ontology_url":"/api/articles/ontology","system_map_url":"/api/articles/system-map","claim_post":"POST /api/protocol/claim"}