Quickstart
Create an API key, upload a file, and read its hosted URL.
Connect an account
- Open agentfs.cloud, sign in, open a project, and open API Keys.
- Select Create key.
- Store the secret when it appears. AgentFS shows it only once.
Set the key in your shell, then upload. The file goes into the key's project:
export AGENTFS_KEY="afs_..."
curl -sS -X POST https://agentfs.cloud/v1/files \
-H "Authorization: Bearer $AGENTFS_KEY" \
-F "file=@./report.pdf" \
-F "prefix=research"The authenticated response uses the same file object shape. The file lands in research/ inside the key's project. Use Authentication, Uploads, and Files for the rest of the API.
AgentFS