Skip to main content
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

string
required
Agent ID (UUID)

Request Body

string
required
Path to the file in the workspace to publish.

Response

string
A shareable link to the file.

Example Request

Notes

  • The returned URL is a short link anyone with the link can open. Share it only with people who should see the file, and never share files that contain secrets.

See Also

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

agent_id
string
required

Body

application/json
path
string
required

Relative path to the file in the workspace to share publicly.

Example:

"output/report.csv"

Response

Successful Response

url
string
required

Public CDN URL for the shared file