API Analytics
Get API Messages logs
Get API Messages logs
Get API Messages logs. Allow filtering.
get/environments/{envId}/apis/{apiId}/logs/messages
Query parameters
pageinteger
The page number for pagination.
perPageinteger
The number of items per page for pagination.
connectorType'entrypoint' | 'endpoint'
Type of connector that emitted the metric
Connector type to filter on. If unset, no filtering is applied.
connectorIdstring
Example:webhook
Connector ID (plugin ID) to filter on. If unset, no filtering is applied.
operation'publish' | 'subscribe'
The operation that emitted the message
Operation to filter on. If unset, no filtering is applied.
frominteger
The timestamp from which the logs will be returned.
tointeger
The timestamp to which the logs will be returned.
Response
Page of Message metrics
Example response
{
"data": [
{
"connectorId": "webhook"
}
]
}