Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
调用 GET /v1/training/jobs//download,获取训练工件的临时预签名下载 URL、有效期和建议的文件名。
curl https://api.fastino.ai/v1/training/jobs/YOUR_TRAINING_JOB_ID/download \ -H "X-API-Key: $FASTINO_API_KEY"
{ "success": true, "job_id": "YOUR_TRAINING_JOB_ID", "download_url": "https://...", "expires_in_seconds": 3600, "file_name": "gliner2-model-a1b2c3d4.tar.gz", "message": "Download URL generated successfully" }
GET /v1/training/jobs/{job_id}/download
400
GET /v1/training/jobs/{job_id}/checkpoints/{checkpoint_id}/download
gliner2-model-<first-8-job-id-characters>.tar.gz
response=$(curl -fsS \ https://api.fastino.ai/v1/training/jobs/YOUR_TRAINING_JOB_ID/download \ -H "X-API-Key: $FASTINO_API_KEY") curl -fL \ -o "$(jq -r '.file_name' <<<"$response")" \ "$(jq -r '.download_url' <<<"$response")"
jq
403
401
404
此页面对您有帮助吗?