v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
request-logs

Update Request Log

Update a request log with response data.

This is typically called when a request completes to add the response details. Only the fields provided in the request body will be updated. The log must belong to a machine owned by the authenticated organization.

patch/v1/request-logs/{log_id}

Path parameters

log_idstring uuid required

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

status_codeinteger nullable
response_size_bytesinteger nullable
completed_atstring date-time nullable
duration_msinteger nullable
error_messagestring nullable

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