Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Get Check Report

GET/api/v2/dataHealth/checkReports/{checkReportRid}
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Get the CheckReport with the specified rid.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:data-health-read.

Path parameters

checkReportRid
string

The unique resource identifier (RID) of a Data Health Check Report.

Query parameters

preview
boolean
optional

Enables the use of preview functionality.

Response body

CheckReport
object
Hide child attributes

Hide child attributes

rid
string

The unique resource identifier (RID) of a Data Health Check Report.

check
object

Snapshot of the check configuration when this report was created. This will not change if the check is later modified.

Show child attributes

Show child attributes

result
object

The result of running a check.

Show child attributes

Show child attributes

createdTime
string

The time at which the resource was created.

Examples

Request

Copied!
1 2 3 curl \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/dataHealth/checkReports/ri.data-health.main.check-report.a1b2c3d4-e5f6-7890-abcd-ef1234567890?preview=true"

Response

Copied!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 { "result": { "status": "PASSED" }, "createdTime": "2003-05-06T12:34:56.789Z", "check": { "updatedTime": "2024-09-25T17:29:35.974Z", "createdBy": "f05f8da4-b84c-4fca-9c77-8af0b13d11de", "groups": [ "ri.data-health.main.check-group.08e376a8-607d-4f44-b8dd-b4587be6ce9b" ], "rid": "ri.data-health.main.check.8e27b13a-e21b-4232-ae1b-76ccf5ff42b3", "intent": "Check to ensure builds are passing." }, "rid": "ri.data-health.main.check-report.a1b2c3d4-e5f6-7890-abcd-ef1234567890" }

Error responses

Error Name
CheckTypeNotSupportedError CodeINVALID_ARGUMENT
Status Code400
DescriptionThe type of the requested check is not yet supported in the Platform API.
ParameterscheckType
CheckReportNotFoundError CodeNOT_FOUND
Status Code404
DescriptionThe given CheckReport could not be found.
ParameterscheckReportRid