- HTTP request
- Query parameters
- Request body
- Response body
- Authorization scopes
- CustomerSearchApplicationStats
- Try it!
Get search application stats for customer. Note: This API requires a standard end user account to execute.
HTTP request
GET https://cloudsearch.googleapis.com/v1/stats/searchapplication
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
| startDate | 
 All available stats from startDate to endDate are returned. endDate - startDate <= 6 months. | 
| endDate | 
 End date upto which stats are going to be returned. | 
Request body
The request body must be empty.
Response body
Response format for search application stats for a customer.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "stats": [
    {
      object ( | 
| Fields | |
|---|---|
| stats[] | 
 Search application stats by date. | 
| averageSearchApplicationCount | 
 Average search application count for the given date range. | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud_search.stats.indexing
- https://www.googleapis.com/auth/cloud_search.stats
- https://www.googleapis.com/auth/cloud_search
For more information, see the Authorization guide.
CustomerSearchApplicationStats
Search application stats for a customer for the given date.
| JSON representation | 
|---|
| {
  "date": {
    object ( | 
| Fields | |
|---|---|
| date | 
 The date for which search application stats were calculated. | 
| count | 
 The count of search applications for the date. |