GET
1 credit
Get Mock Endpoint Details
Retrieve configuration and stats for a mock endpoint
How to Use
- 1. Send a `GET` request to `/v1/mocks/{mock_id}` with your API key. 2. The response contains the mock's configuration and current hit count.
About this Tool
Retrieve the full configuration and usage statistics for a mock endpoint. This includes the configured status code, content type, delay, hit count, and expiration time. Use it to verify a mock is set up correctly or to check how many times it has been hit.
Use Cases
Verification
Confirm a mock is configured with the correct status code, headers, and body
Hit tracking
Check how many times the mock has been triggered
Expiration monitoring
See when the mock will expire
FAQ
Does this endpoint return the actual response body and headers? expand_more
No. It returns metadata (`has_body`, `has_custom_headers`) but not the actual configured body or header values. To see the full response, hit the mock's `endpoint_url` directly.