Skip to content

// DOCUMENTATION

Cloud mock runtime

Execute enabled operation mocks by method and normalized path with workspace API-key authentication.

Operation matching

Call /api/public/v1/mock/{workspaceId}/{path} with the same HTTP method as the operation. Copy the workspace base URL from the dashboard or Integrations, then append the endpoint path. The workspace ID (public ws_ ID or UUID) must match the Bearer key; a mismatch returns HTTP 403 before usage is charged. Template path parameters match any non-empty segment; query parameters do not affect operation matching.

GET /users/{id}
→ GET /api/public/v1/mock/ws_0123456789abcdef01234567/users/123

Variant selection

X-Rest-Test-Mock has precedence over __mock. Without a name, REST Test uses the default enabled mock and then the first enabled mock. Missing configuration returns mock_not_found.

Runtime safety

The runtime caps delay and body sizes, strips hop-by-hop response headers, does not log Authorization or complete request bodies, and never executes user code.

// GET STARTED

Bring your API workflow into one workspace.

Start with an OpenAPI or Swagger JSON definition and keep the workflow together.

Start for free