Logs
Ingest Client Logs
Accept a batch of renderer log events.
Accept a batch of renderer log events.
X-API-Key<token>
Use X-API-Key: .
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/octet-stream
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/logs" \ -H "Content-Type: application/json" \ -d '{ "undefined": [ { "event": { "level": "debug", "event": "string" } } ] }'"string"{ "cause": { "code": "api/invalid-json", "detail": "string" }, "message": "The request body is not valid JSON"}{ "cause": { "code": "logs/invalid-origin", "detail": "Send logs from the app." }, "message": "Only same-site JSON diagnostics are accepted"}{ "cause": { "code": "api/unsupported-media-type", "detail": "GET requests cannot have a content type header" }, "message": "Unsupported Media Type"}{ "cause": { "code": "logs/rate-limited", "detail": "More than 500 events in 60s for this app instance." }, "message": "Too many log events"}