Collections

Get a short-lived signed download URL for a file on a collection

Changed on

Hand back a short-lived signed URL for the file's bytes; the caller downloads directly from it.

no_cache is not optional: Kong proxy-caches this service on the Authorization header, so a signed URL must not be replayable to the next request carrying the same token.

get/api_partner/collections/{collection_slug}/files/{file_id}/download-url

Request

  • Base URL
    https://api.scite.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.scite.ai/api_partner/collections/{collection_slug}/files/{file_id}/download-url
  • Auth
    HTTP bearer

Path parameters

collection_slugstring required
file_idinteger required

Query parameters

emailstring email required

Headers

authorizationstring

Set to Bearer <token> to pass token for authorization.

Response

Successful Response

urlstring required
filenamestring required
expiresIninteger required

Changes