Documentation
Everything you need to build with Mockra.
Getting Started
Guides
Uploading a Schema
How to upload an OpenAPI spec to Mockra — file upload, URL fetch, or raw paste.
Configuring Mock Responses
Control status codes, response bodies, headers, and latency for each mock endpoint.
Stateful Mocks
Configure endpoints that return different responses on successive calls — perfect for multi-step workflows.
Variable Interpolation
Mirror and transform incoming request data in your mock responses using template syntax.
API Keys & CI/CD
Authenticate programmatically with API keys and use ephemeral namespaces for isolated test runs.