List Commands

GET

Lists commands for a Dev organization.

Query parameters

cursorstringOptional

The cursor to resume iteration from. If not provided, then iteration starts from the beginning.

executor_type"rego" or "workflow"Optional

Filtering based on executor_type.

Allowed values: regoworkflow
limitintegerOptional

The maximum number of commands to return per page. The default is ‘50’.

mode"after" or "before"Optional

The iteration mode to use, otherwise if not set, then “after” is used.

Allowed values: afterbefore
namespacestringOptional

Filter commands based on namespace.

sort_bystringOptional

List of fields to sort the commands items by and how to sort them.

source_object_idstringOptional

ID of the object where command is invoked (work/part/conversation).

statusenumOptional

Filter commands based on status.

Allowed values: disableddraftenabled

Response

Success.

commandslist of objects

List of commands.

next_cursorstringOptional

The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.

prev_cursorstringOptional

The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.

Built with