POST
/
v1
/
request-logs
Create Request Log
curl --request POST \
  --url https://api.cyberdesk.io/v1/request-logs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "request_id": "<string>",
  "method": "<string>",
  "path": "<string>",
  "status_code": 349,
  "request_size_bytes": 1,
  "response_size_bytes": 1,
  "duration_ms": 1,
  "error_message": "<string>",
  "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "request_id": "<string>",
  "method": "<string>",
  "path": "<string>",
  "status_code": 349,
  "request_size_bytes": 1,
  "response_size_bytes": 1,
  "duration_ms": 1,
  "error_message": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Schema for creating a request log

Response

201
application/json

Successful Response

Request log response schema