Skip to main content

Download Agent Files

Downloads agent source files as a tarball. Used by the build pipeline to fetch agent code for building.

GET /api/v1/agents/{agent_name}/download — 🌐 Public

Path Parameters

ParameterDescription
agent_nameAgent slug name

Query Parameters

ParameterRequiredDescription
versionSpecific version (e.g., 1.0.0). Defaults to latest.

Examples

# Latest version
curl -O https://nasiko.dev/api/v1/agents/weather-agent/download

# Specific version
curl -O "https://nasiko.dev/api/v1/agents/weather-agent/download?version=1.0.0"

Response

Returns a binary tarball (application/gzip).