Media API

Upload, retrieve, and delete media files programmatically using the Datasquirel API.

Overview

The Media API lets you manage files stored in your Datasquirel media storage. Use it to upload files from your application, retrieve file metadata, and delete files that are no longer needed.

npm install @moduletrace/datasquirel

Authentication

All media API requests require a Full Access API key. Read-only keys cannot upload or delete media.

Include your key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Or pass it as apiKey in the npm package function call.