v2

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-07-21130282381.6 KB
API Analytics

Get a native API connection log for a request

Get a native API connection log for a request

Returns the native API connection log entry for the given request.

get/environments/{envId}/apis/{apiId}/logs/native/{requestId}

Query parameters

frominteger required

The timestamp from which the log will be returned.

tointeger required

The timestamp to which the log will be returned.

Response

Native API connection log for a particular request.

timestampstring date-time

The date (as timestamp) when the connection lifecycle event was recorded.

apiIdstring

The id of the API.

requestIdstring

The id of the request.

transactionIdstring

The id of the transaction.

applicationIdstring

The id of the application.

planIdstring

The id of the plan.

clientIdentifierstring

The client identifier of the request.

subscriptionIdstring

The id of the subscription.

entrypointIdstring

The id of the entrypoint serving the connection.

gatewaystring

The id of the gateway instance handling the connection.

remoteAddressstring

The client remote address.

localAddressstring

The gateway local address.

hoststring

The host targeted by the client.

errorKeystring

The error key when the connection terminated with an error.

errorMessagestring

The error message when the connection terminated with an error.

connectionStatus'CONNECTED' | 'CONNECTION_ERROR' | 'SESSION_ERROR' | 'INTERNAL_ERROR'

The connection lifecycle status of the native API connection.

clientIdstring

The native protocol client id (e.g. Kafka client.id) reported by the connection. Visible in detail view only.

brokerIdstring

The id of the native protocol broker the connection is targeting (e.g. Kafka broker id). Visible in detail view only.

connectionDurationMsinteger

The duration of the connection in milliseconds, when the connection has terminated.

Example response

{
  "timestamp": "2026-01-01 00:00:00+00:00"
}