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

Add a version to a progressive skill.

POST/api/v1/oliver-skills/{oliver_skill_id}/versionsoliver:write
注記

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

Adds the next version with new content and metadata and returns the skill at that version. A built-in skill changes only through a release (409). Agents pinned to an earlier version keep it until they are re-pinned. Needs Edit Oliver System Prompts; new tool names need View Oliver Tools and new memory topics View Oliver Memory Topics. Callers without View Oliver System Prompts receive a write receipt.

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

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonOliverSkillVersionCreateInput

応答​

ステータス説明本文
201Success.application/json OliverSkill または 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
409conflict, idempotency_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 のコードです。各コードからそのページに移動できます。

スキーマ​

OliverSkill​

フィールド型必須説明
contentstring必須
domainstring必須The domain the skill belongs to; each domain has one default skill.
is_builtinboolean必須True for a skill the Portal ships: it changes only through a release.
is_domain_defaultboolean必須Whether this skill is its domain's default.
metadataOliverSkillMetadata必須
namestring必須
oliver_skill_idstring必須
slugstring必須
versioninteger必須The newest version, counted from 1. ≥ -2147483648; ≤ 2147483647

OliverSkillCase​

フィールド型必須説明
familystring必須The task family the case belongs to, as the Portal's skill editor names it (for example Custom-field template task). Open.
keystring必須The case's own key: lower-case letters, digits and hyphens, unique in the skill.
localestring必須en-GB, ja or vi.
oraclestring必須What a correct answer does.
promptstring必須

OliverSkillCaseInput​

フィールド型必須説明
familystring必須The task family the case belongs to, as the Portal's skill editor names it (for example Custom-field template task). Open.
keystring必須The case's own key: lower-case letters, digits and hyphens, unique in the skill.
localestring必須en-GB, ja or vi.
oraclestring必須What a correct answer does.
promptstring必須

OliverSkillMetadata​

フィールド型必須説明
activatestring の配列必須The tools loading the skill activates (at most 6, all among tool_names; none for a preloaded skill).
applicabilitystring必須When the skill applies, at most 400 characters.
descriptionstring必須One line, at most 200 characters.
evaluation_casesOliverSkillCase の配列必須At least one for a skill that is not preloaded.
is_preloadedboolean必須True for a skill every conversation starts with, which then activates nothing.
localesstring の配列必須At least one of en-GB, ja, vi.
memory_topicsstring の配列必須Memory topic slugs the skill reads.
tool_namesstring の配列必須The tools the skill references; each must be one list_oliver_skill_tools offers.

OliverSkillMetadataInput​

フィールド型必須説明
activatestring の配列任意The tools loading the skill activates (at most 6, all among tool_names; none for a preloaded skill).
applicabilitystring必須When the skill applies, at most 400 characters.
descriptionstring必須One line, at most 200 characters.
evaluation_casesOliverSkillCaseInput の配列任意At least one for a skill that is not preloaded.
is_preloadedboolean任意True for a skill every conversation starts with, which then activates nothing.
localesstring の配列必須At least one of en-GB, ja, vi.
memory_topicsstring の配列任意Memory topic slugs the skill reads.
tool_namesstring の配列必須The tools the skill references; each must be one list_oliver_skill_tools offers.

OliverSkillVersionCreateInput​

フィールド型必須説明
change_notestring または null任意Why the version was added, at most 500 characters.
contentstring必須
metadataOliverSkillMetadataInput必須