HumanFirst icon

HumanFirst

Call HumanFirst playbook API

List Packages

AI-generated

Overview

This node operation "List Packages" retrieves all packages defined within a specified playbook in a given namespace using the HumanFirst API. It is useful for scenarios where users need to fetch and review all packages associated with a playbook, such as managing or auditing playbook contents.

Use Case Examples

  1. A user wants to list all prompt packages in a playbook to display them in a dashboard.
  2. An automation workflow needs to fetch all packages to perform batch updates or analysis.

Properties

Name Meaning
Namespace The namespace under which the playbook exists. Required to identify the scope of the playbook.
Playbook ID The unique identifier of the playbook from which to list packages. Required to specify the target playbook.

Output

JSON

  • json - The JSON response containing the list of packages retrieved from the playbook.

Dependencies

  • Requires an API key credential for HumanFirst API authentication.

Troubleshooting

  • If the node returns an error, verify that the Namespace and Playbook ID are correct and that the API key has sufficient permissions.
  • Common errors include authorization failures if the API key is invalid or missing.
  • Ensure the HumanFirst API endpoint is reachable and the network connection is stable.

Links

  • HumanFirst API Documentation - Official API documentation for HumanFirst, useful for understanding the endpoints and data structures involved.

Discussion