Ensure compliance with your data governance policies.
API Overview
The RudderStack Event Audit API gives you full access to your event metadata. This data includes event payload schemas, data types, and event payload versions.
This document describes the available calls in the Event Audit API, as well as request parameters and returned object properties.
Authentication
To authenticate with the Event Audit API, you will need your RUDDER_ADMIN_USER and RUDDER_ADMIN_PASSWORD. If you are using the RudderStack-managed hosting service, contact support for the necessary credentials.
Use HTTP Basic authentication with your Rudder admin username and password to authenticate requests.
Anyone with these credentials can use the same Event Audit API. In case it is compromised, please restart your data plane with different credentials.
API responses
All successful requests will respond with a 200 HTTP status code. If the authentication fails, you will get a 400 HTTP status code with the appropriate error message.
Base URL
The base URL for all API requests will be your RudderStack data plane URL.
Mandatory path parameter to get metadata for an event model. Obtain the EventID from GET /schemas/event-models.
Response object parameters:
SampledEvents
array
The sample events belonging to the event model.
TotalCount
number
The number of events collected for the event model.
FrequentValues
object
This is a list of all values that frequently appear for each key in the master-schema along with their frequencies. By default, we consider any value that is seen once every hundred samples as a frequent value.
Retrieve a listing of the metadata for a specific schema version.
GET
/schemas/event-version/{VersionID}/metadata
Path parameters
VersionID
required
string
Mandatory path parameter to get metadata for a schema version. Obtain the VersionID from GET /schemas/event-models.
Response object parameters:
SampledEvents
array
The sample events belonging to the given schema version.
TotalCount
number
The number of events collected for the given schema version.
FrequentValues
object
A list of all values that frequently appear for each key in the master-schema along with their frequencies. By default, we consider any value that is seen once every hundred samples as a frequent value.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.