Skip to main content
PromptHub logo
  • Category: artificial intelligence
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 4
  • Triggers: 0
  • Slug: PROMPT_HUB
  • Version: 20261030_00

Tools

Slug: PROMPT_HUB_GET_CURRENT_TEAMReturn the current PromptHub team ID for the connected account. Use it when a team-scoped operation must target an explicit team.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PROMPT_HUB_GET_PROJECT_HEADRetrieve a project’s latest committed prompt and model configuration, with optional branch and variable resolution.

Input Parameters

string
Branch whose head to retrieve; omit it to use the project’s default branch.
object
Prompt variable overrides keyed by variable label. Unknown labels are ignored by PromptHub.
integer
required
PromptHub project ID returned by List Projects or shown in the project URL/API tab.
boolean
Whether to fill missing variables from PromptHub project and team defaults.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PROMPT_HUB_LIST_PROJECTSList projects in a PromptHub team, optionally filtered by group, model, or provider.

Input Parameters

string
Only return projects in this group name.
string
Only return projects whose head revision uses this model.
integer
PromptHub team ID. Omit it to list projects in the connected account’s current team.
string
Only return projects whose head revision uses this model provider, such as OpenAI, Anthropic, Azure, Google, or Amazon.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PROMPT_HUB_RUN_PROJECTExecute a committed PromptHub project prompt with optional variables and return the generated text, usage, cost, and timing metadata. This invokes the configured LLM, consumes the PromptHub plan’s LLM request quota, and creates persistent run history in the project’s Logs tab.

Input Parameters

string
Specific commit hash to execute. Omit it to use the latest commit on the selected or default branch.
string
Branch to execute. Omit it to use the latest commit on the project’s default branch.
object
Runtime values for the project’s prompt variables, keyed by variable label.
integer
required
PromptHub project ID returned by List Projects or shown in the project URL or API tab.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not