OpenAPI Specification
RunReveal provides an OpenAPI 3.0 specification that can be retrieved in two ways:
Method 1: Using the CLI Command
Generate the OpenAPI specification to a local JSON file using the RunReveal CLI:
Read instructions on how to use the CLI here.
Method 2: HTTP Endpoint (Runtime)
Retrieve the specification dynamically from a running RunReveal instance. The token you use needs Workspace Read permissions:
The OpenAPI specification enables easier integration with RunReveal and more reliable API usage:
- API Documentation: Import into Swagger UI, Postman, or similar tools
- Client Generation: Use with OpenAPI generators for various languages
- API Testing: Validate requests and responses against the schema
- Integration: Understand available endpoints and authentication requirements
Authentication
When accessing via HTTP endpoint, include your RunReveal API token in the Authorization header as shown in the examples above.