Request route, this functionality is primarily for internal use in the Arkyn Logs system, intended to record the details of an HTTP response.bash
POST /response
Authorization header of the request. The token must be obtained through the user authentication route.bash
Authorization: Bearer <your-token-here>
Response record in the database. The route receives the details of an HTTP response, such as headers and body, and stores them to be associated with an HttpTraffic or CoreLog.headers | json | JSON object with the response headers. | Yes |
| body | json | JSON object with the response body. | No |json
{"headers": {"Content-Type": "application/json","X-Request-Id": "xyz-789"},"body": {"status": "success","requestId": "request-abc-123"}}
201 Createdjson
{"id": "j1k2l3m4-n5o6-7890-1234-567890abcdef","headers": {"Content-Type": "application/json","X-Request-Id": "xyz-789"},"body": {"status": "success","requestId": "request-abc-123"},"createdAt": "2025-07-10T16:00:05.000Z"}
400 Bad Request
headers).401 Unauthorized
500 Internal Server Error