- status - Beta: Get datasource status
Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
Tip: Refer to the Troubleshooting tutorial for more information.
from glean.api_client import Glean
import os
with Glean(
api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as glean:
res = glean.indexing.datasource.status(datasource="<value>")
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
datasource |
str | ✔️ | The datasource to get debug status for. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.DebugDatasourceStatusResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.GleanError | 4XX, 5XX | */* |