HumanFirst icon

HumanFirst

Call HumanFirst playbook API

Get Package

AI-generated

Overview

This node operation retrieves a single package (prompt) by its ID from a specified playbook within a namespace using the HumanFirst API. It is useful for fetching detailed information about a specific package in a playbook, such as its configuration and contents.

Use Case Examples

  1. Fetching a package to review its prompt settings before triggering it.
  2. Retrieving package details to update or analyze its parameters.

Properties

Name Meaning
Namespace The namespace under which the playbook and package exist. Required to identify the scope of the playbook.
Playbook ID The identifier of the playbook containing the package. Required to locate the playbook.
Package ID The identifier of the package (prompt) to retrieve. Required to specify which package to get.

Output

JSON

  • json - The JSON response containing the package details retrieved from the HumanFirst API.

Dependencies

  • HumanFirst API key credential required for authentication.

Troubleshooting

  • Ensure that the Namespace, Playbook ID, and Package ID are correctly specified and exist in the HumanFirst system.
  • Common errors include authorization failures if the API key is invalid or missing.
  • Network errors or incorrect API endpoint URLs can cause request failures.

Links

  • HumanFirst API Documentation - Official API documentation for HumanFirst, useful for understanding the package retrieval endpoint and parameters.

Discussion