API documentation | API docs for agents | OpenAPI 3.1
GET /api/v1/loads/{loadId}/files/{fileId}/download-url
ark.get_load_file_download_url
Creates a short-lived signed download URL for a visible load file.
- Availability
- Expanded preview
- Scopes
loads:read- ARK permissions
canViewLoads- Team visibility
- Required and enforced
- Idempotency-Key
- Not required
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
loadIdpathstringrequired- format: uuid
fileIdpathstringrequired- format: uuid
expires_in_secondsqueryinteger- default: 3600; min: 60; max: 86400
Request body
None.
Example request
Shell
curl 'https://arktms.com/api/v1/loads/<loadId>/files/<fileId>/download-url' \
-H "Authorization: Bearer $ARK_API_TOKEN"Success response
Signed download URL
objectstringrequiredokbooleanrequiredapi_versionstringrequiredrequest_idstringrequireddataobjectrequireddata.loadIdstringrequiredformat: uuid
data.fileobjectrequireddata.signedUrlstringrequireddata.expiresInSecondsintegerrequiredErrors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied
HTTP 404- Resource not found