Volver al catálogo

PromptLayer

promptlayer

PromptLayer is a prompt management and observability platform for versioning, evaluating, running, and analyzing LLM applications.

Acciones
16
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 (16)

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 Prompt TemplatePROMPTLAYER_GET_PROMPT_TEMPLATEAcción

Retrieve a prompt template version, release label, messages, model metadata, snippets, and optionally provider-ready kwargs without executing it.

Parámetros de entrada

  • labelstring

    Release label to resolve, such as production or staging. Cannot be used with version.

  • versioninteger

    Specific positive version number. Cannot be used with label.

  • identifierstringObligatorio

    Prompt-template name or numeric ID.

  • resolve_snippetsboolean

    Whether to expand snippet references in the returned template.

  • include_llm_kwargsboolean

    Whether to include provider-specific kwargs derived from the template's model metadata.

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 Registered ToolPROMPTLAYER_GET_REGISTERED_TOOLAcción

Retrieve a PromptLayer registered tool definition by ID or name at a selected version or release label without test execution.

Parámetros de entrada

  • labelstring

    Release label to resolve; mutually exclusive with version.

  • versionstring

    Specific version to resolve; mutually exclusive with label.

  • identifierstringObligatorio

    Registered tool's numeric ID or name.

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 Request LogPROMPTLAYER_GET_REQUEST_LOGAcción

Retrieve one PromptLayer request log with its recorded input, output, timing, usage, metadata, tags, and scores.

Parámetros de entrada

  • request_idintegerObligatorio

    PromptLayer request-log ID returned by request-log search.

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 Skill CollectionPROMPTLAYER_GET_SKILL_COLLECTIONAcción

Retrieve a PromptLayer skill collection and its files as JSON at a selected version or release label.

Parámetros de entrada

  • labelstring

    Release label to resolve; mutually exclusive with version.

  • versioninteger

    Positive version number to retrieve; mutually exclusive with label.

  • identifierstringObligatorio

    Skill collection UUID, name, or root path.

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 TablePROMPTLAYER_GET_TABLEAcción

Retrieve one PromptLayer Table's metadata and per-sheet row counts by UUID.

Parámetros de entrada

  • table_idstringObligatorio

    Table UUID returned by list tables.

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 WorkflowPROMPTLAYER_GET_WORKFLOWAcción

Retrieve a PromptLayer workflow definition by ID or name at a specific version or release label without running it.

Parámetros de entrada

  • labelstring

    Release label to resolve; mutually exclusive with version.

  • versioninteger

    Specific positive version to retrieve; mutually exclusive with label.

  • workflow_id_or_namestringObligatorio

    Workflow ID or name.

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 Folder EntitiesPROMPTLAYER_LIST_FOLDER_ENTITIESAcción

Browse or search PromptLayer folders and registry entities in the API-key workspace, optionally recursively and with metadata.

Parámetros de entrada

  • tagsstring[]

    Tags used to filter entity types that support tags. Accepts one or more tags.

  • flattenboolean

    Return descendants recursively instead of direct children only.

  • sort_bystringenum

    Sort by created_at, updated_at, name, or id.

    created_atupdated_atnameid
  • folder_idinteger

    Folder to browse; omit for the workspace root.

  • sort_orderstringenum

    Sort direction: asc or desc.

    ascdesc
  • external_idstring

    External-ID value; provide together with external_source.

  • filter_typesstring[]

    Entity types to include. Accepts one or more of FOLDER, PROMPT, SNIPPET, WORKFLOW, DATASET, REPORT, AB_TEST, or INPUT_VARIABLE_SET.

  • search_querystring

    Case-insensitive partial entity-name search.

  • external_sourcestring

    External-ID source; provide together with external_id.

  • created_by_emailstring

    Creator email to match exactly.

  • include_metadataboolean

    Include type-specific metadata such as prompt type and latest version.

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 Prompt TemplatesPROMPTLAYER_LIST_PROMPT_TEMPLATESAcción

Search and page through PromptLayer prompt templates and snippets without executing a model.

Parámetros de entrada

  • namestring

    Case-insensitive partial prompt-template name.

  • tagsstring[]

    Tags that every returned template must contain. Accepts one tag or a list.

  • labelstring

    Release label such as production or staging.

  • statusstringenum

    Template status to return.

    activedeletedall
  • sort_bystringenum

    Field used to sort templates.

    created_atupdated_atnameid
  • per_pageinteger

    Maximum templates in this page (1-100).

  • is_snippetboolean

    True for snippets only, false to exclude snippets, or omit for both.

  • sort_orderstringenum

    Sort direction.

    ascdesc
  • external_idstring

    External-ID value. Provide together with external_source.

  • next_cursorstring

    Continuation cursor returned by a previous call.

  • created_afterstringdate-time

    Return templates created at or after this timestamp.

  • updated_afterstringdate-time

    Return templates updated at or after this timestamp.

  • created_beforestringdate-time

    Return templates created at or before this timestamp.

  • updated_beforestringdate-time

    Return templates updated at or before this timestamp.

  • external_sourcestring

    External-ID source. Provide together with external_id.

  • created_by_emailstring

    Creator email to match exactly.

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 Registered ToolsPROMPTLAYER_LIST_REGISTERED_TOOLSAcción

List and filter tools defined in PromptLayer's tool registry without executing them.

