SymDocs
Workspace API
All productsSym Workspace APISym Passes MCP
Supportjoinsym.com ↗
Sym Workspace API

Move or rename a file or folder

Move one project entry without exposing host filesystem paths.

API 2.7.0 · Published service contract ↗

Request

Base URL: https://app.sym.so/v1/workspaces/{workspace_id}

Authentication: bearer. Required scope: files:write.

POST /agents/{agent_id}/files/move

Move one project entry without exposing host filesystem paths.

ParameterTypeDescription
agent_id
path · required
stringAuthorized Agent ID.
Request
curl --fail-with-body -X POST "https://app.sym.so/v1/workspaces/$WORKSPACE_ID/agents/$AGENT_ID/files/move" \
  -H "Authorization: Bearer $SYM_WORKSPACE_API_KEY" \
  -H "Content-Type: application/json" \
  --data "{\"from\":\"drafts/report.md\",\"to\":\"reports/final-report.md\"}"
Response 200
{
  "worker_id": "worker-example-001",
  "org_id": "workspace_example",
  "moved": true,
  "from": "drafts/report.md",
  "to": "reports/final-report.md",
  "ok": true
}

Authorization

Credential contract
{
  "type": "bearer",
  "scope": "files:write",
  "transport": "Authorization: Bearer <workspace_api_key>"
}

Errors

StatusDescription
400The request body or parameters are invalid.
401The workspace API key is missing, invalid, expired, or revoked.
403The key lacks the required scope or its owner no longer has permission.
404The resource is missing or intentionally hidden by authorization.
429The key exceeded its current rate limit.