API · Logs
Retrieve Log
Retrieve a log with its request and response details (requires full access). Secrets are redacted and bodies are truncated at 64 KiB.
GET
/logs/{id}Full accessRequest parameters
| Parameter | Type | Description |
|---|---|---|
idpath · required | string | Opaque resource id. |
Request example
Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.
bash
curl -X GET "$OPENSEND_BASE_URL/logs/YOUR_id" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Response
200 · application/json. Example IDs stand for IDs returned by your installation.
json
{
"object": "log",
"id": "YOUR_ID",
"created_at": "example",
"endpoint": "example",
"method": "example",
"response_status": 0,
"user_agent": "example",
"request_body": "example",
"response_body": "example"
}Behavior and errors
Bodies are truncated at 64 KiB. Secret headers and sensitive token responses are redacted. Missing stored bodies return null.
Use a full-access credential. Resource IDs belong to your team; an unknown or foreign resource returns 404. See authentication, errors, rate limits, and compatibility for the shared contract.