Skip to main content
POST
/
v1
/
skills
/
{skill_id}
/
update
!pip install vlmrun

from pathlib import Path
from vlmrun.client import VLMRun

client = VLMRun(base_url="https://agent.vlm.run/v1", api_key="<VLMRUN_API_KEY>")

# Upload a new skill zip
file = client.files.upload(file=Path("updated-skill.zip"))

# Update the skill (creates a new version)
updated_skill = client.skills.update(
    skill_id="<skill-id>",
    file_id=file.id,
    description="Updated invoice extraction with improved accuracy"
)
print(f"Updated skill: {updated_skill.id} (v{updated_skill.version})")
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "status": "completed"
}
!pip install vlmrun

from pathlib import Path
from vlmrun.client import VLMRun

client = VLMRun(base_url="https://agent.vlm.run/v1", api_key="<VLMRUN_API_KEY>")

# Upload a new skill zip
file = client.files.upload(file=Path("updated-skill.zip"))

# Update the skill (creates a new version)
updated_skill = client.skills.update(
    skill_id="<skill-id>",
    file_id=file.id,
    description="Updated invoice extraction with improved accuracy"
)
print(f"Updated skill: {updated_skill.id} (v{updated_skill.version})")

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

skill_id
string
required

Body

application/json

Request to update a skill.

file_id
string
required

File ID from file upload API (the new skill zip)

description
string | null

Updated description of the skill

is_public
boolean | null

Updated public accessibility

Response

Successful Response

Response for skill creation.

id
string
required

ID of the created skill

name
string
required

Name of the skill (may differ from request if LLM-generated)

description
string
required

Description of the skill (may differ from request if LLM-generated)

created_at
string<date-time>
required

Date and time when the skill was created

updated_at
string<date-time>
required

Date and time when the skill was updated

status
string
default:completed

Status of the skill creation