This module provides functions for retrieving workflow stat resources in the Humaans API. Workflow stats are retrieve-only via the API.
Summary
Functions
Retrieves a specific workflow_stat by ID.
Types
Functions
@spec retrieve(client :: map(), id :: String.t()) :: {:ok, Humaans.Resources.WorkflowStat.t()} | {:error, Humaans.Error.t()}
Retrieves a specific workflow_stat by ID.
Parameters
client- Client created withHumaans.new/1id- String ID of the workflow_stat to retrieve
Examples
client = Humaans.new(access_token: "your_access_token")
{:ok, workflow_stat} = Humaans.WorkflowStats.retrieve(client, "workflow_stat_id")