Update Config

View as Markdown
Update model metadata. If the request body has an empty field, keep the old value.

Path parameters

workspacestringRequired
namestringRequired

Request

This endpoint expects an object.
descriptionstringOptional
Description of the guardrail config
datamap from strings to anyOptional
Guardrail configuration data

Response

Successful Response
workspacestringformat: "^[\w\-\+.@:]+$"
Workspace identifier
idstringRead-only
created_atdatetimeRead-only
created_bystring or nullRead-only
updated_atdatetimeRead-only
updated_bystring or nullRead-only
entity_idstringRead-only
Alias for id for backwards compatibility.
parentstringRead-only
Parent entity ID for nested entities.
namestringDefaults to
Entity name within the workspace
projectstring
The name of the project associated with this entity.
descriptionstring
Description of the guardrail config
dataobject
Guardrail configuration data

Errors

404
Not Found Error
422
Unprocessable Entity Error