The extendedExpiration query parameter cannot be added via js-sdk, only by a post method.
await client.files.getDownloadUrls([{id: 123}, {externalId: 'abc'}]);
It would be a nice-to-have feature to have to change the expiration time of the download url.
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support