curl --location --request POST 'https://horus-api.lucaskaiut.com.br/api/logs' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"level": "debug",
"message": "Unexpected exception while processing order",
"context": {
"property1": "string",
"property2": "string"
},
"entity_name": "order",
"entity_id": "123",
"source": "billing-api",
"environment": "production",
"channel": "http",
"request_id": "req-123",
"trace_id": "trace-123",
"user_id": "user-123",
"ip_address": "10.0.0.10",
"user_agent": "Mozilla/5.0",
"exception": {
"class": "RuntimeException",
"message": "Failure",
"file": "/var/www/app/OrderService.php",
"line": 88,
"stack_trace": "stack trace content"
}
}'