cURL
curl --request POST \ --url https://api.agentpowers.ai/v1/agents/{slug}/upload \ --header 'Content-Type: multipart/form-data' \ --form 'file=<string>'
{ "slug": "<string>", "storage_key": "<string>", "message": "Package uploaded" }
Upload an agent package file to R2 storage.
Only the agent author can upload packages. Max 100 MB.
Successful Response
Was this page helpful?