v47

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2024-10-01163166522.3 KB
AiSecrets

Partially update ai_secret

Partially update an ai_secret object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.

patch/v1/ai_secret/{ai_secret_id}

Path parameters

ai_secret_idstring uuid required

AiSecret id

AiSecret id

Request body

namestring nullable

Name of the AI secret

typestring nullable
metadataobject nullable
secretstring nullable

Response

Returns the ai_secret object

idstring uuid required

Unique identifier for the AI secret

createdstring date-time nullable

Date of AI secret creation

org_idstring uuid required

Unique identifier for the organization

namestring required

Name of the AI secret

typestring nullable
metadataobject nullable
preview_secretstring nullable