Gather information about the datasource’s overall status.

Sample Request

curl -X POST https://customer-be.glean.com/api/index/v1/debug/gleantest/status \
  -H 'Authorization: Bearer <Token>'

Sample Response

{
  "documents": {
    "bulkUploadHistory": [
      {
        "uploadId": "upload-id-1234567890",
        "startTime": "2024-02-08T12:00:00.000Z",
        "endTime": "2024-02-08T12:05:00.000Z",
        "status": "SUCCESSFUL"
      }
    ],
    "counts": {
      "uploaded": [
        {
          "objectType": "Article",
          "count": 15
        }
      ],
      "indexed": [
        {
          "objectType": "Article",
          "count": 15
        }
      ]
    },
    "processingHistory": [
      {
        "startTime": "2024-02-08T12:00:00.000Z",
        "endTime": "2024-02-08T12:00:05.000Z"
      }
    ]
  },
  "identity": {
    "processingHistory": [
      {
        "startTime": "2024-02-08T12:00:00.000Z",
        "endTime": "2024-02-08T12:05:00.000Z"
      }
    ],
    "users": {
      "bulkUploadHistory": [
        {
          "uploadId": "upload-users-1234567890",
          "startTime": "2024-02-08T12:00:00.000Z",
          "endTime": "2024-02-08T12:05:00.000Z",
          "status": "SUCCESSFUL"
        }
      ],
      "counts": {
        "uploaded": 5
      }
    },
    "groups": {
      "bulkUploadHistory": [],
      "counts": {
        "uploaded": 3
      }
    },
    "memberships": {
      "bulkUploadHistory": [],
      "counts": {
        "uploaded": 2
      }
    }
  }
}