Prerequisites
Before you begin, make sure you have:- Direct access to the Flux internal network (VPS connectivity)
- A valid user ID for the target environment
curlor any HTTP client installed- The Metadata Service internal base URL (e.g.,
http://meta.internal:8080)
Make your first API calls
1
Wrap a DEK
Before creating file metadata, you need a wrapped DEK. Send a plain Data Encryption Key to the wrap endpoint - the service encrypts it with the master key and returns the wrapped version.You should receive a response like:Save the
dekEnc value - you’ll use it in the next step.2
Create file metadata
Use the wrapped DEK to create a metadata record for your file.The response includes the generated
id and uploadedDate:3
Retrieve the metadata
Fetch the metadata back using the file ID from the previous response.
4
Check platform stats
Verify that your file was counted in the aggregate statistics.
Next steps
Now that you’ve made your first API calls, explore the full API reference:File metadata
Full CRUD operations for metadata records.
DEK management
Wrap and unwrap encryption keys.
Statistics
Aggregate file and storage metrics.
Experimental
Cache sync, prefetch, and invalidation.

