Storage_binding
POST
Obtain renewable typed storage 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
access*|expiresAt*|mode*vector_indexes.StorageModeValue in
"read_only""read_write"rootUri*stringcurl -X POST 'https://api.spiraldb.dev/api/vector-indexes/497f6eca-6276-4993-bfeb-53cbbbba6f08/storage-binding' \ -H 'Content-Type: application/json' \ -d '{ "mode": "read_only", "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"}'{ "access": { "signed": { "directRead": { "credential": { "awsSession": { "accessKeyId": "string", "endpoint": "string", "expiresAtMicros": "string", "region": "string", "secretAccessKey": "string", "sessionToken": "string" }, "type": "awsSession" }, "uri": "string" }, "endpoint": "string", "token": "string" }, "type": "signed" }, "expiresAt": "string", "mode": "read_only", "rootUri": "string"}