diff --git a/man/AuditLog.Rd b/man/AuditLog.Rd
index 3ce17ad..1618a48 100644
--- a/man/AuditLog.Rd
+++ b/man/AuditLog.Rd
@@ -17,6 +17,7 @@ This class is used internally to store audit logs for each request.
\item \href{#method-AuditLog-set_response_body}{\code{AuditLog$set_response_body()}}
\item \href{#method-AuditLog-set_event_type}{\code{AuditLog$set_event_type()}}
\item \href{#method-AuditLog-set_study_id}{\code{AuditLog$set_study_id()}}
+\item \href{#method-AuditLog-set_response_code}{\code{AuditLog$set_response_code()}}
\item \href{#method-AuditLog-validate_log}{\code{AuditLog$validate_log()}}
\item \href{#method-AuditLog-persist}{\code{AuditLog$persist()}}
\item \href{#method-AuditLog-clone}{\code{AuditLog$clone()}}
@@ -93,6 +94,15 @@ This class is used internally to store audit logs for each request.
\if{html}{\out{
}}\preformatted{AuditLog$set_study_id(study_id)}\if{html}{\out{
}}
}
+}
+\if{html}{\out{
}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-AuditLog-set_response_code}{}}}
+\subsection{Method \code{set_response_code()}}{
+\subsection{Usage}{
+\if{html}{\out{}}\preformatted{AuditLog$set_response_code(response_code)}\if{html}{\out{
}}
+}
+
}
\if{html}{\out{
}}
\if{html}{\out{}}
diff --git a/man/setup_audit_trail.Rd b/man/setup_audit_trail.Rd
index ac77f3a..d33091e 100644
--- a/man/setup_audit_trail.Rd
+++ b/man/setup_audit_trail.Rd
@@ -4,10 +4,12 @@
\alias{setup_audit_trail}
\title{Set up audit trail}
\usage{
-setup_audit_trail(pr)
+setup_audit_trail(pr, endpoints)
}
\arguments{
\item{pr}{A plumber router for which the audit trail is to be set up.}
+
+\item{endpoints}{A list of regex patterns for which the audit trail should be enabled.}
}
\value{
Returns the updated plumber router with the audit trail hooks.
@@ -23,5 +25,5 @@ The audit trail is only enabled if the AUDIT_LOG_ENABLED environment variable is
}
\examples{
pr <- plumber::plumb("your-api-definition.R") |>
- setup_audit_trail()
+ setup_audit_trail()
}