Get a single rule
GET/v2/endpoints/:endpoint/rules/:ruleId
Retrieves the complete configuration of a specific mock rule by its unique identifier.
Purpose:
- Inspect rule details programmatically
- Verify rule configuration after creation/update
- Debug rule matching behavior
Response Format: Returns the complete rule object with:
id: Unique identifierenabled: Active statusmethod: HTTP method filterdescription: Human-readable labelconditions: Array of matching criteriaaction: Response behavior configuration
Use Cases:
- Retrieve rule details before updating
- Verify rule configuration in automated tests
Request
Responses
- 200
- 401
- 404
Rule details
Unauthenticated - API key is missing or invalid.
Not Found - The requested resource does not exist.