get_action_metadata

fireopal.get_action_metadata(limit=1, offset=0, status=None)

Fetch metadata from previously submitted actions.

Parameters:
  • limit (int, optional) – The number of actions to fetch. Cannot exceed 50. Defaults to 1.

  • offset (int, optional) – The number of recent actions to ignore before starting to fetch. Defaults to 0.

  • status (str or None, optional) – The filter for action status. If None, fetches actions of all statuses. Defaults to None.

Returns:

list[ActionMetadata] – Action metadata.

Return type:

list[fireopal.functions.activity_monitor.ActionMetadata]