Skip to main content
POST
Upload a source archive and synchronously build + deploy it as an agent.

Body

multipart/form-data

Multipart form for POST /api/import/upload — a single package file field holding a zip/tar.gz with AgentCard.json + Dockerfile at its root.

package
file
required

Response

Agent registered, built, and deployed

agent_id
string<uuid>
required
status
string
required
build_id
string<uuid> | null
container_name
string | null