get_current_user | Get the Make user the token belongs to. Also used as the credential probe. No arguments. |
get_scenario | Get a scenario (name, team, active state, schedule, modules used; not the blueprint). scenarioId: integer, from list_scenarios. |
get_scenario_log | Get one execution of a scenario. scenarioId: integer; executionId: string, the id from list_scenario_logs or returned by run_scenario. |
list_connections | List the connections (app accounts) of a team: id, name, app, expiry. Read only, no credential. teamId: integer, required, from list_teams. |
list_data_store_records | List the records of a data store; the answer has records [{key, data}], spec, count and pg. dataStoreId: integer, required, from list_data_stores. Optional pagination: pg[limit] (integer), pg[offset] (integer). |
list_data_stores | List the data stores of a team. teamId: integer, required, from list_teams. Optional pagination: pg[limit] (integer), pg[offset] (integer), pg[sortBy] (string), pg[sortDir] (“asc” or “desc”); the answer carries a pg object. |
list_hooks | List the webhooks and mailhooks of a team (name, type, enabled, scenarioId, queue size). The public URL is removed from the answer: it is a trigger anyone could call. teamId: integer, required, from list_teams. |
list_organizations | List the organizations the token can see (ids are needed by list_teams). Optional pagination: pg[limit] (integer), pg[offset] (integer), pg[sortBy] (string), pg[sortDir] (“asc” or “desc”); the answer carries a pg object. |
list_scenario_logs | List the executions of a scenario. scenarioId: integer, required. Optional: from and to (integers, Unix epoch in MILLISECONDS), status (integer: 1 = success, 2 = warning, 3 = error). Optional pagination: pg[limit] (integer), pg[offset] (integer), pg[sortBy] (string), pg[sortDir] (“asc” or “desc”); the answer carries a pg object. |
list_scenarios | List scenarios. Give EXACTLY ONE of teamId (integer, from list_teams) or organizationId (integer, from list_organizations). Optional: isActive (boolean, true = only active scenarios), folderId (integer). Optional pagination: pg[limit] (integer), pg[offset] (integer), pg[sortBy] (string), pg[sortDir] (“asc” or “desc”); the answer carries a pg object. |
list_teams | List the teams of an organization (team ids are needed by list_scenarios, list_data_stores, list_hooks and list_connections). organizationId: integer, required, from list_organizations. |