Troubleshooting

Get document count

Fetches document count for the specified custom datasource.

Tip: Use /debug/{datasource}/status for richer information.

post/api/index/v1/getdocumentcount

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/api/index/v1/getdocumentcount
  • Auth: HTTP bearer

Request body

datasourcestring required

Datasource name for which document count is needed.

Response

OK

documentCountinteger

Number of documents corresponding to the specified custom datasource.

Changes

No recorded changes to this operation across all 139 revisions of this API.