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
- Open Postman and go to Import, then select the OpenAPI file
- Postman automatically creates a request collection
- Test each endpoint directly from the collection
Next chapter: Agent Integration Patterns — How AI agents integrate OTR trust queries into their decision-making