Workspaces

Get workspace stats

Other errors (500, 502, 503) are on Errors.

GET
/v1/workspaces/{id}/stats

Other errors (500, 502, 503) are on Errors.

Authorization

bearerAuth
AuthorizationBearer <token>

Your API key, sent as Authorization: Bearer nace_sk_...

  • Where: the dashboard's API Keys page. It is shown once, when you create it.
  • Format: nace_sk_ followed by 43 URL-safe characters (A-Z, a-z, 0-9, _ and -).
  • Limit: an account can hold at most 3 active keys.
  • Wrong or missing key: returns 401 authentication_error.

In: header

Path Parameters

idstringrequired

The workspace's workspace_id.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/stats"
{  "files_total": 0,  "files_by_ingestion_status": {    "property1": 0,    "property2": 0  },  "bytes_total": 0,  "pages_ingested": 0,  "index_documents": 0,  "last_ingestion_at": "2019-08-24T14:15:22Z",  "next_expiry_at": "2019-08-24T14:15:22Z",  "files_expiring_within_7d": 0}