Parámetros de entrada

  • sort_bystringenum

    Sort by created_at, updated_at, name, or id.

    created_atupdated_atnameid
  • sort_orderstringenum

    Sort direction: asc or desc.

    ascdesc
  • external_idstring

    External-ID value; provide together with external_source.

  • created_afterstringdate-time

    Return tools created at or after this timestamp.

  • updated_afterstringdate-time

    Return tools updated at or after this timestamp.

  • created_beforestringdate-time

    Return tools created at or before this timestamp.

  • updated_beforestringdate-time

    Return tools updated at or before this timestamp.

  • external_sourcestring

    External-ID source; provide together with external_id.

  • created_by_emailstring

    Creator email to match exactly.

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 Skill CollectionsPROMPTLAYER_LIST_SKILL_COLLECTIONSAcción

List and filter PromptLayer skill collections available in the API-key workspace.

Parámetros de entrada

  • sort_bystringenum

    Sort by created_at, updated_at, name, or id.

    created_atupdated_atnameid
  • sort_orderstringenum

    Sort direction: asc or desc.

    ascdesc
  • external_idstring

    External-ID value; provide together with external_source.

  • created_afterstringdate-time

    Return collections created at or after this timestamp.

  • updated_afterstringdate-time

    Return collections updated at or after this timestamp.

  • created_beforestringdate-time

    Return collections created at or before this timestamp.

  • updated_beforestringdate-time

    Return collections updated at or before this timestamp.

  • external_sourcestring

    External-ID source; provide together with external_id.

  • created_by_emailstring

    Creator email to match exactly.

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 Table ColumnsPROMPTLAYER_LIST_TABLE_COLUMNSAcción

List one page of user and optionally system columns for a PromptLayer Table sheet.

Parámetros de entrada

  • limitinteger

    Maximum columns in this page (1-100).

  • sheet_idstringObligatorio

    Sheet UUID returned by list table sheets.

  • table_idstringObligatorio

    Parent Table UUID.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call.

  • include_system_columnsboolean

    Include system-managed price, latency, and prompt-output metadata columns.

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 Table RowsPROMPTLAYER_LIST_TABLE_ROWSAcción

Read one page of rows and cells from a PromptLayer Table sheet, with optional schema and execution aggregates.

Parámetros de entrada

  • limitinteger

    Maximum rows in this page (1-100).

  • orderstringenum

    Row order.

    ascdesc
  • sheet_idstringObligatorio

    Sheet UUID returned by list table sheets.

  • table_idstringObligatorio

    Parent Table UUID.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call.

  • include_columnsboolean

    Include column metadata alongside rows.

  • include_row_countboolean

    Include the total row count.

  • include_system_columnsboolean

    Include system-managed price, latency, and prompt-output columns.

  • include_execution_metadata_aggregatesboolean

    Include sheet and per-column price and latency aggregates.

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 TablesPROMPTLAYER_LIST_TABLESAcción

Search and page through PromptLayer Tables by folder, name, or referenced prompt.

Parámetros de entrada

  • namestring

    Case-insensitive partial Table title.

  • limitinteger

    Maximum Tables in this page (1-100).

  • orderstringenum

    Sort direction.

    ascdesc
  • folder_idinteger

    Only Tables in this folder.

  • prompt_idinteger

    Only Tables with a column referencing this prompt.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call.

  • prompt_label_idinteger

    Only Tables referencing this prompt label.

  • prompt_version_idinteger

    Only Tables referencing this prompt version.

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 Table SheetsPROMPTLAYER_LIST_TABLE_SHEETSAcción

List one page of sheets in a PromptLayer Table, optionally filtering by referenced prompt.

Parámetros de entrada

  • limitinteger

    Maximum sheets in this page (1-100).

  • orderstringenum

    Sort direction.

    ascdesc
  • table_idstringObligatorio

    Parent Table UUID.

  • prompt_idinteger

    Only sheets with a column referencing this prompt.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call.

  • prompt_label_idinteger

    Only sheets referencing this prompt label.

  • prompt_version_idinteger

    Only sheets referencing this prompt version.

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 WorkflowsPROMPTLAYER_LIST_WORKFLOWSAcción

Search and page through PromptLayer workflows without running them.

Parámetros de entrada

  • sort_bystringenum

    Sort by created_at, updated_at, name, or id.

    created_atupdated_atnameid
  • per_pageinteger

    Maximum workflows in this page (1-100).

  • sort_orderstringenum

    Sort direction: asc or desc.

    ascdesc
  • external_idstring

    External-ID value; provide together with external_source.

  • next_cursorstring

    Continuation cursor returned by a previous response. Omit for the first page and pass it back unchanged to fetch the next page.

  • created_afterstringdate-time

    Return workflows created at or after this timestamp.

  • updated_afterstringdate-time

    Return workflows updated at or after this timestamp.

  • created_beforestringdate-time

    Return workflows created at or before this timestamp.

  • updated_beforestringdate-time

    Return workflows updated at or before this timestamp.

  • external_sourcestring

    External-ID source; provide together with external_id.

  • created_by_emailstring

    Creator email to match exactly.

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

Search Request LogsPROMPTLAYER_SEARCH_REQUEST_LOGSAcción

Search PromptLayer request logs by text or structured filters and return one rate-limited page sorted by operational fields.

Parámetros de entrada

  • querystring

    Free-text fuzzy-prefix search across prompt input and model output.

  • sort_bystringenum

    Operational field used to sort results.

    request_start_timeinput_tokensoutput_tokenscostlatency_msstatus
  • per_pageinteger

    Maximum request logs to return on this page (1-25).

  • sort_orderstringenum

    Result sort direction.

    ascdesc
  • next_cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • filter_groupobject

    Structured AND/OR filter group for request-log fields.

  • include_prompt_nameboolean

    Include the associated prompt-template name in each result.

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