Checks_GetAutomaticCheckPolicy_Account
const url = 'https://junction-api.qualiastudios.dev/v1/accounts/example/checkPolicies/example';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://junction-api.qualiastudios.dev/v1/accounts/example/checkPolicies/example \ --header 'X-API-Key: <X-API-Key>'Reads the effective policy and its source for each scheduler half.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The account id.
The checkPolicy id.
Responses
Section titled “ Responses ”OK
Automatic checks policy is per scheduler half, not per catalog check id. Inheritance never queues or replays a run: only a new upload is checked.
object
The automatic policy under an org, workspace or dataset.
Whether the scheduler runs the free heuristic half.
Which level supplied the heuristic setting: platform, org, workspace or dataset.
Whether the scheduler runs the paid graph half.
Which level supplied the graph setting: platform, org, workspace or dataset.
The heuristic override at this level; SETTING_UNSPECIFIED clears it.
The graph override at this level; SETTING_UNSPECIFIED clears it.
Example
{ "heuristic": "SETTING_UNSPECIFIED", "graph": "SETTING_UNSPECIFIED"}default
Section titled “default ”Default error response
A refusal from the API itself.
object
The gRPC code name in upper case, e.g. NOT_FOUND.
Whether the same call may succeed if retried.
Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.
object
A refusal from the gateway before the call reaches the API, for example 401 bad or missing API key, 403 key lacks the scope or environment closed, 413 body too large.
object
What went wrong.
Example generated
{ "code": "example", "message": "example", "retryable": true, "details": [ {} ]}