Store and manage files and data objects associated with your Devboxes
curl -X POST \ 'https://api.runloop.ai/v1/objects' \ -H "Authorization: Bearer $RUNLOOP_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "name": "my-data-file.csv", "content_type": "text/csv", "is_public": false }'
curl -X GET \ 'https://api.runloop.ai/v1/objects/OBJECT_ID' \ -H "Authorization: Bearer $RUNLOOP_API_KEY"
curl -X GET \ 'https://api.runloop.ai/v1/objects?limit=20' \ -H "Authorization: Bearer $RUNLOOP_API_KEY"
curl -X GET \ 'https://api.runloop.ai/v1/objects/public?limit=20' \ -H "Authorization: Bearer $RUNLOOP_API_KEY"
curl -X POST \ 'https://api.runloop.ai/v1/objects/OBJECT_ID/download' \ -H "Authorization: Bearer $RUNLOOP_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "expires_in_seconds": 3600 }'
curl -X POST \ 'https://api.runloop.ai/v1/objects/OBJECT_ID/complete' \ -H "Authorization: Bearer $RUNLOOP_API_KEY" \ -H 'Content-Type: application/json' \ -d '{}'
curl -X DELETE \ 'https://api.runloop.ai/v1/objects/OBJECT_ID' \ -H "Authorization: Bearer $RUNLOOP_API_KEY"
training-data-2024.csv
data1.csv
text/csv
application/json
image/png
training-dataset-v1.jsonl validation-data.csv
app-config.json environment-vars.env
logo.png documentation.pdf template.html
db-backup-2024-01-15.sql code-snapshot.tar.gz
Was this page helpful?