v72

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0744101120.8 KB
Troubleshooting

Beta: Get document information

Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.

Tip: Refer to the Troubleshooting tutorial for more information.

post/api/index/v1/debug/{datasource}/document

Path parameters

datasourcestring required

The datasource to which the document belongs

Request body

objectTypestring required

Object type of the document to get the status for.

docIdstring required

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

Example request

{
  "objectType": "Article",
  "docId": "art123"
}

Response

OK

Example response

{
  "status": {
    "uploadStatus": "UPLOADED",
    "lastUploadedAt": "2021-08-06T17:58:01.000Z",
    "indexingStatus": "INDEXED",
    "lastIndexedAt": "2021-08-06T17:58:01.000Z",
    "permissionIdentityStatus": "UPLOADED"
  }
}