Clatter LabsHelp Center

What happens right after I create a run?

FAQUpdated
  1. The API checks your key, Account ID, permissions, credits and the 5-runs-in-progress limit.
  2. It answers 201 right away with the run object. status is usually already running; output is null.
  3. Cosmos starts work on your account's cloud computer: it plans, writes and runs code, uses tools and saves files.
  4. You follow along with GET /v1/runs/{id}/events (recommended) or poll GET /v1/runs/{id} every 2 seconds or more.
  5. The run ends as completed, failed or cancelled.

You don't need to keep a connection open: runs keep going if you disconnect.

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.