Skip to main content
BETA: This API is currently in BETA and is subject to change. Endpoints, request/response formats, and functionality may change without notice.
This API reference documents the endpoints for managing FileSets and Files in Domo. These endpoints allow you to upload, download, query, and manage Files and FileSets programmatically.

Get File by Path

Playground

Method: GET
Endpoint: /api/files/v1/filesets/{filesetId}/path?path={filePath}
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
Query Parameters:
  • path (String, required): The path to the File within the FileSet.
Response:

Get File by Id

Playground

Method: GET
Endpoint: /api/files/v1/filesets/{filesetId}/files/{fileId}
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
  • fileId (String, required): The ID of the file.
Response:

Download File by Id

Playground

Method: GET
Endpoint: /api/files/v1/filesets/{filesetId}/files/{fileId}/download
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
  • fileId (String, required): The ID of the file.
Response:
  • Returns the FileSet contents as a download (binary/text stream).

Query Files

Playground

Method: POST
Endpoint: /api/files/v1/filesets/{filesetId}/query
Description: Queries the Files and directories within a FileSet using a search query. Path Parameters: Request Body Parameters:
Response:

Upload File

Playground

Method: POST
Endpoint: /api/files/v1/filesets/{filesetId}/files
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
Response:

Search Files in FileSet

Playground

Method: POST
Endpoint: /api/files/v1/filesets/{filesetId}/files/search
Description: Lists Files and directories within a FileSet, optionally filtered by directory path or other criteria. Path Parameters: Query Parameters: Request Body Parameters: FieldSort Object Properties: DateFilter Object Properties:
Note: The Filter, FieldSort, and DateFilter objects have the same structure as in the Search FileSets endpoint.
Response:

Delete Files by Path

Playground

Method: DELETE
Endpoint: /api/files/v1/filesets/{filesetId}/path?path={filePath}
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
Query Parameters:
  • path (String, required): The path to the File within the FileSet.
Response:

Delete File by Id

Playground

Method: DELETE
Endpoint: /api/files/v1/filesets/{filesetId}/files/{fileId}
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
  • fileId (String, required): The ID of the File.
Response:

Search FileSets

Playground

Method: POST
Endpoint: /api/files/v1/filesets/search
Description: Searches for FileSets in your Domo instance using filters and criteria. Query Parameters: Request Body Parameters: Filter Object Properties: FieldSort Object Properties: DateFilter Object Properties:
Note: To list all FileSets, send an empty object as the body. To filter, provide filter parameters in the body.
Response:
Response:

Create FileSet

Playground

Method: POST
Endpoint: /api/files/v1/filesets
Request Body Parameters: ConnectorContext Object Properties:
Response:

Get FileSet by Id

Playground

Method: GET Endpoint: /api/files/v1/filesets/{filesetId} Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
Response:

Update FileSet by Id

Playground

Method: POST
Endpoint: /api/files/v1/filesets/{filesetId}
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
Request Body Parameters:
Response:

Delete FileSet by Id

Playground

Method: DELETE
Endpoint: /api/files/v1/filesets/{filesetId}
Path Parameters:
  • filesetId (String, required): The ID of the FileSet.
Response: