Storage_binding
POST
Obtain renewable typed storage access for the Enrichment.
bearerAuthheader
AuthorizationBearer <token>enrichment_id*stringFormat
uuidapplication/json- body
mode*enrichments.StorageModeValue in
"read_only""read_write"write?||nullSuccess
application/json- response
access*|expiresAt*|mode*enrichments.StorageModeValue in
"read_only""read_write"rootUri*stringcurl -X POST 'https://api.spiraldb.dev/api/enrichments/497f6eca-6276-4993-bfeb-53cbbbba6f08/storage-binding' \ -H 'Content-Type: application/json' \ -d '{ "mode": "read_only"}'{ "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"}