benmilne.com GraphQL API
Public read-only GraphQL endpoint. Calendar-versioned (2026-06). Relay-style cursor pagination on all list queries. No authentication required.
Endpoint
POST https://benmilne.com/graphql
Introspection
GET https://benmilne.com/graphql returns the SDL schema. Add ?introspection for full JSON introspection.
Example
curl -s -X POST https://benmilne.com/graphql \
-H "Content-Type: application/json" \
-d '{"query":"{ posts(first:3) { edges { node { slug title } } } }"}'
Features
- Relay-style cursor pagination on all list queries
- Typed error models with
extensions.code - Rate limiting with cost budgets (
X-RateLimit-*headers) - Idempotency-Key support on mutations
@deprecatedfields retained for 6+ months