Skip to main content
This API reference documents the endpoints for managing FileSets and Files in Domo from within a Domo app.
Note: All code examples below are tested and match the working Domo app UI. Use domo.* methods for all API calls except File upload/download, which require fetch for binary or FormData support.

Get File by Path

Method: GET
Endpoint: /domo/files/v1/filesets/{filesetId}/path?path={filePath}
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
pathStringYesThe path to the File within the FileSet
Response:

Get File by Id

Method: GET
Endpoint: /domo/files/v1/filesets/{filesetId}/files/{fileId}
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
fileIdStringYesThe ID of the File
Response:

Download File by Id

Method: GET
Endpoint: /domo/files/v1/filesets/{filesetId}/files/{fileId}/download
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
fileIdStringYesThe ID of the File
Note: Use fetch for File downloads. domo.get does not support binary downloads.
Response:
  • Returns the File contents as a download (binary/text stream).

Query Files

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}/query
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
Request Body Parameters:
ParameterTypeRequiredDescription
queryStringYesText to search for in Files
directoryPathStringNoLimit search to a specific directory
topKIntegerNoMaximum number of results to return
Response:

Upload File

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}/files
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
Note: Use fetch for file uploads. Always set the file content type to text/plain for text files, as in the app code.
Response:

Search Files in FileSet

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}/files/search
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
Query Parameters:
ParameterTypeRequiredDescription
directoryPathStringNoFilter Files by specific directory path
immediateChildrenBooleanNoIf true, returns only immediate children of directory (default: false)
limitIntegerNoMaximum number of results (default: 100)
nextStringNoPagination token for fetching next set of results
Request Body Parameters:
ParameterTypeRequiredDescription
fieldSortArrayNoSort options for results. Array of FieldSort Objects.
filtersArrayNoFilter criteria for the search. Array of Filter Objects.
dateFiltersArrayNoDate-based filter criteria. Array of DateFilter Objects.
Filter Object Properties:
PropertyTypeDescription
fieldStringField name to filter on (e.g., ‘name’, ‘description’)
valueArrayValues to match against
notBooleanIf true, inverts the filter match
operatorStringOperation type: ‘EQUALS’, ‘GREATER_THAN’, ‘LESS_THAN’, ‘IN’, ‘LIKE’, etc.
FieldSort Object Properties:
PropertyTypeDescription
fieldStringField name to sort by
orderStringSort direction: ‘ASC’ or ‘DESC’
DateFilter Object Properties:
PropertyTypeDescription
fieldStringField name for date filter (e.g., ‘created’)
startStringStart timestamp as ISO string
endStringEnd timestamp as ISO string
notBooleanIf true, inverts the date filter match
Response:

Delete Files by Path

Method: DELETE
Endpoint: /domo/files/v1/filesets/{filesetId}/path?path={filePath}
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
filePathStringYesThe path to the File within the FileSet
Response:

Delete File by Id

Method: DELETE
Endpoint: /domo/files/v1/filesets/{filesetId}/files/{fileId}
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
fileIdStringYesThe ID of the File
Response:

Search FileSets

Method: POST
Endpoint: /domo/files/v1/filesets/search
Query Parameters:
ParameterTypeRequiredDescription
limitIntegerNoMaximum number of results (default: 100)
offsetIntegerNoPagination offset (default: 0)
Note: To list all FileSets, send an empty object as the body. To filter, provide filter parameters in the body.
Request Body Parameters:
ParameterTypeRequiredDescription
fieldSortArrayNoSort options for results. Array of FieldSort Objects.
filtersArrayNoFilter criteria for the search. Array of Filter Objects.
dateFiltersArrayNoDate-based filter criteria. Array of DateFilter Objects.
Filter Object Properties:
PropertyTypeDescription
fieldStringField name to filter on (e.g., ‘name’, ‘description’)
valueArrayValues to match against
notBooleanIf true, inverts the filter match
operatorStringOperation type: ‘EQUALS’, ‘GREATER_THAN’, ‘LESS_THAN’, ‘IN’, ‘LIKE’, etc.
FieldSort Object Properties:
PropertyTypeDescription
fieldStringField name to sort by
orderStringSort direction: ‘ASC’ or ‘DESC’
DateFilter Object Properties:
PropertyTypeDescription
fieldStringField name for date filter (e.g., ‘created’)
startStringStart timestamp as ISO string
endStringEnd timestamp as ISO string
notBooleanIf true, inverts the date filter match
Response:

Create FileSet

Method: POST
Endpoint: /domo/files/v1/filesets
Request Body Parameters:
ParameterTypeRequiredDescription
nameStringYesThe name of the FileSet
accountIdIntegerNoThe account ID to associate (nullable)
connectorContextObjectNoConnector context for the FileSet (nullable). ConnectorContext Object.
descriptionStringNoDescription for the FileSet
ConnectorContext Object Properties:
PropertyTypeRequiredDescription
connectorStringYesThe connector key
relativePathStringNoRelative path for the connector (nullable)
Response:

Get FileSet by Id

Method: GET Endpoint: /domo/files/v1/filesets/{filesetId} Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
Response:

Update FileSet by Id

Method: POST
Endpoint: /domo/files/v1/filesets/{filesetId}
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
Request Body Parameters:
ParameterTypeRequiredDescription
nameStringNoThe new name for the FileSet
descriptionStringNoThe new description for the FileSet
Response:

Delete FileSet by Id

Method: DELETE
Endpoint: /domo/files/v1/filesets/{filesetId}
Path Parameters:
ParameterTypeRequiredDescription
filesetIdStringYesThe ID of the FileSet
Response: