Skip to main content
GET
/
ai
/
api
/
v2
/
enterprise-search
/
connector
/
dg-s3-workspace
/
{workspaceId}
/
status
Get Enterprise Search Index Status
curl --request GET \
  --url https://be.datagol.ai/ai/api/v2/enterprise-search/connector/dg-s3-workspace/{workspaceId}/status \
  --header 'Authorization: Bearer <token>'
{
  "connector_status": {
    "cc_pair_id": 125,
    "name": "Datagol-Workspace_File_Connector-{workspaceId}",
    "cc_pair_status": "PAUSED",
    "access_type": "public",
    "last_finished_status": "success",
    "last_status": "success",
    "last_success": "2026-05-29T12:22:50.515871Z",
    "docs_indexed": 2,
    "in_progress": true,
    "in_repeated_error_state": false,
    "latest_index_attempt": {
      "id": 396,
      "status": "success",
      "from_beginning": true,
      "new_docs_indexed": 1,
      "total_docs_indexed": 2,
      "docs_removed_from_index": 0,
      "error_msg": null,
      "error_count": 0,
      "time_started": "2026-05-29T12:22:50.457155+00:00",
      "time_updated": "2026-05-29T12:22:57.745602+00:00",
      "poll_range_start": "1970-01-01T00:00:00Z",
      "poll_range_end": "2026-05-29T12:22:50.515871Z"
    }
  },
  "file_level_indexing_status": {}
}

Authorizations

Authorization
string
header
required

This API uses OAuth 2.0 with the authorization code grant flow.

Path Parameters

workspaceId
string
required

The ID of the workspace to check the index status for

Response

200 - application/json

Get Enterprise Search Index Status

connector_status
object

Overall status of the workspace file connector

file_level_indexing_status
object

Per-file indexing status keyed by file ID