AACsearch
Api reference

Get raw usage data

GET
/projects/{projectId}/usage

Authorization

BearerAuth
AuthorizationBearer <token>

Search API key (ss_search_*) from the dashboard or keys API. Scopes (search, ingest, admin) are stored on the key; each route requires the matching scope.

In: header

Path Parameters

projectId*string

Query Parameters

windowDays?integer
Default30
Range1 <= value <= 365

Response Body

application/json

curl -X GET "https://loading/api/v1/projects/string/usage"
{
  "since": "2019-08-24T14:15:22Z",
  "rows": [
    {
      "indexId": "string",
      "type": "string",
      "total": 0
    }
  ]
}