Skip to content

GET   /events/{id}/response-body

Get event response body

Retrieve the response body for a specific event

Authentication Required

Authorization: Bearer {token}   header string

This header is required to access this endpoint

Required Parameters

id   path string

Try it out

Loading...

Output:

Responses

Description

Response body retrieved

{
"body": {},
"contentType": "application/json",
"size": 98
}

References

#/components/schemas/EventResponseBody

type: object
description: The response body content logged for an API event
properties:
body:
type: object
description: The actual response body payload returned by the API
nullable: true
example:
id: 123e4567-e89b-12d3-a456-426614174000
message: Success
contentType:
type: string
description: Content-Type header of the response
example: application/json
size:
type: integer
description: Size of the response body in bytes
example: 98
required:
- body

Route Source Code

Check out the source code for this route entrypoint here: /events/[id]/response-body/route.ts

Or the swagger.yaml spec this documentation was generated from: /events/swagger.yaml