Skip to main content
Download an Aria model bundle. By default the server returns a 302 redirect to a short-lived S3 presigned URL. For directory-keyed bundles it streams a ZIP file. Request Accept: application/json or add ?format=json to receive the URL as JSON instead. Method: GET Path: /api/models/{slug}/download Auth: Session Bearer, ?token= query JWT, or Bearer API key (bfvk-...)

Path parameters

string
required
Model slug (for example gemma-4-e2b-it).

Query parameters

string
required
Quantization: int4, int8, or int326.
string
required
SDK version (for example v1.0).
string
Set to json to receive a JSON envelope instead of a redirect or ZIP stream.
string
Session JWT for browser-initiated downloads. Equivalent to Authorization: Bearer.

Response

Default response is a 302 Found redirect to a short-lived S3 presigned URL for a single file, or a 200 OK ZIP stream for a directory-keyed bundle (with Content-Disposition: attachment; filename=...). With Accept: application/json or ?format=json:
string
redirect (single file) or zip (directory).
string
Presigned URL or download URL.
string
Suggested output filename.

Example

Presigned URLs expire quickly. Do not cache them: request a fresh one for each download.

Errors