| Method | HTTP request | Release Stage |
|---|---|---|
| get | GET /v2/dataHealth/checks/{checkRid}/checkReports/{checkReportRid} | Public Beta |
| get_latest | GET /v2/dataHealth/checks/{checkRid}/checkReports/getLatest | Public Beta |
Get the CheckReport with the specified rid.
| Name | Type | Description | Notes |
|---|---|---|---|
| check_rid | CheckRid | ||
| check_report_rid | CheckReportRid | ||
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
CheckReport
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# CheckRid
check_rid = "ri.data-health.main.check.8e27b13a-e21b-4232-ae1b-76ccf5ff42b3"
# CheckReportRid
check_report_rid = "ri.data-health.main.check-report.a1b2c3d4-e5f6-7890-abcd-ef1234567890"
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.data_health.Check.CheckReport.get(
check_rid, check_report_rid, preview=preview
)
print("The get response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling CheckReport.get: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | CheckReport | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Get the most recent check reports for this Check. Reports are returned in reverse chronological order (most recent first).
| Name | Type | Description | Notes |
|---|---|---|---|
| check_rid | CheckRid | ||
| limit | Optional[CheckReportLimit] | The maximum number of check reports to return. Defaults to 10. Maximum allowed value is 100. | [optional] |
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
GetLatestCheckReportsResponse
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# CheckRid
check_rid = "ri.data-health.main.check.8e27b13a-e21b-4232-ae1b-76ccf5ff42b3"
# Optional[CheckReportLimit] | The maximum number of check reports to return. Defaults to 10. Maximum allowed value is 100.
limit = None
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.data_health.Check.CheckReport.get_latest(
check_rid, limit=limit, preview=preview
)
print("The get_latest response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling CheckReport.get_latest: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | GetLatestCheckReportsResponse | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]