curl --request POST \
--url https://api.example.com/api/v1/ingest/requests \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"requests": [
{
"timestamp": "2023-11-07T05:31:56Z",
"environment": "<string>",
"method": "<string>",
"path": "<string>",
"status_code": 123,
"response_time_ms": 123,
"request_size": 0,
"response_size": 0,
"ip_address": "",
"user_agent": "",
"consumer_id": "",
"consumer_name": "",
"consumer_group": "",
"request_payload": "",
"response_payload": ""
}
]
}
'{
"accepted": 123
}curl --request POST \
--url https://api.example.com/api/v1/ingest/requests \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"requests": [
{
"timestamp": "2023-11-07T05:31:56Z",
"environment": "<string>",
"method": "<string>",
"path": "<string>",
"status_code": 123,
"response_time_ms": 123,
"request_size": 0,
"response_size": 0,
"ip_address": "",
"user_agent": "",
"consumer_id": "",
"consumer_name": "",
"consumer_group": "",
"request_payload": "",
"response_payload": ""
}
]
}
'{
"accepted": 123
}