Rotate an asset's access key
Issues a fresh access key for the file and returns it, which invalidates every capability URL previously handed out for that file. Requires a workspace member with the `files:write` permission; an unknown or malformed file id is reported as not found.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringfileId*stringSuccess
application/json- response
data*curl -X POST 'https://api.snoze.dev/v1/workspaces/string/assets/string/rotate-access-key'{ "data": { "fileId": "string", "accessKey": "string" }}Save a file to the sidebar
Puts the file in the workspace's sidebar as a file item pointing at the same bytes, at the root or in `folderItemId`. A file has at most one sidebar item: one already in the sidebar is returned as it is (`existing`), and one in the trash is brought back (`restored`). Requires a workspace member who can read the file and has the `resources:write` permission. Send an `Idempotency-Key` header to make retries safe.
List the integration providers available to a workspace
Returns the provider catalog annotated for this workspace: whether the provider is enabled by feature flag and whether the Snoze deployment is configured with the credentials the provider needs. Requires the `integrations:read` workspace permission. No credential values are returned, only whether configuration is present.