メインコンテンツまでスキップ

Update an Oliver system prompt (JSON Merge Patch).

PATCH/api/v1/oliver-system-prompts/{oliver_system_prompt_id}oliver:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

A content change creates a new version. Built-in and archived prompts are refused. Callers without View Oliver System Prompts receive a write receipt, including for an empty patch.

スコープoliver:write (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_oliver_system_prompt
Portal の権限edit_oliver_system_prompts

パラメーター​

名前場所型必須説明
oliver_system_prompt_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonOliverSystemPromptPatchInput
application/merge-patch+jsonOliverSystemPromptPatchInput

応答​

ステータス説明本文
200Success.application/json OliverSystemPrompt または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

OliverSystemPrompt​

フィールド型必須説明
archived_atstring (date-time) または null必須When the prompt was archived (soft deleted); null while live.
char_countinteger必須≥ -2147483648; ≤ 2147483647
contentstring必須The content of the latest version.
created_atstring (date-time) または null必須
created_byUserRef または null必須
descriptionstring または null必須
is_builtinboolean必須
namestring必須
oliver_system_prompt_idstring必須
slugstring必須
token_countinteger必須The approximate size of the latest version in tokens, as the Portal's prompt list shows it. ≥ -2147483648; ≤ 2147483647
updated_atstring (date-time) または null必須
version_numberinteger必須The latest version. ≥ -2147483648; ≤ 2147483647

OliverSystemPromptPatchInput​

フィールド型必須説明
archived_atstring (date-time) または null任意
change_notestring または null任意A note recorded on the new version, with the content change; refused without one.
char_countinteger または null任意
contentstring または null任意New content: it creates the next version.
created_atstring (date-time) または null任意
created_byUserRefInput または null任意
descriptionstring または null任意
is_builtinboolean または null任意
namestring または null任意
oliver_system_prompt_idstring または null任意
slugstring または null任意
token_countinteger または null任意
updated_atstring (date-time) または null任意
version_numberinteger または null任意

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

UserRefInput​

フィールド型必須説明
display_namestring任意
kindstring: user, system, integration任意
user_idstring または null任意