Skip to main content
POST
/
agent
/
{agentId}
/
skills
/
import
Import a skill from a zip file
curl --request POST \
  --url https://api.beamstudio.ai/agent/{agentId}/skills/import \
  --header 'Content-Type: multipart/form-data' \
  --header 'current-workspace-id: <current-workspace-id>' \
  --header 'x-api-key: <api-key>' \
  --form file='@example-file'
{
  "success": true,
  "destination": "<string>",
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Headers

current-workspace-id
string
required

Path Parameters

agentId
string
required

Agent ID

Body

multipart/form-data
file
file
required

Zip file containing the skill to import

Response

Skill imported successfully

success
boolean
required

Whether the skill was imported successfully

destination
string
required

The destination path or identifier where the skill was imported

error
string

Error message if the import failed