curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/skills' \ -H 'Authorization: Bearer sk_xxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "name": "equity-research", "display_title": "Equity Research", "description": "Pulls filings and price history and drafts an equity research note", "package_ref": { "s3_uri": "s3://example-bucket/skill-packages/3f2a1c8e9b7d4f5a8c6b2d1e0f9a8b7c.zip" } }'
{ "success": true, "data": { "id": "skill-2b0f5f9f4ea54767822f51f4940c8f24", "name": "equity-research", "display_title": "Equity Research", "description": "Pulls filings and price history and drafts an equity research note", "latest_version": 1, "latest_security_status": "pending", "created_at": "2026-08-21T09:12:44Z", "updated_at": "2026-08-21T09:12:44Z" }}
{ "success": false, "message": "A skill named 'equity-research' already exists.", "error_code": "SKILL_NAME_CONFLICT"}
Skills
Create Skill
Create a skill from an uploaded package
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/skills' \ -H 'Authorization: Bearer sk_xxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "name": "equity-research", "display_title": "Equity Research", "description": "Pulls filings and price history and drafts an equity research note", "package_ref": { "s3_uri": "s3://example-bucket/skill-packages/3f2a1c8e9b7d4f5a8c6b2d1e0f9a8b7c.zip" } }'
{ "success": true, "data": { "id": "skill-2b0f5f9f4ea54767822f51f4940c8f24", "name": "equity-research", "display_title": "Equity Research", "description": "Pulls filings and price history and drafts an equity research note", "latest_version": 1, "latest_security_status": "pending", "created_at": "2026-08-21T09:12:44Z", "updated_at": "2026-08-21T09:12:44Z" }}
{ "success": false, "message": "A skill named 'equity-research' already exists.", "error_code": "SKILL_NAME_CONFLICT"}
POST /openapi/memorylake/api/v3/skills
Creates a skill from a package you have already uploaded with Request Package Upload. The skill is created with its first version, and the security review starts in the background.The response comes back immediately with latest_security_status set to pending. An agent cannot reference the skill until the review passes, so poll Get Skill before attaching it.
Permission required:skill:create
Request Body
string
required
Name of the skill, up to 255 characters. Must be unique within your tenant, and cannot be changed later.
string
required
Title shown in the console, up to 500 characters.
string
What the skill does.
object
required
The uploaded package.
Show Package reference
string
required
The 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' \ -H 'Authorization: Bearer sk_xxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "name": "equity-research", "display_title": "Equity Research", "description": "Pulls filings and price history and drafts an equity research note", "package_ref": { "s3_uri": "s3://example-bucket/skill-packages/3f2a1c8e9b7d4f5a8c6b2d1e0f9a8b7c.zip" } }'
Response
object
Show Skill
string
Skill ID. Use it to refer to the skill everywhere else.
string
Skill name
string
Title shown in the console
string
What the skill does
integer
Latest published version number
string
Security review state of the latest version. pending right after creation.
string
Creation timestamp
string
Last update timestamp
Errors
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
409
SKILL_NAME_CONFLICT
A skill with this name already exists in your tenant
{ "success": true, "data": { "id": "skill-2b0f5f9f4ea54767822f51f4940c8f24", "name": "equity-research", "display_title": "Equity Research", "description": "Pulls filings and price history and drafts an equity research note", "latest_version": 1, "latest_security_status": "pending", "created_at": "2026-08-21T09:12:44Z", "updated_at": "2026-08-21T09:12:44Z" }}
{ "success": false, "message": "A skill named 'equity-research' already exists.", "error_code": "SKILL_NAME_CONFLICT"}