Get document upload and indexing statusDeprecated

Intended for debugging/validation. Fetches the current upload and indexing status of documents.

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

SecurityBearerAuth
Request
Request Body schema: application/json
required
datasource
required
string

Datasource to get fetch document status for

objectType
required
string

Object type of the document to get the status for

docId
required
string

Glean Document ID within the datasource to get the status for.

Responses
200

OK

Response Schema: application/json
uploadStatus
string

Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN

lastUploadedAt
integer <int64>

Time of last successful upload, in epoch seconds

indexingStatus
string

Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN

lastIndexedAt
integer <int64>

Time of last successful indexing, in epoch seconds

400

Bad Request

401

Not Authorized

429

Too Many Requests

post/getdocumentstatus
Request samples
application/json
{
  • "datasource": "string",
  • "objectType": "string",
  • "docId": "string"
}
Response samples
application/json
{
  • "uploadStatus": "string",
  • "lastUploadedAt": 0,
  • "indexingStatus": "string",
  • "lastIndexedAt": 0
}