NiCE · Schema
PolicyInstanceRetrievalResponse
CompanyCustomer ExperienceArtificial IntelligenceCloudIntegrationContact CenterCCaaSWorkforce Engagement
Properties
| Name | Type | Description |
|---|---|---|
| policyId | string | The Id of the policy |
| policyInstanceId | string | The instanceId of the instance of the policy |
| policyName | string | The name of the policy |
| policyType | string | The type of of the policy |
| entityType | string | The entities which the policy affects |
| applyToMediaTypes | array | The media types which the policy affects |
| retentionValueInDays | string | Retention value in days for media. Mandatory and applicable only for Change Retention policy. Possible values between 0-9999 or Indefinite. |
| status | string | Current status of the instance of the policy |
| declineReason | string | Reason for declining the policy instance |
| criteria | array | Criteria used for filtering records |
| lastModifiedDate | string | The last modification date of the policy instance |
| needsApproval | boolean | If policy needs manual approval. Only relevant if initiatorType is DASHBOARD or DATA_POLICIES |
| resultSummary | object | Summary of policy instance execution results |
| enableEvidenceReportDownload | boolean | Is the evidence report generated and ready for download |
| evidenceReportStatus | string | Status of the evidence report generation |
| description | string | User added description of the policy |
| creationDate | string | Policy instance creation date |
| completionDate | string | Policy instance completion date |
| retrievalCompletionDate | string | Entities retrieval completion date |
| approvedDate | string | Policy instance approval date |
| approverId | string | ID of the user who approved the policy instance |
| policyInstanceNo | integer | Sequential number of the policy instance for recurring policies |
| recurring | boolean | If the policy is recurring |
| recurrenceConfig | object | Configuration for recurring policies (only present if recurring is true) |
| autoApproveLimit | integer | Number of entities for which policy is auto approved. Only relevant if initiatorType is DASHBOARD or DATA_POLICIES |
| createdBy | string | Policy creator details |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nice/json-schema/nice-policy-instance-retrieval-response-schema.json",
"title": "PolicyInstanceRetrievalResponse",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nice-policy-policyinstance-openapi.yml#/components/schemas/PolicyInstanceRetrievalResponse",
"type": "object",
"properties": {
"policyId": {
"type": "string",
"format": "uuid",
"description": "The Id of the policy"
},
"policyInstanceId": {
"type": "string",
"format": "uuid",
"description": "The instanceId of the instance of the policy"
},
"policyName": {
"type": "string",
"description": "The name of the policy"
},
"policyType": {
"type": "string",
"description": "The type of of the policy"
},
"entityType": {
"type": "string",
"description": "The entities which the policy affects"
},
"applyToMediaTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The media types which the policy affects"
},
"retentionValueInDays": {
"type": "string",
"description": "Retention value in days for media. Mandatory and applicable only for Change Retention policy. Possible values between 0-9999 or Indefinite."
},
"status": {
"type": "string",
"description": "Current status of the instance of the policy",
"enum": [
"PENDING_APPROVAL",
"SEARCHING",
"APPLYING_ACTION",
"SUCCEEDED",
"PARTIALLY_SUCCEEDED",
"FAILED",
"DECLINED",
"SUCCEEDED_WITH_ZERO_RESULTS",
"SEARCH_FAILED"
]
},
"declineReason": {
"type": "string",
"description": "Reason for declining the policy instance"
},
"criteria": {
"type": "array",
"items": {
"$ref": "#/$defs/Criteria"
},
"description": "Criteria used for filtering records"
},
"lastModifiedDate": {
"type": "string",
"description": "The last modification date of the policy instance"
},
"needsApproval": {
"type": "boolean",
"description": "If policy needs manual approval. Only relevant if initiatorType is DASHBOARD or DATA_POLICIES"
},
"resultSummary": {
"description": "Summary of policy instance execution results",
"allOf": [
{
"$ref": "#/$defs/PolicyInstanceResultSummary"
}
]
},
"enableEvidenceReportDownload": {
"type": "boolean",
"description": "Is the evidence report generated and ready for download"
},
"evidenceReportStatus": {
"type": "string",
"description": "Status of the evidence report generation"
},
"description": {
"type": "string",
"description": "User added description of the policy"
},
"creationDate": {
"type": "string",
"description": "Policy instance creation date"
},
"completionDate": {
"type": "string",
"description": "Policy instance completion date"
},
"retrievalCompletionDate": {
"type": "string",
"description": "Entities retrieval completion date"
},
"approvedDate": {
"type": "string",
"description": "Policy instance approval date"
},
"approverId": {
"type": "string",
"format": "uuid",
"description": "ID of the user who approved the policy instance"
},
"policyInstanceNo": {
"type": "integer",
"format": "int32",
"description": "Sequential number of the policy instance for recurring policies"
},
"recurring": {
"type": "boolean",
"description": "If the policy is recurring"
},
"recurrenceConfig": {
"description": "Configuration for recurring policies (only present if recurring is true)",
"allOf": [
{
"$ref": "#/$defs/RecurrenceConfigOutput"
}
]
},
"autoApproveLimit": {
"type": "integer",
"format": "int32",
"description": "Number of entities for which policy is auto approved. Only relevant if initiatorType is DASHBOARD or DATA_POLICIES"
},
"createdBy": {
"type": "string",
"format": "uuid",
"description": "Policy creator details"
}
},
"$defs": {
"Criteria": {
"type": "object",
"properties": {
"fieldId": {
"type": "string",
"description": "Unique identifier for the filtering field"
},
"operator": {
"type": "string",
"description": "Comparison operator for the filtering condition"
},
"range": {
"$ref": "#/$defs/Range"
},
"value": {
"type": "string",
"description": "Single value for filtering when using EQ operator"
},
"values": {
"type": "array",
"description": "List of values for filtering when using IN operator",
"items": {
"type": "string",
"description": "List of values for filtering when using IN operator"
}
}
},
"description": "Criteria for filtering records"
},
"PolicyInstanceResultSummary": {
"type": "object",
"properties": {
"successCount": {
"type": "integer",
"format": "int32",
"description": "Number of entities successfully processed"
},
"failureCount": {
"type": "integer",
"format": "int32",
"description": "Number of entities that failed to process"
},
"partialCount": {
"type": "integer",
"format": "int32",
"description": "Number of entities that were partially processed"
},
"litigationHoldCount": {
"type": "integer",
"format": "int32",
"description": "Number of entities on litigation hold"
},
"progress": {
"type": "number",
"format": "double",
"description": "Processing progress as a percentage (0.0 to 100.0)",
"minimum": 0.0,
"maximum": 100.0
},
"totalEntities": {
"type": "integer",
"format": "int32",
"description": "Total number of entities found for processing"
}
},
"description": "Summary of policy instance execution results including counts and progress"
},
"Range": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"description": "Range of values when using BETWEEN operator"
},
"RecurrenceConfigOutput": {
"type": "object",
"properties": {
"frequency": {
"pattern": "DAILY|WEEKLY|MONTHLY",
"type": "string",
"description": "Frequency of recurrence",
"enum": [
"DAILY",
"WEEKLY",
"MONTHLY"
]
},
"recurrenceEndType": {
"pattern": "DATE|NO_OF_OCCURRENCES|NEVER",
"type": "string",
"description": "End type of recurrence",
"enum": [
"DATE",
"NO_OF_OCCURRENCES",
"NEVER"
]
},
"recurrenceEndDate": {
"type": "string",
"description": "End date of recurrence (if recurrenceEndType:DATE)"
},
"totalNoOfRecurrences": {
"type": "integer",
"description": "Total number of recurrences (if recurrenceEndType: NO_OF_OCCURRENCES )",
"format": "int32"
},
"dayOfWeek": {
"pattern": "MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY|SUNDAY",
"type": "string",
"description": "Applicable day of the week for recurrence",
"enum": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
]
},
"dayOfMonth": {
"maximum": 28,
"minimum": 1,
"type": "integer",
"description": "Applicable day of the month for recurrence",
"format": "int32"
},
"recurrenceStatus": {
"type": "string",
"description": "Current status of the recurrence"
},
"recurrenceTime": {
"type": "string",
"description": "Time when recurrence executes"
}
},
"description": "Configuration for recurring policies"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nice-policy-instance-retrieval-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.