Get details about a single deployed policy model
get
https://{your_site_interface}/determinations-server/batch/12.2.26/policy-models/{policy-model-name}
This operation will provide details for the specified policy model
Request
Path Parameters
-
policy-model-name(required): string
Name of the policy model
Query Parameters
-
expand: string
Comma separated list of named resources to expand, or "all" to expand all
-
fields: string
Comma separated list of fields to be returned
-
links: string
Comma separated list of links to be returned, or "none" to omit links
There's no request body for this operation.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Root Schema : policyModel
Type:
Show Source
object
-
assessor: object
assessor
-
data-model: object
dataModel
-
name: string
Name of the policy model
Nested Schema : dataModel
Type:
Show Source
object
-
properties: object
dataModelProperties
Additional Properties Allowed:
true
Nested Schema : exampleRequest
Type:
Show Source
object
-
cases: array
cases
List of cases submitted for assessment
-
outcomes: array
outcomes
List of outcomes to be assessed for each case submitted.
Nested Schema : exampleResponse
Type:
Show Source
object
-
cases: array
cases
List of cases submitted for assessment
-
summary: object
exampleSummary
Nested Schema : cases
Type:
array
List of cases submitted for assessment
Show Source
-
Array of:
object exampleCase
Additional Properties Allowed:
true
Nested Schema : outcomes
Type:
array
List of outcomes to be assessed for each case submitted.
Show Source
Nested Schema : exampleCase
Type:
object
Additional Properties Allowed:
true
Nested Schema : items
Match One Schema
Show Source
-
string
The name of the attribute or relationship that the outcome applies to.
-
object
items-oneOf[1]
Nested Schema : items-oneOf[1]
Type:
Show Source
object
-
id(required): string
The name of the attribute or relationship that the outcome applies to.
-
knownOutcomeStyle: string
Allowed Values:
[ "value-only", "decision-report", "base-attributes" ]
Indicates the outcome style of the outcome for known values. Defaults to 'value-only' -
resolveIndecisionRelationships: boolean
Indicates whether to expand relationships for indecision reports. Defaults to false.
-
showInvisible: boolean
Indicates whether to force show invisible fields in decision reports. Defaults to false.
-
showSlient: boolean
Indicates whether to force show silent fields in decision reports. Defaults to false.
-
unknownOutcomeStyle: string
Allowed Values:
[ "value-only", "decision-report", "base-attributes" ]
Indicates the outcome style of the outcome for unknown values. Defaults to 'value-only'
Nested Schema : cases
Type:
array
List of cases submitted for assessment
Show Source
-
Array of:
object exampleCase
Additional Properties Allowed:
true
Nested Schema : exampleSummary
Type:
Show Source
object
-
casesIgnored: number
(double)
The number of submitted cases ignored due to errors
-
casesProcessed: number
(double)
The number of submitted cases successfully processed
-
casesRead: number
(double)
The total number of cases submitted in the request payload
-
processorCasesPerSec: number
(double)
The average number of cases assessed per second
-
processorDurationSec: number
(double)
The request processing duration in seconds
-
processorQueuedSec: number
(double)
The time the request was queued in seconds
Nested Schema : dataModelProperties
Type:
object
Additional Properties Allowed:
true
404 Response
The requested resource does not exist.