v1

latestOpenAPI 3.1.02026-07-178140423.0 KB
AI Application Policy Management

Create Application Policy

Create a new AI application policy.

post/governance-service/api/ai/application/{app_id}/policy

Path parameters

app_idinteger required

Request body

idinteger nullable

The unique identifier of the resource

statusinteger nullable

The status of the resource

createTimestring date-time nullable

The creation time of the resource

updateTimestring date-time nullable

The last update time of the resource

namestring nullable

The name of the AI application policy

descriptionstring required

The description of the AI application policy

usersstring[] required

The users associated with the AI application policy

groupsstring[] required

The groups associated with the AI application policy

rolesstring[] required

The roles associated with the AI application policy

tagsstring[] required

The list of tags associated with the AI application policy

prompt'ALLOW' | 'DENY' | 'REDACT' required
reply'ALLOW' | 'DENY' | 'REDACT' required
enrichedPrompt'ALLOW' | 'DENY' | 'REDACT' required
applicationIdinteger

The application id associated with the AI application policy

Response

Successful Response

idinteger nullable

The unique identifier of the resource

statusinteger nullable

The status of the resource

createTimestring

The creation time of the resource

updateTimestring

The last update time of the resource

namestring nullable

The name of the AI application policy

descriptionstring required

The description of the AI application policy

usersstring[] required

The users associated with the AI application policy

groupsstring[] required

The groups associated with the AI application policy

rolesstring[] required

The roles associated with the AI application policy

tagsstring[] required

The list of tags associated with the AI application policy

prompt'ALLOW' | 'DENY' | 'REDACT' required
reply'ALLOW' | 'DENY' | 'REDACT' required
enrichedPrompt'ALLOW' | 'DENY' | 'REDACT' required
applicationIdinteger

The application id associated with the AI application policy