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_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
Idempotency-Key | header | string | 任意 | max 255 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | OliverSkillVersionCreateInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
201 | Success. | application/json OliverSkill または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict, idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
OliverSkill
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
content | string | 必須 | |
domain | string | 必須 | The domain the skill belongs to; each domain has one default skill. |
is_builtin | boolean | 必須 | True for a skill the Portal ships: it changes only through a release. |
is_domain_default | boolean | 必須 | Whether this skill is its domain's default. |
metadata | OliverSkillMetadata | 必須 | |
name | string | 必須 | |
oliver_skill_id | string | 必須 | |
slug | string | 必須 | |
version | integer | 必須 | The newest version, counted from 1. ≥ -2147483648; ≤ 2147483647 |
OliverSkillCase
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
family | string | 必須 | The task family the case belongs to, as the Portal's skill editor names it (for example Custom-field template task). Open. |
key | string | 必須 | The case's own key: lower-case letters, digits and hyphens, unique in the skill. |
locale | string | 必須 | en-GB, ja or vi. |
oracle | string | 必須 | What a correct answer does. |
prompt | string | 必須 |
OliverSkillCaseInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
family | string | 必須 | The task family the case belongs to, as the Portal's skill editor names it (for example Custom-field template task). Open. |
key | string | 必須 | The case's own key: lower-case letters, digits and hyphens, unique in the skill. |
locale | string | 必須 | en-GB, ja or vi. |
oracle | string | 必須 | What a correct answer does. |
prompt | string | 必須 |
OliverSkillMetadata
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
activate | string の配列 | 必須 | The tools loading the skill activates (at most 6, all among tool_names; none for a preloaded skill). |
applicability | string | 必須 | When the skill applies, at most 400 characters. |
description | string | 必須 | One line, at most 200 characters. |
evaluation_cases | OliverSkillCase の配列 | 必須 | At least one for a skill that is not preloaded. |
is_preloaded | boolean | 必須 | True for a skill every conversation starts with, which then activates nothing. |
locales | string の配列 | 必須 | At least one of en-GB, ja, vi. |
memory_topics | string の配列 | 必須 | Memory topic slugs the skill reads. |
tool_names | string の配列 | 必須 | The tools the skill references; each must be one list_oliver_skill_tools offers. |
OliverSkillMetadataInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
activate | string の配列 | 任意 | The tools loading the skill activates (at most 6, all among tool_names; none for a preloaded skill). |
applicability | string | 必須 | When the skill applies, at most 400 characters. |
description | string | 必須 | One line, at most 200 characters. |
evaluation_cases | OliverSkillCaseInput の配列 | 任意 | At least one for a skill that is not preloaded. |
is_preloaded | boolean | 任意 | True for a skill every conversation starts with, which then activates nothing. |
locales | string の配列 | 必須 | At least one of en-GB, ja, vi. |
memory_topics | string の配列 | 任意 | Memory topic slugs the skill reads. |
tool_names | string の配列 | 必須 | The tools the skill references; each must be one list_oliver_skill_tools offers. |
OliverSkillVersionCreateInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
change_note | string または null | 任意 | Why the version was added, at most 500 characters. |
content | string | 必須 | |
metadata | OliverSkillMetadataInput | 必須 |