v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
request-logs

Create Request Log

Create a new request log.

The machine must exist and belong to the authenticated organization. This is typically called when a request is initiated.

post/v1/request-logs

Headers

Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000

Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.

Request body

request_idstring required
methodstring required
pathstring required
status_codeinteger nullable
request_size_bytesinteger nullable
response_size_bytesinteger nullable
duration_msinteger nullable
error_messagestring nullable
machine_idstring uuid required

Response

Successful Response

request_idstring required
methodstring required
pathstring required
status_codeinteger nullable
request_size_bytesinteger nullable
response_size_bytesinteger nullable
duration_msinteger nullable
error_messagestring nullable
idstring uuid required
machine_idstring uuid required
organization_idstring nullable
created_atstring date-time required
completed_atstring date-time nullable required