Volver al catálogo

PromptHub

prompt_hub

Manage, retrieve, and execute versioned prompts and projects through the PromptHub API.

Acciones
4
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (4)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get Current TeamPROMPT_HUB_GET_CURRENT_TEAMAcción

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

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Project HeadPROMPT_HUB_GET_PROJECT_HEADAcción

Retrieve a project's latest committed prompt and model configuration, with optional branch and variable resolution.

Parámetros de entrada

  • branchstring

    Branch whose head to retrieve; omit it to use the project's default branch.

  • variablesobject

    Prompt variable overrides keyed by variable label. Unknown labels are ignored by PromptHub.

  • project_idintegerObligatorio

    PromptHub project ID returned by List Projects or shown in the project URL/API tab.

  • use_fallback_defaultsboolean

    Whether to fill missing variables from PromptHub project and team defaults.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsPROMPT_HUB_LIST_PROJECTSAcción

List projects in a PromptHub team, optionally filtered by group, model, or provider.

Parámetros de entrada

  • groupstring

    Only return projects in this group name.

  • modelstring

    Only return projects whose head revision uses this model.

  • team_idinteger

    PromptHub team ID. Omit it to list projects in the connected account's current team.

  • providerstring

    Only return projects whose head revision uses this model provider, such as OpenAI, Anthropic, Azure, Google, or Amazon.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run ProjectPROMPT_HUB_RUN_PROJECTAcción

Execute 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.

Parámetros de entrada

  • hashstring

    Specific commit hash to execute. Omit it to use the latest commit on the selected or default branch.

  • branchstring

    Branch to execute. Omit it to use the latest commit on the project's default branch.

  • variablesobject

    Runtime values for the project's prompt variables, keyed by variable label.

  • project_idintegerObligatorio

    PromptHub project ID returned by List Projects or shown in the project URL or API tab.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not