GET
/
api
/
automations
/
related-to
/
{resource_id}
[
  {
    "name": "<string>",
    "description": "",
    "enabled": true,
    "trigger": {
      "type": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "match": {},
      "match_related": {},
      "after": [
        "<string>"
      ],
      "expect": [
        "<string>"
      ],
      "for_each": [
        "<string>"
      ],
      "posture": "Reactive",
      "threshold": 123,
      "within": 123
    },
    "actions": [
      {
        "type": "do-nothing"
      }
    ],
    "actions_on_trigger": [
      {
        "type": "<string>"
      }
    ],
    "actions_on_resolve": [
      {
        "type": "<string>"
      }
    ],
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created": "2023-11-07T05:31:56Z",
    "updated": "2023-11-07T05:31:56Z"
  }
]

Headers

x-prefect-api-version
string

Path Parameters

resource_id
string
required

Response

200
application/json
Successful Response

The response is of type object[].