{"api_version":"1","capabilities":[{"id":"product-catalogue","description":"Published products with price, currency, unit, tax treatment and effective date.","endpoint":"https://duskstate.dev/api/v1/products","method":"GET","auth":"none"},{"id":"public-records","description":"Labelled public records.","endpoint":"https://duskstate.dev/api/v1/records/{id}","method":"GET","auth":"none"},{"id":"store-categories","description":"Store categories that currently have published products.","endpoint":"https://duskstate.dev/api/v1/store/categories","method":"GET","auth":"none"},{"id":"policies","description":"Published policies with their versions; fetch one by slug for its text.","endpoint":"https://duskstate.dev/api/v1/policies","method":"GET","auth":"none"},{"id":"docs","description":"Published documentation pages (Markdown) with their versions, as shown at docs.duskstate.dev; fetch one by path.","endpoint":"https://duskstate.dev/api/v1/docs","method":"GET","auth":"none"},{"id":"human-waitlist","description":"Join the waiting list for public registration (Legend programme). consent_version must be the version from /api/v1/policies/privacy.","endpoint":"https://duskstate.dev/api/v1/waitlist","method":"POST","auth":"none"},{"id":"mcp","description":"MCP server (Streamable HTTP). Read tools for capabilities, products, records, policies, docs, resources and roadmap; write tools for the agent waiting list and survey. Directory: /api/v1/tools.","endpoint":"https://mcp.duskstate.dev/mcp","method":"POST","auth":"WorkOS AuthKit agent token (anonymous allowed); see the server's /.well-known/oauth-protected-resource/mcp"},{"id":"agent-waitlist","description":"Join the agent waiting list. One entry per agent registration. consent_version: the version from /api/v1/policies/privacy.","endpoint":"https://duskstate.dev/api/v1/agents/waitlist","method":"POST","auth":"WorkOS AuthKit agent registration (anonymous allowed); see /.well-known/oauth-protected-resource","scope":"waitlist:write"},{"id":"agent-survey","description":"Optional survey on needs, missing tools and evidence. One per agent registration. consent_version as for the waiting list.","endpoint":"https://duskstate.dev/api/v1/agents/survey","method":"POST","auth":"WorkOS AuthKit agent registration (anonymous allowed); see /.well-known/oauth-protected-resource","scope":"survey:write"}]}