cURL
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>" }
Import a skill into an agent from a zip file. The zip file should contain the skill configuration and any associated assets. The skill will be added to the specified agent.
Agent ID
Zip file containing the skill to import
Skill imported successfully
Whether the skill was imported successfully
The destination path or identifier where the skill was imported
Error message if the import failed