v2
latestOpenAPI 3.0.02026-08-0688139156.5 KBAgents
Get the file paths on a system
get/v1/agent/{agent_id}/file-search
Path parameters
agent_idstring required
ID of an agent
Example:a_0123456789ab
Query parameters
offsetinteger
Starting index for pagination
limitinteger
Number of items to return for pagination
sort_by'path' | 'last_modified' | 'file_size'
Sort by a specific field
sort_ascboolean
Sort in ascending order
search_termstring required
The search for files. Must be URL encoded.
Response
OK
Example response
{
"data": [
{
"modified_time": "2024-08-23T01:40:08Z",
"path": "C:\\Users\\Administrator\\Downloads\\SlideAgent.exe",
"size": 614352
}
],
"pagination": {
"next_offset": 10
}
}