Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

PaCE API invocation parameters

This table describes the properties that can be configured when the PaCE API is invoked. These properties can be set whenever the API is invoked or when you test a policy in the Test Playground.

Property nameRequiredDefault valueDescription
serviceyes The calling service that is invoking the API.
categoryno The category type.
typenostandardCan be standard or test.
documentIdsyes \(array of table, sysID\) The documentIds is an array of the table and sysID \(of the deployable\).
Note: The properties shown in the preceding table cannot be configured in the Test Playground. They can only be used when the PaCE API is invoked.
datayes The policy-specific data that includes all possible caller inputs.
executionTagno Can be used to tag one or more policy executions records resulting from this invocation. It can be used to retrieve execution details of the policy based on the executionTag.
verboseResponsenofalse

Default value is false. If set to true, additional debug information (in this case the ids of the mapped policies) is returned. A sample invocation response with options.verboseResponse:true is shown here:

// Sample execution response
{
  "rootExecutionId": "50202b3ec37b101017e06c576e40dd81",
  "mappedPolicies": [
    {
      "policyId": "3d1de0a8c363101017e06c576e40dde4",
      "policyName": "Production Database Policy",
      "shortDescription": "Policy to check database passwords",
      "versonId": "4ed08520c3a3101017e06c576e40ddcb",
      "versonTyep": "4f2cb75473331010ce6c39282bf6a753",
      "versionState": "published",
      "versionApproval": "approved"
    },
    {
      "policyId": "addd2ca8c363101017e06c576e40dd12",
      "policyName": "API Policy",
      "shortDescription": "Policy to check API policies",
      "versonId": "a6418920c3a3101017e06c576e40dd57",
      "versonTyep": "4f2cb75473331010ce6c39282bf6a753",
      "versionState": "published",
      "versionApproval": "approved"
    }
  ],
  "logs": []
}

If options.verboseResponse:false, the mapped policies are not included in the response.

failFastnofalseThe default value is false. If this property is set to true, the first failed policy stops the execution of all the mapped policies.
logLevelnoinfoThis parameter can be used to specify how the log messages should be displayed.- info - debug - warn - error
timeoutno3600The timeout period in seconds. The default value is 3600.
waitForResultno3600The waitForResult period in seconds. Note: This parameter is available only in the Test Playground.