api_metrics
Stores metrics for Application Programming Interface (API) calls.
| Column | Data Type | Nullable | Indexed | Description |
|---|---|---|---|---|
method | text | No | No | This is the HTTP method (e.g. GET, POST, PUT, OPTIONS, etc.) https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods of the API. Generated through expression: |
path | text | No | No | An 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. Generated through expression: |
api_key | text | No | No | API 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. Generated through expression: |
start_time | timestamp with time zone | No | No | Start-time refers to the point in time when an API request is initiated. Generated through expression: |
end_time | timestamp with time zone | No | No | End-time refers to the point in time when an API request is finished. Generated through expression: |
duration_milliseconds | integer | No | No | Duration milliseconds is how many milliseconds the API request took. Generated through expression: |
environment | text | No | No | Application environment of the API (e.g. prod, test, dev, etc.) Generated through expression: |
request | text | No | No | The body of the HTTP request sent to the API. Generated through expression: |
response | text | No | No | The body of the response returned by the API. This is usually JSON data. Generated through expression: |
status_code | integer | No | No | The HTTP status code returned by the API. Generated through expression: |