Documentation Index
Fetch the complete documentation index at: https://mintlify.com/plausible/analytics/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/sites/:site_id
Retrieves information about a specific site. Thesite_id parameter can be either the current domain or the previous domain (if the domain was changed).
Authentication
Requires a valid API key with either:sites:read:*scope (read-only access)sites:provision:*scope (full access)
Path Parameters
The domain of the site to retrieve. Can be the current domain or the previous domain if it was changed.Examples:
example.com, blog.example.comResponse
The current domain of the site.
The timezone configured for the site.
List of allowed custom event properties for this site. These are the properties that can be attached to custom events.
The tracker script configuration for the site.
Notes
- You must have at least viewer-level access to the site to retrieve its information
- If the site’s domain was changed, you can use either the old or new domain to access it
- Team-scoped API keys will only return sites belonging to the specified team