getWebsites

suspend fun getWebsites(includeTeams: Boolean? = null, search: String? = null, page: Int? = null, pageSize: Int? = null): SearchResponse<Website>

Retrieves a paginated list of websites from the Umami API.

Return

A SearchResponse containing a list of Website objects.

Parameters

includeTeams

Optional flag to include websites where the user is a team owner.

search

Optional search string to filter websites by.

page

Optional page number for pagination.

pageSize

Optional number of results per page.