Workspace: File Share
Agent Workspace
Workspace: File Share
Publish a file from the agent’s workspace to a public CDN URL
POST
Workspace: File Share
Publish a file from the per-agent workspace to a public CDN URL that can be shared externally (for example, to return a download link from an agent response).
Path Parameters
Agent ID (UUID)
Request Body
Path to the file in the workspace to publish.
Response
Result status (e.g.,
ok).Public CDN URL for the shared file.
Original workspace file path.
Example Request
Notes
- Shared URLs are unauthenticated — treat them as public links. Do not share files containing secrets.
- The returned URL is served from the xpander CDN and is safe to include in agent responses or webhooks.
See Also
Authorizations
API Key for authentication
Path Parameters
Body
application/json
Relative path to the file in the workspace to share publicly.
Example:
"output/report.csv"
Response
Successful Response
Public CDN URL for the shared file

