Add a version to a progressive skill.
POST/api/v1/oliver-skills/{oliver_skill_id}/versionsoliver:write
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.
| Scope | oliver:write (sensitive) |
| Asynchronous | No |
| MCP tool | create_oliver_skill_version |
| Portal permissions | edit_oliver_system_prompts |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
oliver_skill_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | OliverSkillVersionCreateInput |
Responses
| Status | Description | Body |
|---|---|---|
201 | Success. | application/json OliverSkill or 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 |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
OliverSkill
| Field | Type | Required | Description |
|---|---|---|---|
content | string | Required | |
domain | string | Required | The domain the skill belongs to; each domain has one default skill. |
is_builtin | boolean | Required | True for a skill the Portal ships: it changes only through a release. |
is_domain_default | boolean | Required | Whether this skill is its domain's default. |
metadata | OliverSkillMetadata | Required | |
name | string | Required | |
oliver_skill_id | string | Required | |
slug | string | Required | |
version | integer | Required | The newest version, counted from 1. ≥ -2147483648; ≤ 2147483647 |
OliverSkillCase
| Field | Type | Required | Description |
|---|---|---|---|
family | string | Required | The task family the case belongs to, as the Portal's skill editor names it (for example Custom-field template task). Open. |
key | string | Required | The case's own key: lower-case letters, digits and hyphens, unique in the skill. |
locale | string | Required | en-GB, ja or vi. |
oracle | string | Required | What a correct answer does. |
prompt | string | Required |
OliverSkillCaseInput
| Field | Type | Required | Description |
|---|---|---|---|
family | string | Required | The task family the case belongs to, as the Portal's skill editor names it (for example Custom-field template task). Open. |
key | string | Required | The case's own key: lower-case letters, digits and hyphens, unique in the skill. |
locale | string | Required | en-GB, ja or vi. |
oracle | string | Required | What a correct answer does. |
prompt | string | Required |
OliverSkillMetadata
| Field | Type | Required | Description |
|---|---|---|---|
activate | array of string | Required | The tools loading the skill activates (at most 6, all among tool_names; none for a preloaded skill). |
applicability | string | Required | When the skill applies, at most 400 characters. |
description | string | Required | One line, at most 200 characters. |
evaluation_cases | array of OliverSkillCase | Required | At least one for a skill that is not preloaded. |
is_preloaded | boolean | Required | True for a skill every conversation starts with, which then activates nothing. |
locales | array of string | Required | At least one of en-GB, ja, vi. |
memory_topics | array of string | Required | Memory topic slugs the skill reads. |
tool_names | array of string | Required | The tools the skill references; each must be one list_oliver_skill_tools offers. |
OliverSkillMetadataInput
| Field | Type | Required | Description |
|---|---|---|---|
activate | array of string | Optional | The tools loading the skill activates (at most 6, all among tool_names; none for a preloaded skill). |
applicability | string | Required | When the skill applies, at most 400 characters. |
description | string | Required | One line, at most 200 characters. |
evaluation_cases | array of OliverSkillCaseInput | Optional | At least one for a skill that is not preloaded. |
is_preloaded | boolean | Optional | True for a skill every conversation starts with, which then activates nothing. |
locales | array of string | Required | At least one of en-GB, ja, vi. |
memory_topics | array of string | Optional | Memory topic slugs the skill reads. |
tool_names | array of string | Required | The tools the skill references; each must be one list_oliver_skill_tools offers. |
OliverSkillVersionCreateInput
| Field | Type | Required | Description |
|---|---|---|---|
change_note | string or null | Optional | Why the version was added, at most 500 characters. |
content | string | Required | |
metadata | OliverSkillMetadataInput | Required |