Jump to
Ctrl
+
/

Submit metrics

POST
/api/v1/metrics

All requests coming from your clients you can send to us with this endpoint, preferrably in a batch so that we can aggregate, analyze and show in the doxify API metrics graphics. Create metrics based on them.

Request Body Schema application/json

data array Items (object) Required
http_route string Required

The HTTP route that was accessed.

http_request_method string Required

The HTTP method used for the request.

http_response_status_code integer Required

The HTTP status code returned by the server.

network_protocol_name string Required

The name of the network protocol used.

network_protocol_version string Required

The version of the network protocol used.

server_address string Required

The host domain or ip address that was accessed.

server_port integer Required

The port number on the server that was accessed.

url_scheme string Required

The URL scheme used for the request.

timestamp integer Required

The unix timestamp when the request was created.

http_bag object Optional

A nested object containing additional HTTP-related metadata.

api_key string Optional

This data is optional and it's used to filter results within the API Metrics dashboard.

email string Optional

This data is optional and it's used to filter results within the API Metrics dashboard.

user_agent string Optional

This data is optional and it's used to filter results within the API Metrics dashboard.

ip string Optional

This data is optional and it's used to filter results within the API Metrics dashboard.

Language
URL