Skip to main content

Installation

uv add apitally-serverless

Supported frameworks

Parameters

The following parameters apply for all integrations.
ParameterDescriptionTypeDefault
enabledWhether to enable the Apitally integration.boolTrue
log_request_headersWhether to include request headers in the logs. Default masking for common sensitive headers (e.g. Authorization) applies.boolFalse
log_request_bodyWhether to include the request body in the logs. Only JSON and text are supported, up to 10 KB.boolFalse
log_response_headersWhether to include response headers in the logs.boolTrue
log_response_bodyWhether to include the response body in the logs. Only JSON and text are supported, up to 10 KB.boolFalse
mask_headersList of regular expressions for matching headers to mask. These are in addition to the default masking patterns.list[str][]
mask_body_fieldsList of regular expressions for matching request/response body fields to mask. These are in addition to the default masking patterns.list[str][]
exclude_pathsList of regular expressions for matching paths to exclude from logging.list[str][]