Get a single request
GET/v2/endpoints/:endpoint/requests/:requestId
Retrieves complete details for a specific request by its unique identifier. This endpoint always returns the verbose format with full request and response payloads.
Purpose
Use this endpoint to:
- Inspect the full details of a specific request
- Debug why a particular request succeeded or failed
- View the exact headers and body sent by the client
- Examine the response that Beeceptor returned
- Analyze proxy/callout details if the request was forwarded
Response Structure
The response includes all available information about the request:
Core Fields:
id: Unique request identifierdate: ISO 8601 timestamp when request was receivedmethod: HTTP method (GET, POST, PUT, DELETE, etc.)path: Full request path including query parametersstatus: HTTP response status code returnedtimeTaken: Processing time in milliseconds
Rule Matching:
rule.matched: Boolean indicating if a mock rule matchedrule.ruleId: ID of the matched rule (if any)rule.weightedResponse: Name of selected response (for weighted rules)
Request Details:
request.body: Raw request body contentrequest.headers: Object containing all request headersrequest.httpVersion: HTTP version used (e.g., "HTTP/1.1", "HTTP/2")request.isMultipart: Boolean for multipart/form-data requestsrequest.multipartData: Array of file/field metadata (for multipart requests)request.redacted: Boolean indicating if sensitive data was masked
Response Details:
response.body: Raw response body contentresponse.headers: Object containing all response headersresponse.httpVersion: HTTP version usedresponse.blob: Boolean if response was served from blob storageresponse.blobPath: Path to blob file (if blob response)response.redacted: Boolean indicating if sensitive data was masked
Callout Details (if request was proxied):
callout.url: Target URL for the calloutcallout.method: HTTP method used for calloutcallout.behavior: Sync or async calloutcallout.delay: Artificial delay applied (if any)callout.targetRequest: Headers and body sent to upstreamcallout.targetResponse: Headers and body received from upstream
gRPC Requests: For gRPC requests, the structure differs slightly:
request.messages: Array of gRPC request messages with body, headers, timestampresponse.messages: Array of gRPC response messages with body, timestamp
Use Cases
- Debugging Integration Issues: Examine exact payloads when API calls fail
- Webhook Verification: Confirm webhook payloads match expectations
- Rule Testing: Verify that the correct rule matched a request
- Proxy Analysis: Inspect both client and upstream communications
- Support Requests: Share specific request details when reporting issues
Request
Responses
- 200
- 401
- 404
Request details (verbose format with full details)
Unauthenticated - API key is missing or invalid.
Not Found - The requested resource does not exist.