Storage_access
POST
Obtain short-lived access to the Enrichment storage.
bearerAuthheader
AuthorizationBearer <token>enrichment_id*stringFormat
uuidapplication/json- body
mode*enrichments.StorageModeValue in
"read_only""read_write"write?||nullSuccess
application/json- response
spfsAlias*stringFormat
uuidspfsToken*enrichments.SecretTokenA secret credential value.
curl -X POST 'https://api.spiraldb.dev/api/enrichments/497f6eca-6276-4993-bfeb-53cbbbba6f08/storage-access' \ -H 'Content-Type: application/json' \ -d '{ "mode": "read_only"}'{ "spfsAlias": "745e0b94-f228-43ed-9e13-6f44a70ef1e9", "spfsToken": "string"}