Alarms
create
alarms.create
Creates a new alarm with destinations.
Risk: write
destinations full type
destinations full type
destinations full type
destinations full type
delete
alarms.delete
Deletes an alarm and all its destinations.
Risk: destructive
list
alarms.list
Returns alarms for the organization.
Risk: read
object[]
Output full type
Output full type
test
alarms.test
Sends a test notification to all configured channels.
Risk: destructive
results full type
results full type
update
alarms.update
Updates an existing alarm and its destinations.
Risk: write
destinations full type
destinations full type
destinations full type
destinations full type
Analytics
compile
analytics.compile
Validate and compile one analytics query without running it, returning the SQL it would run. API key scope: read:data.
Risk: read
filters full type
filters full type
listQueryTypes
analytics.listQueryTypes
List the analytics query types (summary_metrics, top_pages, …), their allowed filters and the date presets.
Risk: read
configs full type
configs full type
listWebsites
analytics.listWebsites
List the websites this API key can query, with their IDs for analytics.query. API key scope: read:data.
Risk: read
websites full type
websites full type
query
analytics.query
Run one analytics report, or a batch of up to 25, for a website, link, uptime monitor or organization, with a date range or preset, filters, granularity, sorting and page/limit pagination. Check each parameter’s success field: one can fail while the others succeed. API key scope: read:data.
Risk: read
scope full type
scope full type
report full type
report full type
data full type
data full type
results full type
results full type
Annotations
create
annotations.create
Creates a new annotation. Requires website update permission.
Risk: write
chartContext full type
chartContext full type
chartContext full type
chartContext full type
delete
annotations.delete
Soft-deletes an annotation. Requires website delete permission.
Risk: destructive
getById
annotations.getById
Returns a single annotation added in Databuddy by id. GitHub markers have no saved copy, so their ids are refused with a bad request. Requires website read permission.
Risk: read
chartContext full type
chartContext full type
githubMarkers
annotations.githubMarkers
Returns how far a website’s GitHub chart markers reach, the production environments its linked repository deploys to, and the website’s choice of environments and releases. Requires website read permission.
Risk: read
environments full type
environments full type
list
annotations.list
Returns a website’s annotations on a chart type, newest first, with the successful production deploys and published releases of its linked GitHub repository from the last 365 days, as far back as GitHub could be read (annotations.githubMarkers says how far). from, to and sources narrow the list; limit keeps the newest. GitHub markers are read-only. Requires website read permission.
Risk: read
chartContext full type
chartContext full type
object[]
Output full type
Output full type
update
annotations.update
Updates an annotation. Members can update their own annotations; owners, admins and API keys can update any.
Risk: write
chartContext full type
chartContext full type
Api Keys
revokeSelf
apiKeys.revokeSelf
Permanently revokes the API key sending the request, so an agent can discard a key it no longer needs or suspects has leaked. Any valid key can call this, whatever its scopes. This cannot be undone. The key that sends the request stops working at once, for every caller.
Risk: destructive
self
apiKeys.self
Returns the API key sending the request: its name, organization, scopes, website access, expiry and rate limit. Never returns the secret. Any valid key can call this, whatever its scopes.
Risk: read
ratelimit full type
ratelimit full type
verify
apiKeys.verify
Validates an API key (from header or body) and optionally checks scopes. Can be used without auth to test a key. Through this plugin the call still needs a configured key; pass the key to check as secret.
Risk: read
object
Output full type
Output full type
Autocomplete
get
autocomplete.get
Returns autocomplete suggestions for analytics filters.
Risk: read
Events
group
events.group
Set traits on an account such as a company or workspace (Basket /group). API key scope: track:events.
Risk: write
identify
events.identify
Link a visitor to your own user ID and set the profile’s traits (Basket /identify). API key scope: track:events.
Risk: write
track
events.track
Record custom events through the Basket API (basket.databuddy.cc/track), one or many in one request. Events that fail validation come back in rejected; the others are stored. API key scope: track:events.
Risk: write
events full type
events full type
rejected full type
rejected full type
Flags
create
flags.create
Creates a new feature flag. Requires feature flags plan and scope update permission.
Risk: write
rules full type
rules full type
variants full type
variants full type
variants full type
variants full type
targetGroups full type
targetGroups full type
delete
flags.delete
Soft-deletes a flag (archives it). Requires scope delete permission.
Risk: destructive
experimentResults
flags.experimentResults
Compares goal conversion across a flag’s variants for visitors the random split assigned, against the control arm, since the versions or their split last changed. With several variants, significance uses Holm’s correction. Boolean flags have no random split and are never significant. Requires website read permission.
Risk: read
goal full type
goal full type
arms full type
arms full type
getById
flags.getById
Returns a single flag by id. Requires scope read permission.
Risk: read
variants full type
variants full type
targetGroups full type
targetGroups full type
getByKey
flags.getByKey
Returns a single active flag by key. Requires scope read permission.
Risk: read
variants full type
variants full type
targetGroups full type
targetGroups full type
list
flags.list
Returns all flags for a website or organization. Requires scope read permission.
Risk: read
object[]
Output full type
Output full type
listChanges
flags.listChanges
Returns a flag’s latest 50 configuration changes, newest first, with who made each one and the flag’s settings before and after. Requires scope read permission.
Risk: read
object[]
Output full type
Output full type
stats
flags.stats
Returns recent feature flag evaluation stats for a website. Requires scope read permission.
Risk: read
object[]
Output full type
Output full type
update
flags.update
Updates an existing flag. Requires scope update permission.
Risk: write
rules full type
rules full type
variants full type
variants full type
variants full type
variants full type
targetGroups full type
targetGroups full type
Funnels
bulkAnalytics
funnels.bulkAnalytics
Returns conversion analytics for several funnels over one period. A funnel that can’t be measured reports why instead of failing the rest. Requires website read permission.
Risk: read
filters full type
filters full type
object
Output full type
Output full type
create
funnels.create
Creates a new funnel. Requires funnels feature and website update permission.
Risk: write
steps full type
steps full type
filters full type
filters full type
steps full type
steps full type
filters full type
filters full type
delete
funnels.delete
Soft-deletes a funnel. Requires website delete permission.
Risk: destructive
getAnalytics
funnels.getAnalytics
Returns funnel conversion analytics. Requires website read permission.
Risk: read
cohort full type
cohort full type
breakdown full type
breakdown full type
filters full type
filters full type
steps_analytics full type
steps_analytics full type
time_series full type
time_series full type
error_insights full type
error_insights full type
segments full type
segments full type
measurement full type
measurement full type
savedDefinition full type
savedDefinition full type
cohort full type
cohort full type
getAnalyticsByLink
funnels.getAnalyticsByLink
Returns funnel analytics for the visitors who arrived through one of the organization’s short links: those whose landing page carried the source, medium and campaign UTMs the link’s destination sets. A link whose destination sets none has no visitors to follow. Requires website read permission.
Risk: read
steps_analytics full type
steps_analytics full type
time_series full type
time_series full type
error_insights full type
error_insights full type
segments full type
segments full type
getAnalyticsByReferrer
funnels.getAnalyticsByReferrer
Returns funnel analytics broken down by referrer. Requires website read permission.
Risk: read
cohort full type
cohort full type
filters full type
filters full type
referrer_analytics full type
referrer_analytics full type
measurement full type
measurement full type
savedDefinition full type
savedDefinition full type
cohort full type
cohort full type
getById
funnels.getById
Returns a single funnel by id; website is resolved from the funnel. Requires website read permission.
Risk: read
steps full type
steps full type
filters full type
filters full type
list
funnels.list
Returns all funnels for a website. Requires website read permission.
Risk: read
object[]
Output full type
Output full type
update
funnels.update
Updates an existing funnel. Requires website update permission.
Risk: write
steps full type
steps full type
filters full type
filters full type
steps full type
steps full type
filters full type
filters full type
Goals
bulkAnalytics
goals.bulkAnalytics
Returns conversion analytics for multiple goals. Requires website read permission.
Risk: read
cohort full type
cohort full type
breakdown full type
breakdown full type
filters full type
filters full type
object
Output full type
Output full type
create
goals.create
Creates a new conversion goal. Requires goals feature and website update permission.
Risk: write
filters full type
filters full type
filters full type
filters full type
delete
goals.delete
Soft-deletes a goal. Requires website delete permission.
Risk: destructive
getAnalytics
goals.getAnalytics
Returns conversion analytics for a single goal. Requires website read permission.
Risk: read
cohort full type
cohort full type
breakdown full type
breakdown full type
filters full type
filters full type
steps_analytics full type
steps_analytics full type
time_series full type
time_series full type
error_insights full type
error_insights full type
segments full type
segments full type
measurement full type
measurement full type
savedDefinition full type
savedDefinition full type
cohort full type
cohort full type
getById
goals.getById
Returns a single goal by id; website is resolved from the goal. Requires website read permission.
Risk: read
filters full type
filters full type
list
goals.list
Returns all goals for a website. Requires website read permission.
Risk: read
object[]
Output full type
Output full type
update
goals.update
Updates an existing goal. Requires website update permission.
Risk: write
filters full type
filters full type
filters full type
filters full type
Link Folders
create
linkFolders.create
Creates a folder used to organize short links. Requires write:links scope.
Risk: write
delete
linkFolders.delete
Deletes a link folder and moves contained links to Unfiled. Requires write:links scope.
Risk: destructive
list
linkFolders.list
Returns folders used to organize short links inside an organization. Requires read:links scope.
Risk: read
object[]
Output full type
Output full type
update
linkFolders.update
Updates a link folder. Requires write:links scope.
Risk: write
Links
clickCounts
links.clickCounts
Returns lifetime clicks and clicks in the last 7 days for up to 100 of the organization’s links in one call. Links that aren’t the organization’s are left out. Requires read:links scope.
Risk: read
object[]
Output full type
Output full type
conversions
links.conversions
For one short link and range: the visitors who arrived on the organization’s website through it, matched on exactly the UTMs its destination sets (a visit carrying any UTM the link leaves unset doesn’t match), and how many of them reached each active goal and each step of the most recently changed funnels. sameUtms lists the organization’s other links to that website with the same UTMs, whose visitors can’t be told apart and are counted here too. For revenue from the same visitors, read revenue_overview filtered by arrived_via_link with this link’s ID. Status untagged means the destination sets no UTMs; elsewhere means it isn’t one of the organization’s websites. Requires read:links scope and website read permission.
Risk: read
object
Output full type
Output full type
create
links.create
Creates a new short link. To file it, pass folderId for an existing folder, or folder ({ name, slug? }) to use the folder with that slug and create it if missing; the slug defaults to one derived from name. Requires write:links scope.
Risk: write
folder full type
folder full type
delete
links.delete
Deletes a link by id. Requires write:links scope.
Risk: destructive
get
links.get
Returns a single link by id; the organization is resolved from the link. Requires read:links scope.
Risk: read
list
links.list
Returns up to the 1000 most recent links for the organization. Optional organizationId defaults to the active organization from the session. Use the paginated endpoint for larger organizations. Requires read:links scope.
Risk: read
object[]
Output full type
Output full type
paginated
links.paginated
Returns a page of links for the organization with server-side search, sort, type filter, and offset pagination. Set includeTotal only when an exact filtered count is needed. Requires read:links scope.
Risk: read
items full type
items full type
update
links.update
Updates an existing link. Requires write:links scope.
Risk: write
Organizations
clearExpiredInvitations
organizations.clearExpiredInvitations
Deletes expired and accepted invitations for an organization.
Risk: write
getBillingContext
organizations.getBillingContext
Returns billing context for the requested website or active organization, with a free-tier fallback.
Risk: read
_debug full type
_debug full type
getEmailNotificationSettings
organizations.getEmailNotificationSettings
Returns email notification settings for an organization.
Risk: read
aiAgents full type
aiAgents full type
billing full type
billing full type
trackingHealth full type
trackingHealth full type
getPendingInvitations
organizations.getPendingInvitations
Returns pending invitations for an organization.
Risk: read
object[]
Output full type
Output full type
getPlanUsage
organizations.getPlanUsage
Returns the organization’s usage against its plan limits: counted resources and projected monthly uptime checks. Null when billing is off.
Risk: read
resources full type
resources full type
uptimeChecks full type
uptimeChecks full type
updateAvatarSeed
organizations.updateAvatarSeed
Updates organization avatar seed. Requires org update permission.
Risk: write
organization full type
organization full type
updateEmailNotificationSettings
organizations.updateEmailNotificationSettings
Updates email notification settings for an organization. Requires org update permission.
Risk: write
settings full type
settings full type
aiAgents full type
aiAgents full type
billing full type
billing full type
trackingHealth full type
trackingHealth full type
Replays
events
replays.events
Returns a page of download URLs for a session’s recording. With allParts, pages run through the whole recording in playback order, with the session metadata on the first page: pass nextCursor as cursor until it is null. Without it, a page covers one part: select partId from parts and pass nextCursor as cursor within that part; metadataOnly returns status without download URLs. Requires website read permission and replay enabled. API key scope: read:data.
Risk: read
parts full type
parts full type
customEvents full type
customEvents full type
session full type
session full type
issues
replays.issues
Groups the last week’s unanswered clicks in processed recordings by page and element, most widespread first. Requires website read permission and replay enabled for the website. API key scope: read:data.
Risk: read
issues full type
issues full type
list
replays.list
Lists recordings by identified-user email, profile id, current traits, recording start time, and behavior. Requires website read permission (read:data for API keys) and replay enabled. Check hasMore and truncated before treating results as exhaustive.
Risk: read
traits full type
traits full type
conversion full type
conversion full type
categories full type
categories full type
events full type
events full type
sessions full type
sessions full type
recorded
replays.recorded
Returns the given session ids that have a processed recording, so other pages can link to the replay. Empty when session replay is off for the website. Requires website read permission. API key scope: read:data.
Risk: read
status
replays.status
Returns a session recording’s parts and how it ended, without download URLs or session metadata, so a viewer can tell when more footage has arrived. Requires website read permission and replay enabled. API key scope: read:data.
Risk: read
parts full type
parts full type
Sql
query
sql.query
Runs one read-only ClickHouse SELECT or WITH query over the selected websites. Pass websiteId or websiteIds. All sites must belong to one organization and the caller needs read permission for each (read:data for API keys). Returns up to limit rows (default 10000, at most 50000); truncated is true when the query had more. Queries stop after 20 seconds, 5 GB read, or a 10 MB result. GET /sql/schema lists the tables and columns.
Risk: read
columns full type
columns full type
schema
sql.schema
Lists the analytics tables and columns POST /sql/query can read, with column types and the counting rules for each table.
Risk: read
tables full type
tables full type
Status Page
addMonitor
statusPage.addMonitor
Adds a monitor to a status page. Requires write:status_pages scope.
Risk: write
any
create
statusPage.create
Creates a status page. Requires write:status_pages scope.
Risk: write
any
createAssetUploadUrl
statusPage.createAssetUploadUrl
Returns a short-lived presigned URL for uploading a status page logo or favicon. Requires write:status_pages scope.
Risk: write
any
createIncident
statusPage.createIncident
Creates a new status page incident. Requires write:status_pages scope. Publishes the incident on the public status page.
Risk: destructive
affectedMonitors full type
affectedMonitors full type
any
customDomain
statusPage.customDomain
Returns the custom domain, the DNS records it needs, and whether each one is in place. Requires read:status_pages scope.
Risk: read
any
delete
statusPage.delete
Deletes a status page. Requires write:status_pages scope.
Risk: destructive
any
deleteIncident
statusPage.deleteIncident
Deletes a status page incident. Requires write:status_pages scope.
Risk: destructive
any
get
statusPage.get
Returns status page details including monitors. Requires read:status_pages scope.
Risk: read
any
getByDomain
statusPage.getByDomain
Get public status page by custom domain.
Risk: read
organization full type
organization full type
statusPage full type
statusPage full type
monitors full type
monitors full type
incidents full type
incidents full type
getBySlug
statusPage.getBySlug
Get public status page.
Risk: read
organization full type
organization full type
statusPage full type
statusPage full type
monitors full type
monitors full type
incidents full type
incidents full type
list
statusPage.list
Lists status pages for an organization. Requires read:status_pages scope.
Risk: read
any
listIncidents
statusPage.listIncidents
Lists incidents for a status page. Requires read:status_pages scope.
Risk: read
any
listPublic
statusPage.listPublic
List public status pages for sitemap generation.
Risk: read
object[]
Output full type
Output full type
removeMonitor
statusPage.removeMonitor
Removes a monitor from a status page. Requires write:status_pages scope.
Risk: write
any
reorderMonitors
statusPage.reorderMonitors
Sets the display order of every monitor on a status page. Requires write:status_pages scope.
Risk: write
any
setCustomDomain
statusPage.setCustomDomain
Sets the hostname a status page should be served on, or removes it when null. The domain serves the page only after verifyCustomDomain reports it active. Requires write:status_pages scope.
Risk: write
any
transfer
statusPage.transfer
Transfers a status page to another organization. Requires write:status_pages scope on source and target.
Risk: destructive
update
statusPage.update
Updates status page details. Requires write:status_pages scope.
Risk: write
any
updateIncident
statusPage.updateIncident
Posts an update to a status page incident. Requires write:status_pages scope. Publishes the update on the public status page.
Risk: destructive
any
updateMonitorSettings
statusPage.updateMonitorSettings
Updates visibility settings for a status page monitor. Requires write:status_pages scope.
Risk: write
any
verifyCustomDomain
statusPage.verifyCustomDomain
Checks the ownership TXT record and connects the custom domain. It goes live once its DNS points at Databuddy; until then the status is connecting. Requires write:status_pages scope.
Risk: write
any
Target Groups
create
targetGroups.create
Creates a new target group. Requires feature flag update permission.
Risk: write
rules full type
rules full type
delete
targetGroups.delete
Soft-deletes a target group. Requires feature flag delete permission.
Risk: destructive
list
targetGroups.list
Returns all target groups for a website. Requires feature flag read permission.
Risk: read
object[]
Output full type
Output full type
update
targetGroups.update
Updates an existing target group. Requires feature flag update permission.
Risk: write
rules full type
rules full type
Tracker
getCurrentVersions
tracker.getCurrentVersions
Returns the current tracker script versions with SRI hashes.
Risk: read
object[]
Output full type
Output full type
listVersions
tracker.listVersions
Returns all tracker script versions.
Risk: read
object[]
Output full type
Output full type
Uptime
createSchedule
uptime.createSchedule
Creates an uptime monitor. Requires write:monitors scope.
Risk: write
alerts full type
alerts full type
alerts full type
alerts full type
deleteSchedule
uptime.deleteSchedule
Deletes an uptime schedule. Requires write:monitors scope.
Risk: destructive
getSchedule
uptime.getSchedule
Returns schedule with BullMQ scheduler status. Requires read:monitors scope.
Risk: read
website full type
website full type
getScheduleByWebsiteId
uptime.getScheduleByWebsiteId
Returns uptime schedule for a website with BullMQ scheduler status. Requires read:monitors scope.
Risk: read
website full type
website full type
listSchedules
uptime.listSchedules
Returns uptime schedules for one organization or all accessible organizations. Requires read:monitors scope.
Risk: read
object[]
Output full type
Output full type
manualCheck
uptime.manualCheck
Triggers an immediate uptime check for a monitor. Monitor must not be paused. Requires write:monitors scope.
Risk: write
pauseSchedule
uptime.pauseSchedule
Pauses an uptime schedule. Requires write:monitors scope.
Risk: write
resumeSchedule
uptime.resumeSchedule
Resumes an uptime schedule. Requires write:monitors scope.
Risk: write
transfer
uptime.transfer
Transfers an uptime monitor to another organization. Requires write:monitors scope on source and target.
Risk: destructive
updateSchedule
uptime.updateSchedule
Updates an uptime schedule. Requires write:monitors scope.
Risk: write
Visitor Data
delete
visitorData.delete
Erases everything stored about one visitor of a website: events, identity, traits, and replays. While earlier deletions are still being applied, answers 429 with Retry-After and records nothing; send the same request again then. Requires visitor data delete permission (delete:visitor_data or manage:websites for API keys).
Risk: destructive
deleteGroup
visitorData.deleteGroup
Erases what was recorded for one group of a website, such as a deleted customer organization: page views, custom events, and outgoing link clicks whose group_<type> property is the key, the group’s traits, and the account labels and review derived from them. The people in the group are not erased; delete each one’s visitor data separately. An event carrying the key is erased whole, including any other group properties it has. While earlier deletions are still being applied, answers 429 with Retry-After and records nothing; send the same request again then. Requires visitor data delete permission (delete:visitor_data or manage:websites for API keys).
Risk: destructive
deletionStatus
visitorData.deletionStatus
Reports whether a visitor data deletion has finished. Completed means the reapply window closed and nothing the request covers remains. Requires visitor data delete permission (delete:visitor_data or manage:websites for API keys).
Risk: read
export
visitorData.export
Exports everything stored about one visitor of a website, for an access or portability request. Requires website delete permission. API key scope: manage:websites.
Risk: read
groupDeletionStatus
visitorData.groupDeletionStatus
Reports whether a group data deletion has finished. Completed means the reapply window closed and nothing the request covers remains. Requires visitor data delete permission (delete:visitor_data or manage:websites for API keys).
Risk: read
Websites
agentInstallProgress
websites.agentInstallProgress
Reads the latest install report a coding agent posted for a website, or for one setup session when setupSession is given. Requires website read permission.
Risk: read
issues full type
issues full type
checkAgentSetup
websites.checkAgentSetup
Requests the website’s homepage and llms.txt as GPTBot and reports whether each request was recorded through @databuddy/sdk/agents or a Vercel log drain, the HTTP status each request got, and which bot protection blocked it. Also reports the homepage status for a regular browser, so a bot rule can be told apart from a site that is down. Requires website read permission.
Risk: read
probes full type
probes full type
checkAiRobots
websites.checkAiRobots
Reads the website’s robots.txt and reports, for each AI crawler user agent, whether it is allowed, partly blocked, or blocked, and since when a blocked crawler has been blocked. Requires website read permission.
Risk: read
create
websites.create
Creates a website. Requires organization create permission.
Risk: write
settings full type
settings full type
delete
websites.delete
Deletes a website. Requires delete permission.
Risk: destructive
exportDownload
websites.exportDownload
Downloads analytics export. Requires read permission.
Risk: read
getById
websites.getById
Returns a website by id. Requires website read permission.
Risk: read
settings full type
settings full type
getPublicSummary
websites.getPublicSummary
Returns minimal public-overview metadata for a website (id, domain, name, status, reporting timezone). Public websites only.
Risk: read
settings full type
settings full type
isTrackingSetup
websites.isTrackingSetup
Checks if tracking is set up for a website. Requires website read permission.
Risk: read
tracking_issue full type
tracking_issue full type
local_install full type
local_install full type
list
websites.list
Returns websites for the active organization.
Risk: read
object[]
Output full type
Output full type
listWithCharts
websites.listWithCharts
Returns websites with chart data and active users.
Risk: read
websites full type
websites full type
chartData full type
chartData full type
setupStatus
websites.setupStatus
What a website sent for each feature over the last 30 days: page views and how many came from identified visitors, Web Vitals, errors, custom events from browsers and from servers, outgoing link clicks, AI crawler reads reported by its server, payments and how many carry a visitor, session recordings, and accounts sent with group(). Requires website read permission.
Risk: read
payments full type
payments full type
togglePublic
websites.togglePublic
Toggles website public/private. Requires update permission. Making a website public lets anyone read its overview analytics.
Risk: destructive
settings full type
settings full type
trackingRequests
websites.trackingRequests
What a website sent over the last 7 days: events counted, and event requests turned away (one request can carry several events), grouped by why: bots, excluded by its own rules, from another domain, outside its IP allowlist, unreadable data with the most common field problem, or other. Requires website read permission.
Risk: read
notCounted full type
notCounted full type
transfer
websites.transfer
Transfers a website to another organization.
Risk: destructive
settings full type
settings full type
transferToOrganization
websites.transferToOrganization
Transfers website to target organization.
Risk: destructive
settings full type
settings full type
update
websites.update
Updates a website. Requires update permission.
Risk: write
settings full type
settings full type
updateSettings
websites.updateSettings
Updates website settings. Requires update permission.
Risk: write
settings full type
settings full type
settings full type
settings full type