Skip to main content
GET
/
api
/
v1
/
remote-files
ListRemoteFiles
curl --request GET \
  --url https://your-sift-api-url.com/api/v1/remote-files \
  --header 'Authorization: Bearer <token>'
{
  "remoteFiles": [
    {
      "remoteFileId": "<string>",
      "organizationId": "<string>",
      "entityId": "<string>",
      "entityType": "ENTITY_TYPE_UNSPECIFIED",
      "fileName": "<string>",
      "fileMimeType": "<string>",
      "fileContentEncoding": "<string>",
      "storageKey": "<string>",
      "fileSize": "<string>",
      "description": "<string>",
      "videoMetadata": {
        "height": 123,
        "width": 123,
        "durationSeconds": 123,
        "timestamp": "2023-11-07T05:31:56Z"
      },
      "imageMetadata": {
        "height": 123,
        "width": 123
      },
      "audioMetadata": {
        "durationSeconds": 123,
        "timestamp": "2023-11-07T05:31:56Z"
      },
      "createdByUserId": "<string>",
      "modifiedByUserId": "<string>",
      "createdDate": "2023-11-07T05:31:56Z",
      "modifiedDate": "2023-11-07T05:31:56Z"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

pageSize
integer

The maximum number of remote files to return. The service may return fewer than this value. If unspecified, at most 50 remote files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Optional.

pageToken
string

A page token, received from a previous ListRemoteFiles call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListRemoteFiles must match the call that provided the page token. Optional.

filter
string

A Common Expression Language (CEL) filter string. Available fields to filter by are remote_file_id, entity_id, entity_type, and file_name. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.

organizationId
string

This field is only required if your user belongs to multiple organizations.

Response

A successful response.

The response of a call to RemoteFileService_ListRemoteFilesResponse.

remoteFiles
object[]
nextPageToken
string