Your agent has nowhere to host a file; this returns a gated, shareable download link.
Host a file and get a gated public download link with optional password, one-time access, and expiry. The link is safe to hand to anyone; the bytes are stored privately and force-downloaded.
Host a file privately and return a gated public download link (password / one-time / expiry optional).
Download filename. Inferred from source_url when omitted.
Delete the file after the first successful download.
If set, downloading requires this password.
How long the link stays live (max 30 days).
Presigned GET URL of the file to host (e.g. another tool's output or an /uploads/presign get_url).
MIME type. Sniffed when omitted.
Inline file contents, base64. Use for small files instead of source_url. Max 256 KB decoded.
curl -X POST "https://skill.askfaro.com/skills/files/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Share this report as a download link that expires in 24 hours"
}
}'askfaro describe files/files.share
Install pip install askfaro-cli, then askfaro auth login.
The share id returned by share.
curl -X POST "https://skill.askfaro.com/skills/files/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Revoke the file share I created earlier"
}
}'askfaro describe files/files.revoke
Install pip install askfaro-cli, then askfaro auth login.