What DocSemantic is
DocSemantic is an AI-native API contract drift detection tool. It reads your API documentation and the contract you declare, extracts enforceable rules from it, and checks live API payloads against those rules — surfacing violations when your real API behavior drifts from what the docs promise. It is positioned as the modern replacement for Optic.
DocSemantic has two product surfaces that wrap the same API: a command-line interface (the docsemantic CLI, which was the original product) and an HTTP API. Anything you can do from the dashboard you can also do from the CLI or by calling the API directly with a dsk_live_ key.
Core terminology: "rules extracted" are the enforceable checks pulled from your documented contract; "payload violations" are live samples that broke a rule; "specs analyzed" is how many contract files have been processed; "compliance" is the percentage of samples that matched the contract.