Skip to main content

api_metrics

Stores metrics for Application Programming Interface (API) calls.

ColumnData TypeNullableIndexedDescription
methodtextNoNoThis is the HTTP method (e.g. GET, POST, PUT, OPTIONS, etc.) https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods of the API.
pathtextNoNoAn API path is a specific part of a URL that defines the route to access a particular resource or perform a specific operation within an API and helps in directing the API request to the appropriate resource or service.
api_keytextNoNoAPI key is a unique identifier used to authenticate and authorize access to an API that functions as a security measure to ensure that only authorized users or applications can interact with the API and access its data or services.
start_timetimestamp with time zoneNoNoStart-time refers to the point in time when an API request is initiated.
end_timetimestamp with time zoneNoNoEnd-time refers to the point in time when an API request is finished.
duration_millisecondsintegerNoNoDuration milliseconds is how many milliseconds the API request took.
environmenttextNoNoApplication environment of the API (e.g. prod, test, dev, etc.)
requesttextNoNoThe body of the HTTP request sent to the API.
responsetextNoNoThe body of the response returned by the API. This is usually JSON data.
status_codeintegerNoNoThe HTTP status code returned by the API.