Storage_access
POST
Obtain short-lived access to one version directory.
bearerAuthheader
AuthorizationBearer <token>vector_index_id*stringFormat
uuidapplication/json- body
mode*vector_indexes.StorageModeValue in
"read_only""read_write"versionId*stringFormat
uuidSuccess
application/json- response
spfsToken*vector_indexes.SecretTokenA secret credential value.
versionPath*stringcurl -X POST 'https://api.spiraldb.dev/api/vector-indexes/497f6eca-6276-4993-bfeb-53cbbbba6f08/storage-access' \ -H 'Content-Type: application/json' \ -d '{ "mode": "read_only", "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"}'{ "spfsToken": "string", "versionPath": "string"}