GET /v1/exports/:id to track completion.
Method + Path
Authentication
Include your PIN API token or JWT in theAuthorization header as a Bearer token.
Path parameters
string
required
The model identifier (e.g.,
md_abc123def456).Request body
string
required
Target export format. Must be one of:
gguf, mlx, mnn, qnn.Request body example
Request example
Response
Returns a standard PIN success envelope with the export task.integer
required
0 on success, nonzero on error.object
required
string
Human-readable message (empty on success).
Example response
Export process
- If the model does not have a merged artifact, the system automatically merges the LoRA adapter into the base weights first.
- The converter tool runs in a background goroutine:
- GGUF: Converts to FP16 then quantizes to
Q4_K_Musing llama.cpp. - MLX: Runs
mlx_lm.convertor the tool configured byARIAPIN_CONVERT_MLX. - MNN: Runs
mnnconvertor the tool configured byARIAPIN_CONVERT_MNN. - QNN: Runs
qairt-converteror the tool configured byARIAPIN_CONVERT_QNN.
- GGUF: Converts to FP16 then quantizes to
- On success, the artifact path is registered and the model status returns to
ready.