Skip to main content

List automations

GET /api/automations
Returns all automations in your workspace. Query parameters:
ParamRequiredDescription
qNoCase-insensitive search on name and description
curl -s "https://dashboard.floom.dev/api/automations?q=report" \
  -H "Authorization: Bearer $API_KEY"
Response:
{
  "automations": [
    {
      "id": "auto_abc123",
      "name": "Daily Report",
      "description": "Generates daily sales summary",
      "status": "active",
      "schedule": "0 9 * * *",
      "scheduleEnabled": true,
      "currentVersion": 3,
      "createdAt": 1712300000000,
      "lastRunStatus": "success",
      "lastRunAt": 1712350000000,
      "url": "https://dashboard.floom.dev/a/auto_abc123"
    }
  ]
}

Get automation detail

GET /api/automations/:id
Returns full detail including file list, entrypoint, and manifest.
curl -s "https://dashboard.floom.dev/api/automations/$AUTOMATION_ID" \
  -H "Authorization: Bearer $API_KEY"
Response:
{
  "id": "auto_abc123",
  "name": "Daily Report",
  "description": "Generates daily sales summary",
  "status": "active",
  "schedule": "0 9 * * *",
  "currentVersion": 3,
  "entrypoint": "main.py",
  "fileList": [
    { "path": "main.py", "size": 1234, "hash": "abc..." },
    { "path": "utils/helpers.py", "size": 567, "hash": "def..." }
  ],
  "fileCount": 2,
  "totalSize": 1801,
  "manifest": { "..." : "..." },
  "url": "https://dashboard.floom.dev/a/auto_abc123"
}