API v1
Agents
Agents Workspace
Workspace: File Write
Write (create or overwrite) a file in the agent's workspace filesystem.
post/v1/agents/{agent_id}/workspace/file_write
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
{
"path": "output/report.txt"
}Response
Successful Response
Example response
{
"bytes_written": 12
}Changes
No recorded changes to this operation across all 5 revisions of this API.