security_status set to pending.
Permission required:
skill:modifyPath Parameters
string
required
Skill ID
Request Body
object
required
The uploaded package.
string
Release notes for this version.
Response
object
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/skills/skill-2b0f5f9f4ea54767822f51f4940c8f24/versions' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"package_ref": {
"s3_uri": "s3://example-bucket/skill-packages/9d4e7a1b2c3f4e5d8a6b0c1d2e3f4a5b.zip"
},
"changelog": "Add analyst consensus to the summary table"
}'
{
"success": true,
"data": {
"skill_id": "skill-2b0f5f9f4ea54767822f51f4940c8f24",
"version": 3,
"changelog": "Add analyst consensus to the summary table",
"security_status": "pending",
"created_at": "2026-09-30T02:41:07Z"
}
}
Replace a skill’s package by publishing a new version
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/skills/skill-2b0f5f9f4ea54767822f51f4940c8f24/versions' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"package_ref": {
"s3_uri": "s3://example-bucket/skill-packages/9d4e7a1b2c3f4e5d8a6b0c1d2e3f4a5b.zip"
},
"changelog": "Add analyst consensus to the summary table"
}'
{
"success": true,
"data": {
"skill_id": "skill-2b0f5f9f4ea54767822f51f4940c8f24",
"version": 3,
"changelog": "Add analyst consensus to the summary table",
"security_status": "pending",
"created_at": "2026-09-30T02:41:07Z"
}
}
POST /openapi/memorylake/api/v3/skills/{id}/versions
security_status set to pending.
skill:modifyShow Package reference
s3_uri returned by Request Package Upload, unchanged. Upload the archive to its upload_url first.curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/skills/skill-2b0f5f9f4ea54767822f51f4940c8f24/versions' \
-H 'Authorization: Bearer sk_xxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"package_ref": {
"s3_uri": "s3://example-bucket/skill-packages/9d4e7a1b2c3f4e5d8a6b0c1d2e3f4a5b.zip"
},
"changelog": "Add analyst consensus to the summary table"
}'
| Status | Error code | When |
|---|---|---|
400 | INVALID_ARGUMENT | package_ref.s3_uri was not issued by Request Package Upload, nothing was uploaded to it, or the package is empty or larger than 10 MiB |
{
"success": true,
"data": {
"skill_id": "skill-2b0f5f9f4ea54767822f51f4940c8f24",
"version": 3,
"changelog": "Add analyst consensus to the summary table",
"security_status": "pending",
"created_at": "2026-09-30T02:41:07Z"
}
}