Skip to main content

actions

Creates, updates, deletes, gets or lists an actions resource.

Overview

Nameactions
TypeResource
Idpagerduty.incident_workflows.actions

Fields

The following fields are returned by SELECT queries:

An Incident Workflow Action

NameDatatypeDescription
idstring
namestringThe descriptive name of the Action
created_by_user_idstringThe obfuscated Id of the User who created this Action
domain_namestringThe Verified Domain of the account that created the action
function_namestringThe Function Name describing the specific functionality of the Action
package_namestringThe Package Name corresponding to the broad category of the Action
action_tierstringThe tier of the Action (basic-action, standard-action, premium-action)
action_typestringThe type of Action (action, trigger)
created_atstring (date-time)The date-time at which this Action was created
descriptionstringA description of the Action
html_urlstring (url)a URL at which the entity is uniquely displayed in the Web app
inputsarrayInputs whose values used during Action execution
metadatastringJSON-formatted string of metadata pertaining to the Action
outputsarrayOutputs whose values set during Action execution
search_keywordsarrayA set of search keywords to apply to this action.
selfstring (url)the API show URL at which the object is accessible
summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
tagsarrayA set of tags to apply to this action.
trigger_typestringThe type of Trigger this Action is, if action_type is trigger (polling, subscription, web)
typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.
versionnumberThe version of the Action

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectidGet an Incident Workflow Action<br /><br />Scoped OAuth requires: incident_workflows.read<br />
listselectlimit, cursor, keywordList Incident Workflow Actions<br /><br />Scoped OAuth requires: incident_workflows.read<br />

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the resource.
cursorstringOptional parameter used to request the "next" set of results from an API. The value provided here is most commonly obtained from the next_cursor field of the previous request. When no value is provided, the request starts at the beginning of the result set.
keywordstringIf provided, only show actions tagged with the specified keyword
limitintegerThe minimum of the limit parameter used in the request or the maximum request size of the API.

SELECT examples

Get an Incident Workflow Action<br /><br />Scoped OAuth requires: incident_workflows.read<br />

SELECT
id,
name,
created_by_user_id,
domain_name,
function_name,
package_name,
action_tier,
action_type,
created_at,
description,
html_url,
inputs,
metadata,
outputs,
search_keywords,
self,
summary,
tags,
trigger_type,
type,
version
FROM pagerduty.incident_workflows.actions
WHERE id = '{{ id }}' -- required
;