Skip to main content

OpenAPI Specification

8.1 OpenAPI 3.0 Overview

The OTR REST API conforms to the OpenAPI 3.0 specification. OpenAPI is a standardized API description format that enables:
  • Automatic client SDK generation (TypeScript, Python, Go, and more)
  • Interactive API documentation
  • Automated API testing
  • Import into tools such as Postman

8.2 OTR API Specification

8.3 Generating SDKs from the OpenAPI Spec

TypeScript

Python

8.4 Importing into Postman

  1. Open Postman and go to Import, then select the OpenAPI file
  2. Postman automatically creates a request collection
  3. Test each endpoint directly from the collection

Next chapter: Agent Integration Patterns — How AI agents integrate OTR trust queries into their decision-making