API v1
Agents
Agents Workspace
Workspace: Grep
Search for a regex pattern across files in the agent's workspace.
post/v1/agents/{agent_id}/workspace/grep
Request
- Base URLhttps://api.xpander.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
Path parameters
agent_idstring required
Request body
Example request
{
"pattern": "def main",
"path": "src",
"include": "*.py"
}Response
Successful Response
Changes
No recorded changes to this operation across all 6 revisions of this API.