POST
/api/v1/library/download/{id}library:download (X-Api-Key / Bearer Token)Generate Download Link
Generate a signed 15-minute S3/Cloud storage download link.
Description
Verifies license ownership and returns a short-lived signed URL to fetch the file package.
Parameters
1 parameters| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Required | — | Asset ID. |
Request Example
curl -X POST https://api.trykrafto.xyz/api/v1/library/download/ast_neon_matrix \
-H "X-Api-Key: kr_live_981..."Response Example
application/json (200 OK)
{
"downloadUrl": "https://storage.trykrafto.xyz/bundles/ast_neon_matrix.zip?X-Amz-Signature=...",
"expiresAt": "2026-03-13T18:15:00Z"
}