Automation

List Automations

Returns a paginated list of automations for your organization.

get/v1/automations

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/automations
  • Auth
    HTTP bearer

Query parameters

pageinteger

Page number for pagination

limitinteger

Number of items per page

trigger_type'all' | 'cron' | 'github' | 'gitlab' | 'slack' | 'sentry' | 'custom'

Restrict the result set to automations that have at least one trigger of the given type. Pass all (or omit) to disable the filter.

enabledboolean

Restrict the result set to automations matching this enabled state. Omit to include both enabled and disabled automations.

searchstring

Case-insensitive substring match against the automation name. Whitespace is trimmed before matching.

scope'org' | 'user' | 'all'

Filter by automation scope. org returns org-owned automations, user returns your personal automations, all returns both.

Response

Successful response

totalinteger required

Total number of automations

pageinteger required

Current page number

limitinteger required

Number of items per page

totalPagesinteger required

Total number of pages

Example response

{
  "automations": [
    {
      "triggers": [
        {
          "config": {
            "schedule": "0 9 * * 1-5",
            "timezone": "America/New_York"
          }
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.