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

Create an Oliver system prompt.

POST/api/v1/oliver-system-promptsoliver:write
注記

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

The slug is unique and set once; a slug starting with skill- is reserved for progressive skills. The content is version 1. Callers without View Oliver System Prompts receive a write receipt.

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

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonOliverSystemPromptCreateInput

応答​

ステータス説明本文
201Success.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
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_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

OliverSystemPromptCreateInput​

フィールド型必須説明
change_notestring または null任意
contentstring必須
descriptionstring または null任意
namestring必須
slugstring必須

UserRef​

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