{"openapi":"3.1.0","info":{"title":"Content's Not Dead","version":"1.0.0","description":"An open-source, themeable content platform monetized with Stripe subscriptions and per-content Machine Payments Protocol (MPP) payments.","x-guidance":"Paid content is delivered as markdown by GET /api/content/{id} for $0.50 per item over MPP. Call it without credentials to receive an HTTP 402 with a \"Payment\" WWW-Authenticate challenge, pay it with a Stripe Shared Payment Token or a stablecoin transfer on Tempo testnet (chainId 42431, pathUSD), and retry with the credential in the Authorization header. Failed payments return application/problem+json with a hint and a \"charged\" field; see https://api.contentsnotdead.com/.well-known/mpp.md#troubleshooting. Browse ids for free at GET /agents; each item's metadata and teaser are free at GET /agents/{id}. Humans can subscribe instead at https://www.contentsnotdead.com/subscribe.","contact":{"email":"spysz@stripe.com"},"license":{"name":"MIT","identifier":"MIT"}},"servers":[{"url":"https://api.contentsnotdead.com","description":"Production"}],"x-service-info":{"categories":["content","publishing"],"docs":{"homepage":"https://www.contentsnotdead.com","llms":"https://api.contentsnotdead.com/llms.txt","apiReference":"https://www.contentsnotdead.com/docs"}},"components":{"securitySchemes":{"mpp":{"type":"http","scheme":"Payment","description":"MPP payment credential. Obtained by paying the WWW-Authenticate challenge returned with HTTP 402."}}},"paths":{"/api/content/{id}":{"get":{"operationId":"getPaidContent","summary":"Full content item (paid)","description":"Returns the complete markdown body of a content item. Requires an MPP payment credential, or a session already entitled to the item's tier.","security":[{"mpp":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"Content item id, as listed in /agents or /.well-known/mpp.json.","schema":{"type":"string","enum":["agentic-ski-shopping","making-agents-pay","a-quiet-machine"]},"example":"agentic-ski-shopping"}],"responses":{"200":{"description":"Full content item as markdown.","content":{"text/markdown":{"schema":{"type":"string","description":"Markdown document."}}}},"402":{"description":"Payment required, or the submitted payment was rejected. Carries a fresh MPP challenge per accepted method in the WWW-Authenticate header.","headers":{"WWW-Authenticate":{"description":"MPP challenge, using the \"Payment\" scheme.","schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"hint":{"type":"string","description":"What to do next."},"charged":{"type":"string","enum":["no","unlikely","possible"],"description":"Whether this attempt may have moved funds. Unless `no`, check your wallet or statement before paying again."},"acceptedMethods":{"type":"array","items":{"type":"string"}},"docs":{"type":"string","description":"Troubleshooting guide."},"support":{"type":"string","description":"Who to contact when funds may have moved."},"challengeId":{"type":"string"}},"required":["type","title","status"]}}}},"404":{"description":"No content item with that id.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"A payment provider is unreachable, machine payments aren't configured, or the payment service encountered an unexpected server error.","headers":{"Retry-After":{"description":"Seconds to wait before retrying, when transient.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"hint":{"type":"string","description":"What to do next."},"charged":{"type":"string","enum":["no","unlikely","possible"],"description":"Whether this attempt may have moved funds. Unless `no`, check your wallet or statement before paying again."},"acceptedMethods":{"type":"array","items":{"type":"string"}},"docs":{"type":"string","description":"Troubleshooting guide."},"support":{"type":"string","description":"Who to contact when funds may have moved."},"challengeId":{"type":"string"}},"required":["type","title","status"]}}}}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.500000"},"protocols":[{"mpp":{"method":"stripe","intent":"charge","currency":"usd"}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c0000000000000000000000000000000000000","chainId":42431}}]}}},"/agents":{"get":{"operationId":"listContent","summary":"Agent directory of all content (free)","description":"Markdown index of every content item: ids, metadata, teasers, and the endpoints to pay for full access. Never includes paid bodies.","security":[],"responses":{"200":{"description":"Markdown directory.","content":{"text/markdown":{"schema":{"type":"string","description":"Markdown document."}}}}}}},"/agents/{id}":{"get":{"operationId":"getContentTeaser","summary":"Metadata and teaser for one item (free)","description":"Metadata plus a short teaser. The full body is delivered by /api/content/{id} after payment.","security":[],"parameters":[{"name":"id","in":"path","required":true,"description":"Content item id, as listed in /agents or /.well-known/mpp.json.","schema":{"type":"string","enum":["agentic-ski-shopping","making-agents-pay","a-quiet-machine"]},"example":"agentic-ski-shopping"}],"responses":{"200":{"description":"Markdown metadata and teaser.","content":{"text/markdown":{"schema":{"type":"string","description":"Markdown document."}}}},"404":{"description":"No content item with that id."}}}},"/llms.txt":{"get":{"operationId":"getLlmsTxt","summary":"LLM-friendly site map (free)","security":[],"responses":{"200":{"description":"llms.txt document.","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/.well-known/mpp.json":{"get":{"operationId":"getMppDiscovery","summary":"MPP discovery document (free)","security":[],"responses":{"200":{"description":"MPP payment and resource metadata.","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}