> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download PIN Model Artifact

> Stream a model artifact as a ZIP archive. The artifact must exist in the model's artifact_paths map.

This endpoint streams a ZIP file containing the requested artifact for a model. Check the model's `artifact_paths` first to confirm the artifact name exists, then call this endpoint to retrieve it.

## Endpoint

```http theme={null}
GET /v1/models/{id}/download?artifact=<name>
```

## Authentication

Send your token in the `Authorization: Bearer <jwt-or-api-key>` header.

## Path Parameters

<ParamField path="id" type="string" required>
  The unique model identifier.
</ParamField>

## Query Parameters

<ParamField query="artifact" type="string" required>
  Artifact name from `artifact_paths`. Supported: `adapter`, `merged`, `gguf`, `mlx`, `mnn`, `qnn`.
</ParamField>

## Response

The response is a binary ZIP stream. The server sets these headers:

* `Content-Type: application/zip`
* `Content-Disposition: attachment; filename=<id>-<artifact>.zip`

<RequestExample>
  ```bash cURL theme={null}
  curl -s -O -J "https://ariapin.example.com/v1/models/mdl_01J8Q2R4TFK9Z0X/download?artifact=gguf" \
    -H "Authorization: Bearer $ARIA_PIN_TOKEN"
  ```
</RequestExample>


## Related topics

- [Get PIN Model](/api-reference/pin/models/get.md)
- [Accept a trained model version as production](/api-reference/pin/models/accept.md)
- [Merge LoRA adapter into a base model](/api-reference/pin/models/merge.md)
- [Get Model Export Job Status - PIN API](/api-reference/pin/exports/get.md)
- [List All Model Export Jobs - PIN API](/api-reference/pin/exports/list.md)
