Skip to content

OpenAPI Specification

The Adversarial API is described by an OpenAPI 3.1 specification served live from the API itself:

https://api.adversarial.com/openapi.json

The spec always reflects the current production API — the API Reference on this site is generated from the same document, so the two stay in sync as new endpoints are released.

Save the spec to a local file:

Terminal window
curl -O https://api.adversarial.com/openapi.json
  • Import into an API client — Postman, Insomnia, Bruno, and similar tools accept the spec URL directly and will populate a full collection of endpoints.
  • Generate client SDKs — point openapi-generator at the spec to produce a typed client in your language of choice.
  • Validate requests and responses — use the schemas to assert request and response shapes in your own tests and tooling.