cURL
curl --request POST \ --url https://example.com/v1/api/files/v1/filesets/{filesetId}/query \ --header 'Content-Type: application/json' \ --header 'X-DOMO-Developer-Token: <api-key>' \ --data ' { "query": "<string>", "directoryPath": "<string>", "topK": 123 } '
{ "matches": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "node": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "path": "<string>", "name": "<string>", "fileType": "<string>", "contentType": "<string>", "size": 123, "created": 123, "type": "<string>" }, "score": 123 } ] }
Performs a text-based search for content within files in a FileSet.
Domo Developer Token for authentication.
Text to search for in Files.
Limit search to a specific directory.
Maximum number of results to return.
A list of matching files with relevance scores.
Show child attributes