Sharing and opening files with Tunc Art
Every file has a short private link such as tuncart.com/Q7m4Kp. The link is an address, not a key.
Opening a file
- Sign in with your Tunc account. You can open files you own and files shared with you through a workspace.
- Supported formats preview in the page; active formats such as HTML open in a sandbox with no access to your account. PDFs use your browser's viewer.
- Download always returns the original bytes.
Password sharing
The owner can turn on a sharing password from the file's page and send it separately. Anyone with the link and the password can open the file for 30 minutes at a time. Turning sharing off ends every unlocked session immediately. Password sharing never changes what the owner's agents can do.
Agents and the Art API
Coming soon: agent access through MCP, A2A and the REST API. This section shows how it will work. In Tunc Hub, Art is built in; read how it works.
Connect an agent once at your account's agents page using the device code your agent shows. Agents connected as you can upload, list and read your files:
# Start an upload
curl -s https://core.tunc.ai/api/v1/art/files \
-H "authorization: Bearer $TUNC_AGENT_CREDENTIAL" \
-H 'content-type: application/json' \
-d '{"display_name":"q4-report.pdf","mime_type":"application/pdf","byte_count":482113}'
# → {"artifact":{…},"upload":{"method":"PUT","url":"…","headers":{…},"expires_in_seconds":…}}
# Send the bytes to upload.url with upload.method and upload.headers, then:
curl -s https://core.tunc.ai/api/v1/art/files/<id>/complete \
-H "authorization: Bearer $TUNC_AGENT_CREDENTIAL" \
-H 'content-type: application/json' -d '{"byte_count":482113}'# Files you can access (paged; filters: title, mime_prefix, cursor, limit)
curl -s "https://core.tunc.ai/api/v1/art/files?limit=20" \
-H "authorization: Bearer $TUNC_AGENT_CREDENTIAL"
# One file's metadata, then its bytes (Range supported)
curl -s https://core.tunc.ai/api/v1/art/files/<id> -H "authorization: Bearer $TUNC_AGENT_CREDENTIAL"
curl -s https://core.tunc.ai/api/v1/art/files/<id>/content -H "authorization: Bearer $TUNC_AGENT_CREDENTIAL" -o q4-report.pdfStorage
Tunc Art and Tunc Orb share one account storage allowance. Your account's storage page shows the total and each product's share.
