Clatter LabsHelp Center

How do I make sure I get a file back from a run?

How-toUpdated

Files Cosmos saves as outputs appear in the run's files array. To be sure you get one back, say so in the instructions:

"Save the final script as an output named sync.py."

Then read it:

curl "https://api.agent.clatterlabs.xyz/v1/runs/RUN_ID?include=files" \
  -H "Authorization: Bearer $CLATTER_API_KEY" \
  -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"

Each file has name, bytes and (with ?include=files) content.

Storage writes, including run results, are billed at $0.10 per GB written.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.