List Automations

View Markdown

Get a paginated list of your automations.


GET
/automations

Authorization

AuthorizationRequiredBearer <token>

API key authentication using "Authorization: Bearer <api_key>" header. Use your project API key (ittybit_*).

In: header

Query Parameters

afterstring
beforestring
limitstring
statusstring
Value in: "active" | "paused"
orderstring
Value in: "asc" | "desc"

Response Body

Default Response

responseRequiredarray<object>
[
  {
    "id": "aut_4kW7jHn2cF",
    "object": "automation",
    "name": "Transcode uploads to 720p",
    "status": "active",
    "trigger": {
      "kind": "task.succeeded",
      "conditions": {
        "input.mimetype": {
          "startsWith": "video/"
        }
      }
    },
    "tasks": [
      {
        "kind": "video",
        "options": {
          "width": 1280,
          "height": 720,
          "format": "mp4"
        }
      },
      {
        "kind": "image",
        "options": {
          "width": 640,
          "height": 360,
          "format": "webp"
        }
      }
    ],
    "metadata": null,
    "created_by": "key_8bN2fXv6sL",
    "created_at": 1735689600,
    "updated_at": 1735689600
  }
]